summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-04-27 21:27:49 (GMT)
committerFred Drake <fdrake@acm.org>2000-04-27 21:27:49 (GMT)
commit638ae9d0bbc1f1f4132e2f71f52a9db4ebe42779 (patch)
tree2c5d9195ab7ea765995870ba95812de0bd1db824 /Doc
parent8823accd1f3052014989670edee7002d29fba293 (diff)
downloadcpython-638ae9d0bbc1f1f4132e2f71f52a9db4ebe42779.zip
cpython-638ae9d0bbc1f1f4132e2f71f52a9db4ebe42779.tar.gz
cpython-638ae9d0bbc1f1f4132e2f71f52a9db4ebe42779.tar.bz2
Support for the special macros used by the distutils documentation.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/perl/distutils.perl21
1 files changed, 21 insertions, 0 deletions
diff --git a/Doc/perl/distutils.perl b/Doc/perl/distutils.perl
new file mode 100644
index 0000000..ab524bb
--- /dev/null
+++ b/Doc/perl/distutils.perl
@@ -0,0 +1,21 @@
+# LaTeX2HTML support for distutils.sty.
+
+package main;
+
+sub do_cmd_command {
+ return use_wrappers(@_[0], '<code>', '</code>');
+}
+
+sub do_cmd_option {
+ return use_wrappers(@_[0], '<font face="sans-serif">', '</font>');
+}
+
+sub do_cmd_filevar {
+ return use_wrappers(@_[0], '<font face="sans-serif"></i>', '</i></font>');
+}
+
+sub do_cmd_XXX {
+ return use_wrappers(@_[0], '<b>** ', ' **</b>');
+}
+
+1;