[l2h] \rightarrow creates mathend000#

Christian maillists at gmx.de
Wed Dec 10 17:21:52 CET 2008


Am 10.12.2008 um 09:44 schrieb Shigeharu TAKENO:

> 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".

Thanks a lot for your extensive explanation. But within my latex2html  
dir there is no "latex2html" file.
For explanation, I have the following dir:
usr > local > share > lib > latex2html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: l2h.png
Type: image/png
Size: 17564 bytes
Desc: not available
Url : http://tug.org/pipermail/latex2html/attachments/20081210/0ff1a6bc/attachment-0001.png 
-------------- next part --------------



Is there a different place of latex2html, where I have to search for?

Thanks
Chris






More information about the latex2html mailing list