From a630bdb91b5829b47ede43178108f5cd635212a8 Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Wed, 7 Mar 2001 20:50:52 +0000 Subject: [PATCH] Modified PS and PDF file creation git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@261 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- README | 28 +++++++++------------------- 1 file changed, 9 insertions(+), 19 deletions(-) diff --git a/README b/README index fd5ededd3..eb297584b 100644 --- a/README +++ b/README @@ -45,27 +45,17 @@ XML to TXT: First create the NOCHUNKS HTML file, then convert by running: /usr/bin/lynx -dump nochunks.html > output.txt -XML to PDF: +XML to PS and PDF: ----------- First create the NOCHUNKS HTML file, then convert by starting -/usr/bin/htmldoc. Personally I use the htmldoc GUI. It's easier to use -than the slew of command line options you can use. +htmldoc. You can use the GUI and select the options. If you're +satisfied by the default options you can run this command: -In the GUI, click on the "Add Files..." button on the Input tab and -select the NOCHUNKS HTML file. Then click the "PDF" button on the -Output tab and enter the output file name in the "Output Path" box. -If you don't want to change other options, click on the "Generate" -button and wait a few seconds. + /usr/bin/htmldoc --book --firstpage p1 -v -t \ + -f nochunks.html -XML to PS: ----------- -First create the NOCHUNKS HTML file, then convert by starting -/usr/bin/htmldoc. Personally I use the htmldoc GUI. It's easier to use -than the slew of command line options you can use. - -In the GUI, click on the "Add Files..." button on the Input tab and -select the NOCHUNKS HTML file. Then click the "PS" button on the -Output tab and enter the output file name in the "Output Path" box. -If you don't want to change other options, click on the "Generate" -button and wait a few seconds. +replace by pdf13 to create pdf file or replace by ps3 to +create ps file. There are other pdf and ps levels, see the man page for +possible other options. Replace with the filename of the ps or +pdf file that is to be generated.