Gentoo Archives: gentoo-dev

From: BoehmeSilvio <Boehme.Silvio@×××.de>
To: "'gentoo-dev@××××××××××.org'" <gentoo-dev@××××××××××.org>
Subject: [gentoo-dev] pdf xslt for documentation
Date: Mon, 03 Sep 2001 02:29:07
Message-Id: E19CBDD9F21ED111A96A00805F0D6AE0DCA618@AFBWNT01
1 Hi !
2
3 I just completed the gentoo-pfd.xsl
4
5 Because this is my first XSLT-file, don't be to critical !
6 ;-)
7
8 Now the instructions:
9
10 - download FOP version 0.20.1 from http://xml.apache.org/fop
11 - you need a java runtime ( from sun )
12 - there is a fop.sh script to call the fop processor
13 call fop.sh -xsl <xsl-file> -xml <xml-file> -pdf <pdf-file>
14 Because the fop.sh has a fix classpath, you need to call the fop.sh from
15 the fop directory...
16 ( or change the fop.sh )
17
18 Now the limitations:
19
20 - there is a problem in the PRE-Tag, because the code-listing breaks on
21 page.
22 I set
23 keep-together.within-page="always"
24 but it seems, that fop 0.20.1 does not recognize this. I'll see, if the
25 next
26 version works better.
27
28 Now the bugs:
29 - I found a possible bug in install.xml
30
31 <table><th>Language</th><th>Keymap</th>
32 <tr><ti>German</ti><ti>de-latin1-nodeadkeys</ti></tr>
33 <tr><ti>French</ti><ti>fr_latin1</ti></tr>
34 <tr><ti>Swedish</ti><ti>se_latin1</ti></tr>
35 </table>
36
37 You set the table header <th> outside from an table row <tr>.
38 I know, this works in html output, but in "fo" this is a problem.
39 I all other xml files, you set <th> in an <tr> tag.
40
41 CU
42
43 Silvio Boehme

Attachments

File name MIME type
gentoo-pdf.xsl application/octet-stream