From f07bb53970ee2ecc53f81a206a3d3a67ef665e4a Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 9 Jan 2006 00:56:57 +0000 Subject: doc 6 git-svn-id: svn://tug.org/texlive/trunk@85 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/generic/tex4ht/mn25.html | 62 ++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 Master/texmf-dist/doc/generic/tex4ht/mn25.html (limited to 'Master/texmf-dist/doc/generic/tex4ht/mn25.html') diff --git a/Master/texmf-dist/doc/generic/tex4ht/mn25.html b/Master/texmf-dist/doc/generic/tex4ht/mn25.html new file mode 100644 index 00000000000..5605055b980 --- /dev/null +++ b/Master/texmf-dist/doc/generic/tex4ht/mn25.html @@ -0,0 +1,62 @@ + + + + +validation + + + + + + + + + Try removing the space before the ‘X’ in tex4ht.env and using the following NSGMLS make file adjusted to +your system. +
all:    ${ext}  +
  +
html:  +
        rm -f temp.html  +
        rm -f fooo  +
        ###################### ${name}.${ext}  +
        sed ${sedDTD}  < ${name}.${ext}   > temp.html  +
        ${nsgmls} -e 's/${dtdx}/nsgmls  ${dclx} temp.html/' \  +
                  -e 's/${dtd4}/nsgmls  ${dcl}  temp.html/' \  +
                  -e 's/${dtd32}/nsgmls ${dcl}  temp.html/'     > fooo  +
        chmod 700 fooo  +
        fooo  name=${name}  ext=${ext}           ########  ${name}.${ext}  +
        #====================== ${name}.${ext}  +
  +
tmp:  +
  +
css:  +
  +
#####################################################################  +
  +
nsgmls = grep '<!DOCTYPE' ${name}.${ext} | sed  +
  +
dcl =  -s ${path}\/html.dcl  +
dclx =  -wxml -wall -c ${path}\/catalog -s ${path}\/xml.dcl  +
  +
dtdx = <\!DOCTYPE .* "-\/\/W3C\/\/DTD XHTML 1.0 Transitional\/\/EN"  +
dtd4 = <\!DOCTYPE .* "-\/\/W3C\/\/DTD HTML 4.0 Transitional\/\/EN"  +
dtd32 = <\!DOCTYPE html PUBLIC "-\/\/W3C\/\/DTD HTML 3.2\/\/EN"  +
  +
sedDTD= -e 's/PUBLIC .*DTD XHTML.*"/SYSTEM    "${path}\/xhtml.dtd">/g'  \  +
        -e 's/PUBLIC .*DTD MATHML.*"/SYSTEM   "${path}\/mathml.dtd">/g' \  +
        -e 's/PUBLIC .*DTD HTML 3.2.*"/SYSTEM "${path}\/html32.dtd">/g' \  +
        -e 's/PUBLIC .*DTD HTML 4.0.*"/SYSTEM "${path}\/html4.dtd">/g'  \  +
        -e 's/"http:\/\/www.w3.org\/TR\/.*\/.*dtd">//'                  \  + +
        -e 's/"http:..www.w3.org.pub.WWW.MarkUp.Wilbur.HTML32.dtd">//'  +
  +
path =  .......  +
  +
#####################################################################  +
+ + + -- cgit v1.2.3