Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #29129

Re: Docs in PDF?

From Eric Sosman <esosman@comcast-dot-net.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Docs in PDF?
Date 2014-07-19 17:34 -0400
Organization A noiseless patient Spider
Message-ID <lqeo8r$oek$1@dont-email.me> (permalink)
References <Docs-20140719223512@ram.dialup.fu-berlin.de>

Show all headers | View raw


On 7/19/2014 4:50 PM, Stefan Ram wrote:
>    I would like to have the Oracle Java tutorials and the
>    Java SE docs as one single large PDF file or a small
>    set of large PDF files.
>
>    It seems as if Oracle has not prepared such documents
>    (as they did this for the JLS)?
>
>    And it also seems that there is not a simple free tool
>    that can convert a large directory structure of HTML
>    files into a single PDF?
>
>    Oracle already is so kind as to offer a ZIP file with
>    the Java SE docs. Now, if I could only convert that
>    to a single large PDF (or a small set of large PDFs)!

     (Untested, not even really investigated): Can you configure
the javadoc utility to generate the SE docs from the Java source?
I believe it can handle various kinds of externally-supplied style
sheets and stuff; maybe there's a way to get it to spit everything
out on one giant HTML page. You could then use LibreOffice (for
example) to generate PDF.

     (Also untested, only marginally less speculative): You could
write a sort of "Web spider" that would traverse a JavaDoc tree
or the Tutorial, digesting HTML pages and spitting out one giant
Open Document (.odt) file.  Tools like ODFDOM should be helpful;
there's also jOpenDocument (although I find its documentation a
bit sparse), or using a UNO bridge to an active LibreOffice/
OpenOffice.org instance.

-- 
esosman@comcast-dot-net.invalid

Back to comp.lang.java.programmer | Previous | Next | Find similar | Unroll thread


Thread

Re: Docs in PDF? Eric Sosman <esosman@comcast-dot-net.invalid> - 2014-07-19 17:34 -0400

csiph-web