This is the mail archive of the
mailing list for the Cygwin project.
Re: docbook xml toolchain
- From: Patrick Eisenacher <eisenacher at fillmore-labs dot com>
- To: Andreas <news dot Andreas at gmx dot net>
- Cc: cygwin at cygwin dot com
- Date: Mon, 12 May 2003 16:22:18 +0200
- Subject: Re: docbook xml toolchain
- Organization: Fillmore Labs GmbH <http://www.fillmore-labs.com/>
- References: <BDEIKLGLODPANMFFLBDIKEFBCDAA.news.Andreas@gmx.net>
the rejects you attached state that the pdfxmltex format didn't make it
to fmtutil.cnf. This is exactly the error you get trying to create pdf
output from your xml source.
Ok, patch files are pretty easy to read. Do
to get info about them and the various formats. In short, a patch file
contains one or more patches. Each patch contains the line number and
length of the original version (-) and line number and length of the
patched version (+). This info is given in the line starting with @@.
The lines that follow are to be removed from the original (-) or added
to the original (+). Lines without a -/+ identifier are sheer context
information for readability purposes.
With this information at hand, you should be able to identify the proper
places in your version of fmtutil.cnf to patch by hand.
The .fo file you see is the intermediate format for pdf creation. It is
created by the default stylesheet processor (xsltproc for me). pdfxmltex
takes this file as input for creating your pdf via tex.
There are other free fo processors out there that don't use tex for pdf
generation, eg fop. But all those free processors have limitations and
shortcomings. A problem they all have in common is the processing of
tables. And don't expect any fancy layout out of the box.
Thank you for the details!
I could not resist and was curious about applying your hints on the newest
available components. Here is what I discovered:
After downloading the newest available .zip archives of passivetex and
and extracting your docbook.zip file you sent to the list
I extracted Norman Walsh´s docbook-xsl-1.61.0 stylesheets (available at
and finally executed your script given in
The docbook dtd is in /usr/share/docbook-xml42 due to the previous
installation of Marcel Telkas
$ dbxml -t pdf thesis.xml
produces following output:
Making portrait pages on USletter paper (8.5inx11in)
This is pdfTeXk, Version 3.14159-1.10b (Web2C 7.4.5)
%&-line parsing enabled.
kpathsea: Running mktexfmt pdfxmltex.fmt
fmtutil: no info for format `pdfxmltex'.
I can't find the format file `pdfxmltex.fmt'!
I guess this is due to the not correctly applied patches to fmtutil.cnf you
mentioned. The file texmf.cnf is successfully patched like the script output
patching file /usr/share/texmf/web2c/fmtutil.cnf
Hunk #1 succeeded at 43 with fuzz 1 (offset 5 lines).
Hunk #2 FAILED at 86.
1 out of 2 hunks FAILED -- saving rejects to file
patching file /usr/share/texmf/web2c/texmf.cnf
Hunk #4 succeeded at 167 (offset 1 line).
Hunk #5 succeeded at 474 (offset 11 lines).
Since I never dealt with patching I am quite lost here. Could the generated
fmtutil.cnf.rej file contain any interesting output that helps further
patching? I attached it...
Is this something cygwin specific?
The command stated above creates at least a fo file. It looks good at first
glance. On Monday I will check if it is valid and if I can process this
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html