[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Why is italic text not displayed in html files generated from Docbook/Oxygen ?
On 12.12.2014 11:02, Radu Coravu wrote: > Indeed it seems that the default Docbook stylesheets indeed do not > output <i> tags for emphasys with italic role. And a possible solution > would either mean CSS customizations or XSLT customizations to add the > <i> tag. Just to clarify -- role=bold has special support as it was always almost standard way to generate bold text. However as italic was default rendering of <emphasis> element there was never support for role=italic in stylesheets. If you will use <emphasis> without attributes you will get <em> element in HTML output. Unless $emphasis.propagates.style is set which doesn't output <em> and rather expects that user will map roles to visual presentation in CSS as roles will be turned into appropriate class values. Jirka -- ------------------------------------------------------------------ Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz ------------------------------------------------------------------ Professional XML and Web consulting and training services DocBook/DITA customization, custom XSLT/XSL-FO document processing ------------------------------------------------------------------ OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 rep. ------------------------------------------------------------------ Bringing you XML Prague conference http://xmlprague.cz ------------------------------------------------------------------
Attachment:
signature.asc
Description: OpenPGP digital signature
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]