[l2h] \rightarrow creates mathend000#
Shigeharu TAKENO
shige at iee.niit.ac.jp
Wed Dec 10 09:44:12 CET 2008
shige 12/10 2008
----------------
Christian <maillists at gmx.de> wrote:
| > The article have a patch for latex2html in the last. Please try
| > to apply the patch to your latex2html.
|
| How should such a patch be applied to my latex2html installation?
I can't give you the appropriate advice because I don't know
about your environment. Most simple method is to edit your perl
script "latex2html" by your text editor directly.
Please modify lines 16454, 16455
$math_verbatim_rx = "$verbatim_mark#math(\\d+)#";
$mathend_verbatim_rx = "$verbatim_mark#mathend([^#]*)#";
to
$math_verbatim_rx = "$verbatim_mark#?math(\\d+)#";
$mathend_verbatim_rx = "$verbatim_mark#?mathend([^#]*)#";
(add '?' to the first '#' of these lines).
The patch file (unified diff format) means:
--- latex2html.old Wed Feb 25 18:22:00 2004 <== old file (-)
+++ latex2html Wed Feb 25 18:22:54 2004 <== new file (+)
@@ -16451,8 +16451,8 @@ <== (-)line number,lines (+)line number,lines
# $enspair = "\ ... <== common part (starting with ' ')
<== common part (starting with ' ')
# Matches math ... <== common part (starting with ' ')
- $math_verbatim_ ... <== old file part (starting with '-')
- $mathend_verbat ... <== old file part (starting with '-')
+ $math_verbatim_ ... <== new file part (starting with '+')
+ $mathend_verbat ... <== new file part (starting with '+')
.....
If you will reinstall the latex2html, you must modify the file
"latex2html.pin" instead of "latex2html" before the installation
because "latex2html.pin" will be installed your computer as the
name "latex2html".
+========================================================+
Shigeharu TAKENO NIigata Institute of Technology
kashiwazaki,Niigata 945-1195 JAPAN
shige at iee.niit.ac.jp TEL(&FAX): +81-257-22-8161
+========================================================+
More information about the latex2html
mailing list