Am 10.12.2008 um 09:44 schrieb Shigeharu TAKENO:

shige 12/10 2008
----------------

Christian <[EMAIL PROTECTED]> 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

<<inline: l2h.png>>




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

Thanks
Chris




_______________________________________________
latex2html mailing list
[email protected]
http://tug.org/mailman/listinfo/latex2html

Reply via email to