Well, bold and strong are supported, and the default formatting for
emphasis is italic (or em).
There is also documentation for how to customize this further. See Bob
Stayton's excellent DocBook XSL book:
http://www.sagehill.net/docbookxsl/CustomInlines.html
http://www.sagehill.net/docbookxsl/UsingCSS.html
Fonts are handled differently:
http://www.sagehill.net/docbookxsl/PrintCustomEx.html#RootProperties
http://www.sagehill.net/docbookxsl/AddFont.html#ConfigureFonts
Best regards,
--Scott Hudson
Senior XML Architect
http://www.flatironssolutions.com
A. Black wrote:
Thanks (and also thanks to Marvin).
Does there exist such a stylesheet as you mention already available
off-the-shelf with all the style elements such as bold, underline,
italics, colors, fonts, font sizes, etc. already built in and not just
italics, bold and strikethrough? Surely I can't be the first person
with this problem.
On Mon, Oct 12, 2009 at 11:34 AM, David Cramer <[email protected]> wrote:
Yes:
<para><emphasis role="bold">This</emphasis> appears in bold.</para>
You can also do role="underline" and role="strikethrough" (or customize
the template <xsl:template match="emphasis"> in inline.xsl if you need
more).
David
-----Original Message-----
From: A. Black [mailto:[email protected]]
Sent: Monday, October 12, 2009 10:30 AM
To: [email protected]
Subject: [docbook] docbook with style info
I have to reproduce some documents that don't necessarily
make any sense from a consistent style viewpoint. Is there
anything like docbook but that allows one to include style
information right in the main document. It should produce xml fo.
e.g.
<para><bold>This</bold> appears in bold.</para>
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]