diff options
author | Fred Drake <fdrake@acm.org> | 1996-11-11 20:49:27 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1996-11-11 20:49:27 (GMT) |
commit | b33021b5723465c8e212d339b8c0fa80dd54d248 (patch) | |
tree | e2a6122d8cf854b70f7e0ba53580f9976cf5a4bc | |
parent | 784c6d36842f9eef9ac2798548a361cc81a6d99f (diff) | |
download | cpython-b33021b5723465c8e212d339b8c0fa80dd54d248.zip cpython-b33021b5723465c8e212d339b8c0fa80dd54d248.tar.gz cpython-b33021b5723465c8e212d339b8c0fa80dd54d248.tar.bz2 |
(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.
-rwxr-xr-x | Doc/fix_libaux.sed | 3 | ||||
-rwxr-xr-x | Doc/tools/fix_libaux.sed | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/Doc/fix_libaux.sed b/Doc/fix_libaux.sed new file mode 100755 index 0000000..459b7e8 --- /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 0000000..459b7e8 --- /dev/null +++ b/Doc/tools/fix_libaux.sed @@ -0,0 +1,3 @@ +#! /usr/bin/sed -f +s/{\\tt \\hackscore {}\\hackscore {}/\\sectcode{__/ +s/\\hackscore {}\\hackscore {}/__/ |