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

Re: PDF output on http://www.linuxdoc.org/

On Apr 20, 12:10pm, Jerome Thebert wrote:
> Subject: PDF output on http://www.linuxdoc.org/
> Hi all,
> I'm using the linuxdoc DTD and the sgmltools to output my documents
> in text, html and PS which are very nice I think. I then use ps2pdf
> to generate the PDF outptut.
> But I notice that the PDF file at
> http://metalab.unc.edu/pub/Linux/docs/HOWTO/other-formats/pdf/
> where much nicer PDF file ( notably by using PDF bookmark and outline ).
> Can someone tell me what is the tool used to generate these PDF files ?

Sure. I setup the processing env and tools on our host machine
(for the LDP). Here's how the PDF and PostScript variants are created:

- Create a singular ("nochunk"'ed) HTML version:

     if DocBook DTD

	jade -t sgml -i html -V nochunks <howto>.sgml > <how_to>.html

     else if LinuxDoc

	sgml2html -c latin --split=0 <howto>.sgml

- Use htmldoc to create PDF/PostScript:

     htmldoc --size letter -t pdf -f <how_to>.pdf <how_to>.html
     htmldoc --size letter -t ps -f <how_to>.ps <how_to>.html

  NOTE: I intend to change the page size to "universal", which
        seemed like the consensus of the group.

Here's the tools/locations (note: these are not pre-compiled binaries) :

 For support of linuxdoc:

 sgml-tools 1.0.9 -

 htmldoc (1.8.4) -

 fltk 1.0.7 (required by htmldoc for their GUI; I built it anyway) -

 ld2db  (a linuxdoc to docbook filter) -

 For support of DocBook:

 Jade (1.2.1) -

 DSSSL (1.52) -

 Documentation for DSSSL is here:

 DocBook Stylesheet documentation from a link found here:

 DocBook DTD (3.1) -

 Entities (you might need the *.gml files, a form of ISO entity files) -

best regards,

Greg Ferguson     - s/w engr / mtlhd         | gferg@sgi.com
SGI Tech Pubs     - http://techpubs.sgi.com  | 
Linux Doc Project - http://www.linuxdoc.org  |

To UNSUBSCRIBE, email to ldp-discuss-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org