[Python-checkins] r45868 - python/trunk/Doc/perl/l2hinit.perl
fred.drake
python-checkins at python.org
Wed May 3 03:48:24 CEST 2006
Author: fred.drake
Date: Wed May 3 03:48:24 2006
New Revision: 45868
Modified:
python/trunk/Doc/perl/l2hinit.perl
Log:
tell LaTeX2HTML to:
- use UTF-8 output
- not mess with the >>> prompt!
Modified: python/trunk/Doc/perl/l2hinit.perl
==============================================================================
--- python/trunk/Doc/perl/l2hinit.perl (original)
+++ python/trunk/Doc/perl/l2hinit.perl Wed May 3 03:48:24 2006
@@ -4,7 +4,14 @@
use L2hos;
-$HTML_VERSION = 4.0;
+$HTML_VERSION = 4.01;
+$LOWER_CASE_TAGS = 1;
+$NO_FRENCH_QUOTES = 1;
+
+# Force Unicode support to be loaded; request UTF-8 output.
+do_require_extension('unicode');
+do_require_extension('utf8');
+$HTML_OPTIONS = 'utf8';
$MAX_LINK_DEPTH = 2;
$ADDRESS = '';
@@ -106,6 +113,13 @@
$ENV{'TEXINPUTS'} = undef;
}
print "\nSetting \$TEXINPUTS to $TEXINPUTS\n";
+
+ # Not sure why we need to deal with this both here and at the top,
+ # but this is needed to actually make it work.
+ do_require_extension('utf8');
+ $charset = $utf8_str;
+ $CHARSET = $utf8_str;
+ $USE_UTF = 1;
}
More information about the Python-checkins
mailing list