Building PDF with Open Source Solution
Hi there, This is slightly off topic. I have a question how pdf's are build within the boost build system. As far as I could figure it out the build system uses a proprietary solution called RenderX XEP or so. I'm wondering if there are open source solutions out there that could be used to generate boost's documentation as pdf files? Thanks, Christian
This is slightly off topic.
I have a question how pdf's are build within the boost build system. As far as I could figure it out the build system uses a proprietary solution called RenderX XEP or so. I'm wondering if there are open source solutions out there that could be used to generate boost's documentation as pdf files?
Apache FOP is the only open source solution I know of: http://xmlgraphics.apache.org/fop/ Unfortunately it still hasn't got past a 1.0 release, and last I checked it's rendering was still far inferior to XEP - basically building with XEP is pretty much a "fire and forget" process, while building with FOP quite often either mangles the docs or uses rather unfortunate pagination choices :( John.
2012/6/7 John Maddock
This is slightly off topic.
I have a question how pdf's are build within the boost build system. As far as I could figure it out the build system uses a proprietary solution called RenderX XEP or so. I'm wondering if there are open source solutions out there that could be used to generate boost's documentation as pdf files?
Apache FOP is the only open source solution I know of: http://xmlgraphics.apache.org/**fop/ http://xmlgraphics.apache.org/fop/
Unfortunately it still hasn't got past a 1.0 release, and last I checked it's rendering was still far inferior to XEP - basically building with XEP is pretty much a "fire and forget" process, while building with FOP quite often either mangles the docs or uses rather unfortunate pagination choices :(
John.
I don't know if is in the same category of software you're discussing, but i found a library sometime ago for generating PDFs from C++: http://libpdfxx.sourceforge.net/doc/index.html Seems it's not maintained for a while, though. Regards, Júlio.
I don't know if is in the same category of software you're discussing, but i found a library sometime ago for generating PDFs from C++: http://libpdfxx.sourceforge.net/doc/index.html
Nope, doesn't even come close - converting from FO XML and getting all the pagination correct in the output is a hugely complex job - probably why there's only ever been one solution that's even come close to getting it right - and even they (XEP that is) don't handle everything. John.
on Thu Jun 07 2012, John Maddock
I don't know if is in the same category of software you're discussing, but i found a library sometime ago for generating PDFs from C++: http://libpdfxx.sourceforge.net/doc/index.html
Nope, doesn't even come close - converting from FO XML and getting all the pagination correct in the output is a hugely complex job - probably why there's only ever been one solution that's even come close to getting it right - and even they (XEP that is) don't handle everything.
Did we every try using http://dblatex.sourceforge.net/ and then sending it through pdflatex? -- Dave Abrahams BoostPro Computing http://www.boostpro.com
I don't know if is in the same category of software you're discussing, but i found a library sometime ago for generating PDFs from C++: http://libpdfxx.sourceforge.net/doc/index.html
Nope, doesn't even come close - converting from FO XML and getting all the pagination correct in the output is a hugely complex job - probably why there's only ever been one solution that's even come close to getting it right - and even they (XEP that is) don't handle everything.
Did we every try using http://dblatex.sourceforge.net/ and then sending it through pdflatex?
Just gave it a quick go - docs look promising, but I can't get it to install in Windows - python error during install. Giving up for now, John.
John Maddock wrote:
I don't know if is in the same category of software you're discussing, but i found a library sometime ago for generating PDFs from C++: http://libpdfxx.sourceforge.net/doc/index.html
Nope, doesn't even come close - converting from FO XML and getting all the pagination correct in the output is a hugely complex job - probably why there's only ever been one solution that's even come close to getting it right - and even they (XEP that is) don't handle everything.
And BTW - who cares XEP is open source or not. We're only interested in the result (and the cost) not the software. what about using pandoc to convert docbook to pdf ? Has anyone looked into this? Robert Ramey
John.
Nope, doesn't even come close - converting from FO XML and getting all the pagination correct in the output is a hugely complex job - probably why there's only ever been one solution that's even come close to getting it right - and even they (XEP that is) don't handle everything.
And BTW - who cares XEP is open source or not. We're only interested in the result (and the cost) not the software.
Exactly.
what about using pandoc to convert docbook to pdf ? Has anyone looked into this?
Nope, web page looked interesting so I gave it a try: Boost.Math: pdflatex couldn't handle some of the Unicode characters generated and bailed out. Boost.Type_traits: generated invalid tex file (pdflatex bailed out). Boost.Config: generated a PDF file, but wasn't much better than a plain text dump - you got bold and italics converted, but other than that all document structure was lost. John.
on Thu Jun 07 2012, Christian Henning
Hi there,
This is slightly off topic.
I have a question how pdf's are build within the boost build system. As far as I could figure it out the build system uses a proprietary solution called RenderX XEP or so. I'm wondering if there are open source solutions out there that could be used to generate boost's documentation as pdf files?
The best way to do this continues to be to go through LaTeX. -- Dave Abrahams BoostPro Computing http://www.boostpro.com
[Please do not mail me a copy of your followup]
boost-users@lists.boost.org spake the secret code
on Thu Jun 07 2012, Christian Henning
wrote: solution called RenderX XEP or so. I'm wondering if there are open source solutions out there that could be used to generate boost's documentation as pdf files?
The best way to do this continues to be to go through LaTeX.
Is there a recipe for how to do this? -- "The Direct3D Graphics Pipeline" free book http://tinyurl.com/d3d-pipeline The Computer Graphics Museum http://computergraphicsmuseum.org The Terminals Wiki http://terminals.classiccmp.org Legalize Adulthood! (my blog) http://legalizeadulthood.wordpress.com
PDFlib has a free version. http://www.pdflib.com/ Then, there's GNU PDF: http://www.gnupdf.org/Main_Page I highly recommend PDFNet from PDFTron; it is commercial but their free evaluation version lasts a long time (specially on Linux). http://www.pdftron.com/pdfnet/ -Ramon On 6/7/2012 10:31 AM, Christian Henning wrote:
Hi there,
This is slightly off topic.
I have a question how pdf's are build within the boost build system. As far as I could figure it out the build system uses a proprietary solution called RenderX XEP or so. I'm wondering if there are open source solutions out there that could be used to generate boost's documentation as pdf files?
Thanks, Christian
PDFlib has a free version.
Then, there's GNU PDF:
http://www.gnupdf.org/Main_Page
I highly recommend PDFNet from PDFTron; it is commercial but their free evaluation version lasts a long time (specially on Linux).
Stop already! Sorry, but those are libraries and we need a complete solution for docbook to PDF transformation, as I said in another message, the hard part isn't writing the PDF, it's paginating the document, that's why no one has written a home-grown solution, now would it be sensible to try when there are already complete working solutions IMO. John.
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of John Maddock Sent: Friday, June 08, 2012 9:54 AM To: boost-users@lists.boost.org Subject: Re: [Boost-users] Building PDF with Open Source Solution
PDFlib has a free version.
Then, there's GNU PDF:
http://www.gnupdf.org/Main_Page
I highly recommend PDFNet from PDFTron; it is commercial but their free evaluation version lasts a long time (specially on Linux).
Stop already! Sorry, but those are libraries and we need a complete solution for docbook to PDF transformation, as I said in another message, the hard part isn't writing the PDF, it's paginating
the
document, that's why no one has written a home-grown solution, now would it be sensible to try when there are already complete working solutions IMO.
I agree - if is ain't broke, don't fix it! The very discreet acknowledgement to RenderX is a tiny price to pay for a working system. And despite some people being sniffy about the appearance of the PDf, (I still like Times Roman) having a single file for each library is jolly useful. And lots of thanks to John for the hassle of producing them all. Paul --- Paul A. Bristow, Prizet Farmhouse, Kendal LA8 8AB UK +44 1539 561830 07714330204 pbristow@hetp.u-net.com
participants (8)
-
Christian Henning
-
Dave Abrahams
-
John Maddock
-
Júlio Hoffimann
-
legalize+jeeves@mail.xmission.com
-
Paul A. Bristow
-
Ramon F Herrera
-
Robert Ramey