View Single Post
Old 06-23-2025, 04:29 PM   #1
JollyRachele
Junior Member
JollyRachele began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jun 2025
Device: None
Multiple XML into 1 PDF?

Hello, I've been trying host of tools to achieve this but have always failed, although something tells me ebook-convert may have the key - although I'm not quite sure how to formulate the command

Here are the XML files I want to convert: https://github.com/PerseusDL/lexica

As far as I understand ebook-convert doesn't actually support XML, but for me rendering it as HTML is more than enough (in fact opening it in Firefox displays everything properly, all I need to do is 'stitch' the files together into one PDF file.

Any suggestions for this particular case? (Here, after "gh repo clone https://github.com/PerseusDL/lexica", I navigated to the folders containing the XML files and tried appending a '.html' extension before passing all of the files at the same time as an argument with the command 'ebook-convert "*.html" .pdf', but ebook-convert wasn't able to parse them like Firefox did...

JollyRachele is offline   Reply With Quote