diff --git a/LDP/builder/ldp_print/README b/LDP/builder/ldp_print/README index 8d61a855..2aede516 100644 --- a/LDP/builder/ldp_print/README +++ b/LDP/builder/ldp_print/README @@ -3,6 +3,24 @@ ldp_print - print tool/script for DocBook SGML/XML documents ###################################################################### + Copyright (C) 2001-2000 - Greg Ferguson (gferg@metalab.unc.edu) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +###################################################################### + 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: @@ -55,6 +73,6 @@ o I ran into a problem with htmldoc v1.8.8 which required a source ==== -gferg (at) sgi.com / Ferg +Greg Ferguson / gferg (at) metalab.unc.edu 11 Jan 2000 diff --git a/LDP/builder/ldp_print/fix_print_html.lib b/LDP/builder/ldp_print/fix_print_html.lib index cb335fec..e8a9aaa4 100644 --- a/LDP/builder/ldp_print/fix_print_html.lib +++ b/LDP/builder/ldp_print/fix_print_html.lib @@ -9,6 +9,7 @@ # # log: # 16Oct2000 - initial entry +# 03Apr2001 - fix for # # @@ -30,7 +31,7 @@ sub fix_print_html { # ignore everything until we see the chapter or sect # - if( $_ =~ /CLASS="CHAP/ || $_ =~ /CLASS="chap/ ) { + if( $_ =~ /CLASS="CHAP/i || $_ =~ /CLASS="PREF/i ) { $buf .= $_; $indx++; @@ -145,7 +146,9 @@ sub fix_print_html { $l[$cnt] =~ s/