[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] New to this list, with an XSL question...
Greetings, Bob, On Wed, Oct 24, 2018 at 10:14:14AM -0700, Bob Stayton wrote:
Â/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/titlepage.xsl \ That should be: Â/usr/share/xml/docbook/stylesheet/docbook-xsl/template/titlepage.xsl \
I followed the correction that you made: xsltproc --output titlepage.xsl \ /usr/share/xml/docbook/stylesheet/docbook-xsl/template/titlepage.xsl \ /usr/share/xml/docbook/stylesheet/docbook-xsl/fo/titlepage.templates.xmlAnd yes, the generated file is identical to
/usr/share/xml/docbook/stylesheet/docbook-xsl/fo/titlepage.templates.xsl as you can see: diff /usr/share/xml/docbook/stylesheet/docbook-xsl/fo/titlepage.templates.xsl titlepage.xsl <no output>Now, I import the generated file (absolute path to be sure) in the xlst/fo/docbook.xsl file that is my customization layer file (I keep the
other lines in case they might suggest something): <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="/home/rusconi/devel/docbook/msxpertsuite/minexpert/xslt/fo/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> When I run the build of the pdf file, the titles are gone! If I comment out the import line, the titles are back! What am I doing wrong with the import? Thank you for your kind help, Cheers, Filippo -- âââââââ 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
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]