[l2h] Ampersand not translating

Ross Moore ross at ics.mq.edu.au
Sat Mar 13 06:32:52 CET 2004


Hi Bob,

On 13/03/2004, at 1:39 PM, Bob van der Poel wrote:

>
> I'm having a heck of good time converting an existing latex document to
> and electronic version with latex2html. I'm not sure if this is the 
> BEST
> tool, but for the most part it is working fine.

Glad to hear it.

>
> The big problem I'm having is that the symbol \& is being converted to
> the text "SMPamp". I'm suspecting a bug in the program, but I may well
> have missed something in the docs. Suggestions?

It is part of the translation process to make substitutions:

    \&  -->  ;SPMamp;

then later to substitute

    ;SPMamp; -->  &

This 2-step process is necessary since & is a special character,
both for TeX and also for HTML.

Your description above does not mention the preceding ';'
nor the trailing one. If either has been separated from the SPMamp
then that would explain why the 2nd substitution does not occur.

However, to completely diagnose what is going wrong for you,
I'll need to see an example that fails to work.

Please post one to this list, else send a URL for some
documents where the error occurs, as well as the URL for
the LaTeX source and any packages and images that it needs.


>
> Version: This is LaTeX2HTML Version 2002-2-1 (1.71)
> Platform: Linux.


Hope this helps,

	Ross Moore


>
> Thanks.
>
> -- 
> Bob van der Poel ** Wynndel, British Columbia, CANADA **
> EMAIL: bvdpoel at kootenay.com
> WWW:   http://www.kootenay.com/~bvdpoel
>
>
> _______________________________________________
> latex2html mailing list
> latex2html at tug.org
> http://tug.org/mailman/listinfo/latex2html
>
------------------------------------------------------------------------
Ross Moore                                         ross at maths.mq.edu.au
Mathematics Department                             office: E7A-419
Macquarie University                               tel: +61 +2 9850 8955
Sydney, Australia                                  fax: +61 +2 9850 8114
------------------------------------------------------------------------


------------------------------------------------------------------------
Ross Moore                                         ross at maths.mq.edu.au
Mathematics Department                             office: E7A-419
Macquarie University                               tel: +61 +2 9850 8955
Sydney, Australia                                  fax: +61 +2 9850 8114
------------------------------------------------------------------------



More information about the latex2html mailing list