summaryrefslogtreecommitdiffstats
path: root/Doc/fix_libaux.sed
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1996-11-11 20:49:27 (GMT)
committerFred Drake <fdrake@acm.org>1996-11-11 20:49:27 (GMT)
commitb33021b5723465c8e212d339b8c0fa80dd54d248 (patch)
treee2a6122d8cf854b70f7e0ba53580f9976cf5a4bc /Doc/fix_libaux.sed
parent784c6d36842f9eef9ac2798548a361cc81a6d99f (diff)
downloadcpython-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.
Diffstat (limited to 'Doc/fix_libaux.sed')
-rwxr-xr-xDoc/fix_libaux.sed3
1 files changed, 3 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 {}/__/