瀏覽代碼

Modified PS and PDF file creation

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@261 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Gerard Beekmans 24 年之前
父節點
當前提交
a630bdb91b
共有 1 個文件被更改,包括 9 次插入19 次删除
  1. 9 19
      README

+ 9 - 19
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 <type> \
+		-f <output> 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 <type> by pdf13 to create pdf file or replace <type> by ps3 to
+create ps file. There are other pdf and ps levels, see the man page for
+possible other options. Replace <output> with the filename of the ps or
+pdf file that is to be generated.