[Python-checkins] CVS: python/dist/src/Doc/tools mkhowto,1.10,1.11 mkhtml.sh,1.12,1.13
Fred L. Drake
python-dev@python.org
Mon, 31 Jul 2000 10:47:52 -0700
Update of /cvsroot/python/python/dist/src/Doc/tools
In directory slayer.i.sourceforge.net:/tmp/cvs-serv7610/tools
Modified Files:
mkhowto mkhtml.sh
Log Message:
Small changes to reflect changes in LaTeX2HTML support for newer versions
of LaTeX2HTML.
Index: mkhowto
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/tools/mkhowto,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** mkhowto 2000/07/24 23:03:32 1.10
--- mkhowto 2000/07/31 17:47:49 1.11
***************
*** 362,372 ****
def write_l2h_aux_init_file(self):
fp = open(self.l2h_aux_init_file, "w")
fp.write(open(L2H_INIT_FILE).read())
fp.write("\n"
"# auxillary init file for latex2html\n"
"# generated by mkhowto\n"
- "push (@INC, '%s');\n"
"$NO_AUTO_LINK = 1;\n"
- % os.path.dirname(L2H_INIT_FILE)
)
options = self.options
--- 362,375 ----
def write_l2h_aux_init_file(self):
fp = open(self.l2h_aux_init_file, "w")
+ d = string_to_perl(os.path.dirname(L2H_INIT_FILE))
+ fp.write("package main;\n"
+ "push (@INC, '%s');\n"
+ "$mydir = '%s';\n"
+ % (d, d))
fp.write(open(L2H_INIT_FILE).read())
fp.write("\n"
"# auxillary init file for latex2html\n"
"# generated by mkhowto\n"
"$NO_AUTO_LINK = 1;\n"
)
options = self.options
Index: mkhtml.sh
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/tools/mkhtml.sh,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** mkhtml.sh 2000/04/03 04:19:14 1.12
--- mkhtml.sh 2000/07/31 17:47:49 1.13
***************
*** 32,36 ****
fi
! echo "latex2html -init_file $srcdir/perl/l2hinit.perl -dir $part" \
"${1:+$@} $srcdir/$part/$part.tex"
latex2html \
--- 32,38 ----
fi
! echo "latex2html -no_auto_link" \
! "-up_url '../index.html' -up_title 'Documentation Index'" \
! "-init_file $srcdir/perl/l2hinit.perl -dir $part" \
"${1:+$@} $srcdir/$part/$part.tex"
latex2html \