Quote:
Originally Posted by Coconut
I appreciate that, however, Acrobat does not seem to know what to do with the xhtml's that were outputted in the SVG stage of the conversion, and those are really the ones I want. Acrobat simply states tht it cannot open the files because they are an unknown filetype.
|
Yeah, since these are compound documents (mixed xhtml and SVG), only the smartest of page renderers can figure them out. Acrobat Pro doesn't even support SVG (which is stupid since Adobe designed the SVG format).
This is the only way I know how:
1) Use the "-r" flag on gensvg.py to generate the raw SVG images (without the xhtml/javascript wrapper).
2) Use Illustrator to batch convert the SVG files into PDF files.
3) Use Acrobat Pro to combine the PDF files into one.
There are major drawbacks to this, however:
1) This requires a Mac or PC and very expensive copies of Illustrator and Acrobat Pro.
2) Illustrator
sucks at rendering SVG correctly, and many of the pages are poor looking.
3) The filesize (even though you stated that you didn't care) is outrageous. I converted 65 pages into a 38Meg PDF file.
An Open-Source alternative would be to use InkScape to render the SVG files into PDF. I don't have Inkscape installed on any of my machines, so I don't know how good the output is. However, I do know that SVG is Inkscape's default file format so it ought to be reasonably good.
This page has a tutorial on using Inkscape and pdftk to create a pdf from multiple SVG images (and since it's command-line-based instead of GUI, this would be much quicker than the above).