Hi! Me again :) Don't worry, I have like bursts of different works. A couple of weeks with a project, then another week with another project, and so on.
I have this situation. I have a Pier page where I DON'T have big titles '!' but perhaps '!!' or '!!!'. Suppose this example of a complete page: +value:toc+ !!This is a little title because I don't want big titles here Blah balh balh !!This is another title This page, will generate me a index like this: 0.1 This is a little title because I don't want big titles here 0.2 This is another title Now, the behaviour I would love is: only if there is NO ! in the page, but !!, don't start with 0.1 but with 1 and get something like this: 1 This is a little title because I don't want big titles here 2 This is another title The same if I only have !!! Now...is this doable? any tip where I can look in? class? method? piece of code? Thanks!!! Mariano _______________________________________________ Magritte, Pier and Related Tools ... https://www.iam.unibe.ch/mailman/listinfo/smallwiki |
> I have this situation. I have a Pier page where I DON'T have big titles '!'
> but perhaps '!!' or '!!!'. Suppose this example of a complete page: I would use CSS to make the '!' titles smaller and stick with '!' as primary title, '!!' as secondary title, etc. This also makes sure that you have semantically valid HTML. > Now...is this doable? any tip where I can look in? class? method? piece of > code? PRTocRenderer Lukas -- Lukas Renggli http://www.lukas-renggli.ch _______________________________________________ Magritte, Pier and Related Tools ... https://www.iam.unibe.ch/mailman/listinfo/smallwiki |
On Thu, Jul 16, 2009 at 5:07 AM, Lukas Renggli <[hidden email]> wrote:
Mmm I think you are right.
Thanks!
_______________________________________________ Magritte, Pier and Related Tools ... https://www.iam.unibe.ch/mailman/listinfo/smallwiki |
Now I wonder if there is a way to send a parameter to this +value:toc+ so that to limit the automated index.
For example, do something like this: +value:toc|limit=1+ and this only render a index with ! +value:toc|limit=2+ only renders titles with ! and !! and so on... would this be useful ? thanks! Mariano On Fri, Jul 17, 2009 at 9:35 AM, Mariano Martinez Peck <[hidden email]> wrote:
_______________________________________________ Magritte, Pier and Related Tools ... https://www.iam.unibe.ch/mailman/listinfo/smallwiki |
Free forum by Nabble | Edit this page |