OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook] docbook with style info


Thanks. I own Stayton's book and it was after reading the relevant
sections that I thought I would ask if anyone has already prepared a
stylesheet with the indicated functionality.  If the answer is no then
certainly I will look into those sections more but am still hoping it
exists.

On Mon, Oct 12, 2009 at 12:15 PM, Scott Hudson
<scott.hudson@flatironssolutions.com> wrote:
> 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 <dcramer@motive.com> 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:xuvt99@gmail.com]
>>>> Sent: Monday, October 12, 2009 10:30 AM
>>>> To: docbook@lists.oasis-open.org
>>>> 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.


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]