[l2h] verbatim does not work when having a math equation nearby in a table with '+' in it.

Nasser M. Abbasi nma at 12000.org
Mon Feb 13 05:41:42 CET 2012

On 2/12/2012 10:08 PM, Ross Moore wrote:

>>>
>>> \verb|test|
>>>
>>
>> This does NOT work. I just tried it.
>
> Very strange.
>

Yes. I think it is been like this for me for sometime
now. May be someone on this mailing list who has l2h
and 2008 version can try this?

>
> I'm using version 1.67 (2002)  installed many years ago
> on a Mac, via  fink .

May be I should downgrade my l2h then :)

> I've not tested later versions for Linux or Unix; but with
> such a simple document there should not be any significant difference.
> That there seems to be, for you, puzzles me greatly.

> which generates significantly more screen messages.
>

Just did. now this contains the verbose output

http://12000.org/my_notes/l2hwin/some_issues_latex2html_2008/

Will now look at what you wrote down. For me l2h and perl is
like magic. I really do not know perl at all and find
this whole setup very complicated, that is why we are glad
we have experts like you around who understand this magic.

Will now look at this more and see what I find.

thanks,
--Nasser
> In particular, you should have a block such as:
>
>>>>   *** End-of-partition ***\documentclass[12pt]<<1>>article<<1>>
>>>> \usepackage<<2>>html<<2>>
>>>> \usepackage<<3>>verbatim<<3>>
>>>> \begin<<4>>document<<4>>
>>>> <tex2html_verb_mark>1<tex2html_verb_mark>
>>>> \begin<<5>>tabular<<5>><<6>>|l |<<6>>
>>>> \begin<<9>>tex2html_wrap_inline<<9>>$f(x) = x^3 + d$\end<<10>>tex2html_wrap_inline<<10>>\\<tex2html_comment_mark>2
>>>> \end<<7>>tabular<<7>>
>>>> \end<<8>>document<<8>>
>
>
> notice in particular:
>
>     <tex2html_verb_mark>1<tex2html_verb_mark>
>
> which has replaced   \verb|test|
> or similar with the  {verbatim}  environment.
>
> and<tex2html_comment_mark>2    replacing the comment.
>
> At a later stage of processing, the verbatim stuff
> should get replaced inside<code>...</code>   tags,
> using the string stored in a file:
>
>     .../verb_with_math_issue/TMP/verbatim
>
> When this happens there is a message:
>
>    *** replace markers ***
>
> but no further processing messages are written.
>
>
> To see what is happening here for you, find the appropriate
> place in the  latex2html  script, and put in more print commands,
> to see what is happening in detail.
>
>   sub replace_markers
>
> at line  roughly  7620  and
>
>   sub replace_sensitive_markers   at  ~7670
>
> which calls
>
>   sub replace_verbatim_marks    at  ~8550
>
> and/or
>
>   sub replace_verb_marks     at ~8590
>
>
> Trace what is actually happening by putting in extra lines like
>
>      print STDOUT \$_;
>
> at strategic places.
>
>
>>
>> Please give couple of 2 hrs will be done and will give
>>
>>
>> --Nasser
>
>
> Hope this helps,
>
> 	Ross
>
> ------------------------------------------------------------------------
> Ross Moore                                       ross.moore at mq.edu.au
> Mathematics Department                           office: E7A-419
> Macquarie University                             tel: +61 (0)2 9850 8955
> Sydney, Australia  2109                          fax: +61 (0)2 9850 8114
> ------------------------------------------------------------------------
>
>
>
>