Re: [gutvol-d] Found an indention example in TEI...

----- Original Message ----- From: Marcello Perathoner <marcello@perathoner.de>
Joshua Hutchinson wrote:
<l>"Just the place for a Snark!" the Bellman cried,</l> <l rend="indent">As he landed his crew with care;</l>
<snipped> I think I understood everything but this line.
<l rend="indentX"> for X = 1, 2, 3
ugly, makes me want to puke. Negative indents ?
Negative indents? 1, 2, 3 would seem to indicate number of indents to apply, which would seem to me would be a positive indent number. I'm missing something here, I know it.
<l rend="indent indent">
better. Compatible with TEI spec. Falls back to one indent if more than one is not supported by XSLT.
I don't really like it. Too verbose and not as intuitive (IMO).
<l rend="indent(-1)">
still better.
Related to the negative indent comment above, I'm sure, but I'm still not connecting the dots.
<l indent="1">
most elegant but not so standard. Needs new attribute.
The not as "standard" is the only problem I have. But I could go either way if you feel strongly about it.
Structural tagging:
<lg type="limerick"> <l>There was a young lady of Riga,</l> <l>Who smiled as she rode on a tiger;</l> <lg rend="indent"> <l>They returned from the ride</l> <l>With the lady inside,</l> </lg> <l>And the smile on the face of the tiger.</l> </lg>
Looks fine to me (as long as the rend attribute is possible in the <l> tag, too, if necessary). Josh

Joshua Hutchinson wrote:
Negative indents? 1, 2, 3 would seem to indicate number of indents to apply, which would seem to me would be a positive indent number. I'm missing something here, I know it.
What if you want a line to stick out stanza stanza like this? stanza stanza Solutions: <l rend="indent-1">like this</l> or <l rend="indent(-1)>like this</l> I prefer the latter. -- Marcello Perathoner webmaster@gutenberg.org
participants (2)
-
Joshua Hutchinson
-
Marcello Perathoner