Re: How do I...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, Jan 08, 2010 at 09:33:14PM -0500, Robert Heller wrote:
> At Fri, 8 Jan 2010 21:05:00 -0500 CentOS mailing list <centos@xxxxxxxxxx> 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

Books downloaded from the Baen Free Library. I could go back and get
the .rtf file and export that as PDF from OOo, but I'm curious to see
if I can manage it without having to do that (you know, sort of for
fun/educational purposes.)

> 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@xxxxxxxxxxxx       -- http://www.deepsoft.com/ModelRailroadSystem/
>                                               
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos

-- 
---- Fred Smith -- fredex@xxxxxxxxxxxxxxxxxxxxxx -----------------------------
                    The Lord detests the way of the wicked 
                  but he loves those who pursue righteousness.
----------------------------- Proverbs 15:9 (niv) -----------------------------
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux