This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
RE: [docbook-apps] Generating PDF: fop, passivetex and xfc (fo2rtf) reports
- From: "Scott Wiseman" <scott at intercore dot net>
- To: <docbook-apps at lists dot oasis-open dot org>
- Date: Thu, 8 Jul 2004 07:33:54 -0700
- Subject: RE: [docbook-apps] Generating PDF: fop, passivetex and xfc (fo2rtf) reports
Did you try changing the ID?
-----Original Message-----
From: Jean Jordaan [mailto:jean@upfrontsystems.co.za]
Sent: Thursday, July 08, 2004 7:36 AM
To: docbook-apps@lists.oasis-open.org
Subject: [docbook-apps] Generating PDF: fop, passivetex and xfc (fo2rtf)
reports
Hi all
An old fop bug (spurious "duplicate id" error) is biting me.
I generate a .fo file like this:
$ xsltproc /usr/share/sgml/docbook/xsl-stylesheets-1.62.4/fo/docbook.xsl
templating-dtml.dbk > templating-dtml.fo
fop chokes on page 21 out of 27 with the message:
[ERROR] file:/.../templating-dtml.fo:726:554 The id "id2450246" already
exists in this document
That id occurs on this element:
<fo:list-item-label id="id2450246"
end-indent="label-end()"><fo:block>Q:</fo:block></fo:list-item-label>
and it occurs once only. If I hack it out manually, fop is happy.
I've posted the above here as well:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14962
If anyone has enlightenment or more info, feel free to follow up there.
I also tried with passivetex (via xmlto) which worked once I bumped some
settings:
jean@blommie courses $ grep -A1 njj /usr/share/texmf/web2c/texmf.cnf
%njj pool_size = 250000 pool_size = 500000
--
%njj save_size = 4000 % for saving values outside current group
save_size = 16000 % for saving values outside current group
Unfortunately the generated PDF doesn't cut it. The screenshots (about
600px wide) are wider than the page, and there are TeX artifacts ("-
-4pc - -4pc", "0.60+1em") here and there.
Apart from that, both have bad widowed/orphaned lines problems, but the
output is usable if one isn't too fussy. I'm considering using
http://www.easysw.com/htmldoc/ to go from HTML->PDF.
If anyone has configuration recipes or RTFMs they'd like to share for
improved PDF (or any print format) generation from DocBook with open
source tools, feel free ..
Oooh, I've just given
http://www.xmlmind.com/foconverter/downloadperso.shtml
a try, and it's Not Bad! The output is on par with the above two, but
it's tweakable in OpenOffice.
http://www.avidware.net/Co-Location-Los-Angeles.asp
--
Jean Jordaan
http://www.upfrontsystems.co.za
To unsubscribe from this list, send a post to
docbook-apps-unsubscribe@lists.oasis-open.org, or visit
http://www.oasis-open.org/mlmanage/.
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.