Greetings,
I am new to this list because I am new to DocBook.
I can handle simple documents and produce HTML/PDF output. But I now would like
to start customizing that output. Starting from the title page customization.
I have bought the Stayton book, that I found not only useful but also enjoyable.
I try to perform the title page customization as described in the book,
chapter~11.
I am on a Debian GNU/Linux box, but that should not be relevant...
# Copy the title templates xml file from the docbook-xsl distribution
# to my local directory:
cp /usr/share/xml/docbook/stylesheet/docbook-xsl/fo/titlepage.templates.xml .
# Process that unmodified template xml file using the stylesheet from the
# distribution:
xsltproc --output titlepage.xsl
/usr/share/xml/docbook/stylesheet/docbook-xsl/template/titlepage.xsl
titlepage.templates.xml
# That generates the titlepage.xsl file that I now want to import into the
# customization layer master file that I called docbook.xsl:
$ cat docbook.xsl
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:d="http://docbook.org/ns/docbook">
<xsl:import
href="http://docbook.sourceforge.net/release/xsl-ns/current/fo/docbook.xsl"/>
<xsl:import href="titlepage.xsl"/>
<!-- Your customizations go here -->
<xsl:param name="admon.graphics" select="1"/>
<xsl:param name="admon.graphics.extension">.svg</xsl:param>
<xsl:param name="admon.graphics.path">images/</xsl:param>
<xsl:param name="toc.indent.width">12</xsl:param>
</xsl:stylesheet>
Now I run the build of the PDF file and I find that the PDF file misses all the
titles for document, chapters and sections. What is odd, is that the sidebar of
the PDF viewer still shows these sectioning blocks' heads in the table of
contents, but when I go in the actual pages viewing pane, these sectioning heads
are missing.
I would have thought that changing nothing in the the local copy of the
titlepage.templates.xml would have provided me with a "like-the-original" copy
of the xsl file after processing with xsltproc.
What am I missing ?
Thanks for your reading up to this point.
Sincerely,
Filippo Rusconi
--
⢀⣴⠾⠻⢶⣦⠀ Filippo Rusconi, PhD
⣾⠁⢠⠒⠀⣿⡁ Scientist at CNRS
⢿⡄⠘⠷⠚⠋⠀ Debian Developer
⠈⠳⣄⠀⠀⠀⠀ http://msxpertsuite.org
http://www.debian.org
~~~~
book: http://www.lavoisier.fr/livre/notice.asp?id=3LKW2OAR2KROWZ
http://books.google.fr/books?id=2NmguxmEI1sC&printsec=frontcover&dq=rusconi+f+lavoisier&hl=fr&sa=X&ei=nGGOUt2SH_Ly0gX0uIHoBQ&ved=0CDUQ6AEwAA#v=onepage&q&f=false
~~~~
Génétique Quantitative et Évolution & Plateforme PAPPSO
UMR CNRS 8120 – INRA – Université Paris-Sud – AgroParisTech - Université
Paris-Saclay
http://moulon.inra.fr/ & http://pappso.inra.fr/
Ferme du Moulon
91190 Gif-sur-Yvette
France
Tel : +33 (0)1 69 33 23 68
Fax : +33 (0)1 69 33 23 40
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org