From: Fred Drake Date: Mon, 11 Nov 1996 20:49:27 +0000 (+0000) Subject: (fix_libaux.sed): Hackish little sed script to modify lib.aux to get section X-Git-Tag: v1.5a1~939 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b33021b5723465c8e212d339b8c0fa80dd54d248;p=thirdparty%2FPython%2Fcpython.git (fix_libaux.sed): Hackish little sed script to modify lib.aux to get section numbers right for latex2html for section titles which include "\sectcode{__.*__}" in the name. Perhaps less general than it should be, but sufficient. --- diff --git a/Doc/fix_libaux.sed b/Doc/fix_libaux.sed new file mode 100755 index 000000000000..459b7e8d3658 --- /dev/null +++ b/Doc/fix_libaux.sed @@ -0,0 +1,3 @@ +#! /usr/bin/sed -f +s/{\\tt \\hackscore {}\\hackscore {}/\\sectcode{__/ +s/\\hackscore {}\\hackscore {}/__/ diff --git a/Doc/tools/fix_libaux.sed b/Doc/tools/fix_libaux.sed new file mode 100755 index 000000000000..459b7e8d3658 --- /dev/null +++ b/Doc/tools/fix_libaux.sed @@ -0,0 +1,3 @@ +#! /usr/bin/sed -f +s/{\\tt \\hackscore {}\\hackscore {}/\\sectcode{__/ +s/\\hackscore {}\\hackscore {}/__/