Dan Young wrote:

>The following code illustrates a bug in 98.1p1.  I don't know if it
>has any more far-reaching implications.  In this case it is highly
>constrained.
>
>   \documentstyle{report}
>   \begin{document}
>
>   \def\bno{\bf{no}}
>   \newcommand{\lw}[1]{\lowercase{#1}}
>
>   \section{bug}
>
>   \lw{\bno}  % should produce boldface literal "no"
>
>   \end{document}

Your definition of \bno is a little sloppy.
It leaves boldface active for whatever follows the \bno
which may not be what you really want.

If you use  \def\bno{\textbf{no}}  then there are no problems at all.


OK, that doesn't explain the bug...

...but it may explain why it hasn't been seen before.  ;-)



The error is actually a case of incorrect order of expansion
 --- it easily fixed.

Within the latex2html script, or the .config , or an .latex2html-init
file you need to ensure that  \uppercase  and \lowercase
are *wrapped* in the  {tex2html_deferred}  environment.

Do this by adding the lines:

 lowercase # {}
 uppercase # {}

into the list of commands following:

&process_commands_wrap_deferred (<<_RAW_ARG_DEFERRED_CMDS_);


and ending with

_RAW_ARG_DEFERRED_CMDS_


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

Ian McPhedran wrote:

> I'm not sure if this is even related to Dan's problem, but I have a
> problem with boldfacing not properly translating in 98.1p1 as well. When I

No, Ian's problem is not related...

..except that it would also not occur if he used
  \textbf{....} in the title, rather than simply \bf .

A similar problem occurs with undelimited font-change macros in \caption s.
The current version of latex2html at the developer's repository has this
problem fixed with captions ...

...it's a 2-liner, so by tomorrow it will be fixed for sectioning commands
as well.

(Ian, if you need the fix sooner, then email me directly.)



Thanks to Dan and Ian for reporting these minor errors.

If anyone else has noticed similar problems, please report them ASAP.
so that there can shortly be a (hopefully) bug-free update:  v98.1p2



All the best,

        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