cvs commit: BLFS/edguide/chapter04 checkrender.xml

markh at linuxfromscratch.org markh at linuxfromscratch.org
Tue Oct 1 14:21:11 PDT 2002


markh       02/10/01 14:21:11

  Modified:    edguide  index.xml
               edguide/chapter04 checkrender.xml
  Log:
  add html tidy instructions to book build script
  
  Revision  Changes    Path
  1.4       +2 -2      BLFS/edguide/index.xml
  
  Index: index.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/edguide/index.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- index.xml	7 Jul 2002 22:08:17 -0000	1.3
  +++ index.xml	1 Oct 2002 21:21:11 -0000	1.4
  @@ -5,8 +5,8 @@
   
   <!ENTITY book SYSTEM "book/book.xml">
   
  -<!ENTITY version "20020707">
  -<!ENTITY releasedate "July 7th, 2002">
  +<!ENTITY version "20021001">
  +<!ENTITY releasedate "October 1st, 2002">
   
   <!ENTITY blfs-bugzilla "http://blfs-bugs.linuxfromscratch.org">
   
  
  
  
  1.3       +18 -0     BLFS/edguide/chapter04/checkrender.xml
  
  Index: checkrender.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/edguide/chapter04/checkrender.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- checkrender.xml	7 Jul 2002 22:00:39 -0000	1.2
  +++ checkrender.xml	1 Oct 2002 21:21:11 -0000	1.3
  @@ -52,6 +52,24 @@
         /usr/share/dsssl/docbook/dtds/decls/xml.dcl \
         $BLFS_XML/index.xml > nochunks.html
   
  +#	
  +#   Note that you can leave out this section if you don't have htmltidy
  +#   installed (http://tidy.sf.net)
  +#
  +
  +    for i in `find ./ -name "*.html"`
  +    do
  +    tidy -latin1 -m $i
  +    cp $i $i.bak
  +    sed '4i\
  +<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15">' $i.bak > $i
  +    rm -f $i.bak
  +    done
  +
  +#
  +#   End of HTML Tidy section
  +#
  +
       htmldoc --book --firstpage p1 -v -t ps3 -f blfs.ps nochunks.html
       htmldoc --book --firstpage p1 -v -t pdf13 -f blfs.pdf nochunks.html
       lynx -dump nochunks.html > blfs.txt
  
  
  
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-book' in the subject header of the message



More information about the blfs-book mailing list