Hans Juergen Ohlbach wrote:

>$\mathcal ABC$ and $\cal ABC$
>change the font in LaTeX . But they are treated like macros by
>latex2html.
>That means $\mathcal ABC$ is treated like $\mathcal{A}BC$,

Sure, because that is what it is in LaTeX.
There is no difference, except that LaTeX prefers you to put in the
brackets, as a matter of style to unambiguaously state the intention.

>which is not what is intended.
Wrong.  Check your version of LaTeX if these are not producing
equivalent .dvi output.


LaTeX2HTML will recognise that the two are equivalent,
but still produces a  ``missing brackets'' warning.

 \cal  is *not* a LaTeX command.
(It's not in Lamport's blue book, nor in the LaTeX Companion.)

It is a TeX command, that happens to work when TeX is the engine for
translation of LaTeX source. There is no a-priori reason why it
should work in LaTeX2HTML, which is not based upon TeX as its main
translation engine.


>which is not what is intended.
>
>I cannot check all the files and put braces around the arguments.
>Is there another way around this?

Sorry.
You could write a simple Perl script to do it,
or an emacs find/replace using a regular expression.

Hope this helps,

        Ross Moore



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ross Moore                             email: [EMAIL PROTECTED]
Mathematics Department                 phone:      +612 9850 8955
Macquarie University                     fax:      +612 9850 8114
Sydney, NSW 2109                      office:             E7A-419
Australia              WWW: http://www-math.mpce.mq.edu.au/~ross/

                ***************************

for the best in (La)TeX-nical typesetting and Web page production
join the  TeX Users Group (TUG) --- browse at  http://www.tug.org

                 <[EMAIL PROTECTED]>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Reply via email to