Where are the GNOME stylesheets (generating PDFs)?



Hi All,
I am trying to generate PDFs from the documentation, similar to the PDFs
available in gnome-user-docs, under the C locale. For example,
http://svn.gnome.org/viewvc/gnome-user-docs/trunk/gnome2-user-guide/C/user-guide.pdf?view=log

Apparently the stylesheets are at
http://svn.gnome.org/viewvc/gnome-docu/trunk/gdp/xsl/general-customization.xsl?view=log
Is that correct?
However, xsltproc gives all sort of errors:

1. 
warning: failed to load external entity
"http://docbook.sourceforge.net/release/xsl/1.45/html/chunk.xsl";

which may be fixed with 
http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl
Maybe I need something from 
http://docbook.sourceforge.net/release/xsl/current/fo/ as I am
generating PDFs?

2. Once the above issue is resolved,
compilation error: file /tmp/gnome-docu/gdp/xsl/titlepage2.xsl line 7
element template
xsl:template: error duplicate name 'book.titlepage'
compilation error: file /tmp/gnome-docu/gdp/xsl/titlepage2.xsl line 115
element template
xsl:template: error duplicate name 'article.titlepage'
/tmp/gnome-docu/gdp/xsl/toc.xsl:10: namespace error : Namespace prefix
doc for type on param is not defined
<xsl:param name="generate.book.toc" select="1" doc:type="boolean"/>
                                                                 ^
/tmp/gnome-docu/gdp/xsl/toc.xsl:13: namespace error : Namespace prefix
doc for type on param is not defined
<xsl:param name="generate.article.toc" select="1" doc:type="boolean"/>
                                                                    ^
/tmp/gnome-docu/gdp/xsl/toc.xsl:16: namespace error : Namespace prefix
doc for type on param is not defined
<xsl:param name="generate.part.toc" select="1" doc:type="boolean"/>
...          
                                                       ^
What should the xsltproc and fop command lines be?

Simos





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]