Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fc8f6f3

Browse files
committed
(Makefile): The sed hack is needed for all 3 manuals processed by latex2html;
the comma must represent a bug in the modified process_command() function, but I haven't found it yet. This will work for now.
1 parent f1e6707 commit fc8f6f3

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

Doc/Makefile

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,21 +161,28 @@ qua.ps: qua.dvi
161161
# source at the appropriate place. Change the definition of
162162
# $ICONSERVER in .latex2html-init to point to a different location.
163163

164+
# The sed hack rips out a superfluous comma which I haven't found the source
165+
# of; the prominent location makes it worth the extra step. This affects the
166+
# title pages!
167+
164168
l2h: l2htut l2hext l2hlib
165169

166170
l2htut: tut.dvi myformat.perl
167171
$(L2H) $(L2HARGS) tut.tex
168172
@rm -rf python-tut
173+
sed 's/^<P CLASS=ABSTRACT>,/<P CLASS=ABSTRACT>/' \
174+
<tut/tut.html >tut/xxx
175+
mv tut/xxx tut/tut.html
169176
mv tut python-tut
170177

171178
l2hext: ext.dvi myformat.perl
172179
$(L2H) $(L2HARGS) ext.tex
173180
@rm -rf python-ext
181+
sed 's/^<P CLASS=ABSTRACT>,/<P CLASS=ABSTRACT>/' \
182+
<ext/ext.html >ext/xxx
183+
mv ext/xxx ext/ext.html
174184
mv ext python-ext
175185

176-
# The sed hack rips out a superfluous comma which I haven't found the source
177-
# of; the prominent location makes it worth the extra step. This affects the
178-
# title page!
179186
l2hlib: lib.dvi myformat.perl
180187
./fix_libaux.sed <lib.aux >@lib.aux
181188
mv @lib.aux lib.aux

0 commit comments

Comments
 (0)