[CentOS] How do I...

Robert Heller heller at deepsoft.com
Sat Jan 9 02:33:14 UTC 2010


At Fri, 8 Jan 2010 21:05:00 -0500 CentOS mailing list <centos at centos.org> wrote:

> 
> Only tangentially on topic, at best...
> 
> Given a pile of html files, comprising chapters of a book, with a single
> html file that serves as a table of contents to the group, how would I
> turn the entire book into a single PDF? 
> 
> I can't think of a way to do that, all I can come up with would result
> in a pile of PDFs, one per html. But there's gotta be a better way.
> 
> Suggestions welcome. Thanks in advance!
> 
> (doing this on Linux, of course, which makes it slightly on topic.)

Hmmm.  How did you come to have the book chapters in HTML?  If you
really wrote the book in HTML (?!?), then one way to go would be to
convert the HTML to LaTeX somehow.  (Maybe using xslt or something.) 
The use the index html file to create a main LaTeX file that would
\include{} each chapter, then run it through pdflatex.  Presto, one big
PDF file.  And it will look 1000x better than the HTML will every look.

> 
> Fred

-- 
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Download the Model Railroad System
http://www.deepsoft.com/  -- Binaries for Linux and MS-Windows
heller at deepsoft.com       -- http://www.deepsoft.com/ModelRailroadSystem/
                                              


More information about the CentOS mailing list