summaryrefslogtreecommitdiff
path: root/docs/docbook/scripts/README.ldp_print
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2001-04-24 19:10:40 +0000
committerGerald Carter <jerry@samba.org>2001-04-24 19:10:40 +0000
commit61da9a7e939df69e3feb7d4854b42f72c132a21f (patch)
tree6755399a2d789254fbdfe97380f5bf6e1dbd669b /docs/docbook/scripts/README.ldp_print
parentc8af938a0a7ec15c38076fc11d164f55737318f1 (diff)
downloadsamba-61da9a7e939df69e3feb7d4854b42f72c132a21f.tar.gz
samba-61da9a7e939df69e3feb7d4854b42f72c132a21f.tar.bz2
samba-61da9a7e939df69e3feb7d4854b42f72c132a21f.zip
syncing up with 2.2
(This used to be commit ff4cdb5a346bd864d169f18a10f318f13f1afcd8)
Diffstat (limited to 'docs/docbook/scripts/README.ldp_print')
-rw-r--r--docs/docbook/scripts/README.ldp_print60
1 files changed, 60 insertions, 0 deletions
diff --git a/docs/docbook/scripts/README.ldp_print b/docs/docbook/scripts/README.ldp_print
new file mode 100644
index 0000000000..8d61a85534
--- /dev/null
+++ b/docs/docbook/scripts/README.ldp_print
@@ -0,0 +1,60 @@
+
+######################################################################
+ ldp_print - print tool/script for DocBook SGML/XML documents
+######################################################################
+
+This process/script is used in the production environment for the
+LDP. It relies on the HTMLDOC software package (GPL'ed) which can be
+obtained from the Easy Software Products (c) web site:
+
+ http://www.easysw.com/htmldoc/
+
+This process creates a PDF variant from the single-file HTML
+representation of a DocBook SGML (or XML) instance. The simple
+wrapper script (ldp_print) assumes that the file was created using
+{open}jade in a manner similar to:
+
+ jade -t sgml -i html -V nochunks -d $style $fname > $fname.html
+
+Give the script the filename as an argument. It will then parse the
+file into 'title.html' and 'body.html' and send each to htmldoc (as
+the corresponding title page and body of the document).
+
+
+CAVEATS
+=======
+
+o Assumes perl is in /usr/bin; adjust if necessary
+
+o You may need to specify where the htmldoc executable resides.
+ The script assumes it's within your $PATH.
+
+o If you want Postscript as an output variant, uncomment the
+ appropriate lines (see below).
+
+o Relies on output from a DocBook instance created via DSSSL/{open}jade!
+
+o Cleans up (removes) the intermediate files it creates (but not the
+ PDF or Postscript files, obviously!)
+
+o Works silently; PDF (PostScript) will be created in the same directory
+ as was specified for the input (single-file HTML) file.
+
+o Provided without warranty or support!
+
+o I ran into a problem with htmldoc v1.8.8 which required a source
+ code change (I was getting a core dump from the htmldoc process).
+ Here is the change required:
+
+ htmldoc/ps-pdf.cxx :
+ 3662,3665d3661
+ < /* gjf = 11Oct2000 */
+ < if( temprow == NULL )
+ < break;
+ <
+
+
+====
+gferg (at) sgi.com / Ferg
+11 Jan 2000
+