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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

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


Subject: Re: [docbook-apps] DocBook5: Issues in customization


For item #1, check out the DocBook XSL Handbook, chapter 8, "Generated
text":

http://www.sagehill.net/docbookxsl/TitleFontSizes.html#ChapterTitles

The gentext template you're looking to customize is the "chapter"
template in the "title" context:

<xsl:param name="local.l10n.xml" select="document('')"/>
<l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0";>
  <l:l10n language="en">
    <l:context name="title">
      <l:template name="chapter" text="Chapter&#xA0;%n.&#xA0;%t"/>
    </l:context>
  </l:l10n>
</l:i18n>

- dfp

--- spr <spremi@yahoo.com> wrote:

> 
> Just started using DocBook. I am using "docbook-xsl-1.73.0" with
> "fop-0.93"
> to convert convert a simple docbook that follows the "docbook-5.0CR5"
> DTD.
> (Wanted to start with latest DTD to avoid migrations).
> 
> The default conversion to PDF works quite well, but I am having
> problems in
> customizations.
> I have tried the steps in
> http://xml.coverpages.org/DocBook5-XSL-Stylesheets.html, but i may be
> missing something very basic.
> http://www.nabble.com/file/p12124271/params-test.xsl params-test.xsl 
> Here are my list of issues/problems:
> 1) Removing the prefix "Chapter" from the chapter titles.
>    (Have been able to customize style, not the content)
> 
> 2) Adding a copyright label to footer text (center aligned)
> 
> 3) Adding document revision number to footer text (left aligned)
> 
> Are there any quick start examples that can get me going.
> 
> I have attached my customization xsl with changes for #1 above.
> 
> Thanks,
> ~spr
> 
> -- 
> View this message in context:
>
http://www.nabble.com/DocBook5%3A-Issues-in-customization-tf4260524.html#a12124271
> Sent from the docbook apps mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail:
> docbook-apps-help@lists.oasis-open.org
> 
> 



       
____________________________________________________________________________________
Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. 
http://answers.yahoo.com/dir/?link=list&sid=396545433


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