Le 4 juin 2006 à 19:19, Chuck Robey a écrit :

Michèle Garoche wrote:


Le 3 juin 2006 à 23:04, Chuck Robey a écrit :

Is anyone using fink able to format Docbook documents?  If you are,
could you tell me what list of fink packages you use to do your
formatting?

I use bluefish, a non wysiwyg editor, which has already some
preformatted docbook tags, you can add whichever you want by
customizing a menu. You may try tea also, which seems to have some
very interesting features. gedit probably also. And more simple
BBedit or even TextEdit.

Somehow, I've confused you.
Somehow you did not read my mail entirely :-)

So I repeat:
For docbook = 4.4, you may use xsltproc from libxslt, to get html
output, and fop to get pdf output, though you can use also directly
saxon. The stylesheets are docbook-xsl, you have to install also
docbook-dtd.

xsltproc is just the first step for producing an fo file. From then you have to use fop to produce a pdf file.

An example:

your xml file: book.xml

1. Step one: validate your book

xmllint --noout --nonet --valide book.xml

2. Step two: produce the fo file

xsltproc --nonet --output book.fo book.xml

3. Step three: produce the pdf file

fop book.fo book.pdf



Cheers,
Michèle
<http://micmacfr.homeunix.org>

Attachment: 36C471DED4B09EEB30A0281F2608DB2FE6F9E147.gpgkey
Description: Binary data



Attachment: PGP.sig
Description: Ceci est une signature électronique PGP

_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to