This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook] Re: line break


Yoshihiro Toda schreef:
> Inserting <br> in DocBook always needs some way round.
> You can slightly modify XSL stylesheet, "inline.xsl" like:
> 
> <!-- code starts here -->
[cut code]
> 
> I just added "<xsl:if test="@role='dialog'"><br/></xsl:if>". You can insert
> this simply in your XSL customisation layer. Now if you markup a dialog like
> "...he said <quote role="dialog">...</quote>", then <br> (converted from
>   <br/>) is put before the quote.

Thanks!
This only works for HTML, I guess, not for printed content...

Thanks for your help! I'll try it out tomorrow and dive into xslt a bit.
Although it seems not to be something one can grab in a couple of
hours... ;-)

Gerrit.

-- 
Weather in Twenthe, Netherlands 18/04 21:55:
	11.0ÂC   wind 4.0 m/s SSE (57 m above NAP)
-- 
Ervaringen met het Syndroom van Asperger:
	http://topjaklont.student.utwente.nl
Socialistische Partij:
	http://www.sp.nl/

To unsubscribe from this list, send a post to docbook-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]