[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Slides fo to PDF ...
Hello I want to make a slides PDF with fop, i do that : /usr/bin/xmllint --encode "ISO-8859-15" --xinclude C-compilateur_c_slides.xml > xinclude.C-compilateur_c_slides.xml /usr/bin/xsltproc --stringparam encoding "ISO-8859-15" --stringparam profile.attribute "outtarget" --stringparam profile.value "cours;tpx" --output xinclude_profiling.C-compilateur_c_slides.xml --xinclude ./libs/docbook-xsl-ns-1.76.1/profiling/profile.xsl xinclude.C-compilateur_c_slides.xml /usr/lib/jvm/java-6-openjdk/bin/java -cp "/usr/share/java/xslthl.jar:/usr/share/java/saxon.jar:DocBook5.0/libs/docbook-xsl-ns-1.76.1/extensions/saxon65.jar:DocBook5.0/libs/xerces-2_9_0/xercesImpl.jar" -Dxslthl.config=file:///DocBook5.0/libs/docbook-xsl-ns-1.76.1/highlighting/xslthl-config.xml -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl -Dorg.apache.xerces.xni.parser.XMLParserConfiguration=org.apache.xerces.parsers.XIncludeParserConfiguration com.icl.saxon.StyleSheet -o DocBook5.0/_out/C-compilateur_c_slides.fo DocBook5.0/_out/C-compilateur_c/xinclude_profiling.C-compilateur_c_slides.xml _mystyle_article_slides_fo.xsl My C-compilateur_c_slides.xml file : <?xml version='1.0'?> <!DOCTYPE slides PUBLIC "-//Norman Walsh//DTD Slides V3.4//EN" "DocBook5.0/libs/docbook-slides-3.4.0/schema/dtd/slides.dtd"> <slides> <slidesinfo> <title>DocBook <emphasis>slides</emphasis> Example</title> <author> <firstname>Michael</firstname> <surname>Wiedmann</surname> </author> <date>2001-06-20</date> <copyright> <year>2001</year> <holder>Michael Wiedmann</holder> </copyright> <abstract> <para>This is a very simple example for the use of the new DocBook slides DTD (V2.0a1) and accompanying XSL stylesheets. </para> <para>This is the <emphasis>frames</emphasis> version, but there is also an XSL stylesheet for a non-framed version. </para> <para>A very simple stylesheet for converting to <emphasis>Formatting Objects</emphasis> for further procession using a FO-Processor is also included. </para> </abstract> <legalnotice> <title>Legal Notice</title> <para>Some legal notice</para> </legalnotice> </slidesinfo> My _mystyle_article_slides_fo.xsl : <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:import href="/home/bruno/Travail/DocBook5.0/libs/docbook-xsl-ns-1.76.1/slides/fo/plain.xsl"/> <xsl:import href="/home/bruno/Travail/DocBook5.0/libs/docbook-xsl-ns-1.76.1/fo/highlight.xsl"/> <xsl:param name="highlight.source" select="'1'"/> <xsl:param name="highlight.xslthl.config" select="'file:///DocBook5.0/libs/docbook-xsl-ns-1.76.1/highlighting/xslthl-config.xml'"/> </xsl:stylesheet> The result : Note: namesp. add : added namespace before processing DocBook slides Example Making landscape pages on USletter paper (11inx8.5in) Element slides in namespace 'http://docbook.org/ns/docbook' encountered, but no template matches. Element slidesinfo in namespace 'http://docbook.org/ns/docbook' encountered in slides, but no template matches. Element title in namespace 'http://docbook.org/ns/docbook' encountered in slidesinfo, but no template matches. Element copyright in namespace 'http://docbook.org/ns/docbook' encountered in slidesinfo, but no template matches. Element year in namespace 'http://docbook.org/ns/docbook' encountered in copyright, but no template matches. Element holder in namespace 'http://docbook.org/ns/docbook' encountered in copyright, but no template matches. Can you tell me where is the problem? thank you Best regards Bruno
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]