[l2h] [EXTERNAL] Re: math expressions being filtered out in toc

Abhinandan Jain Abhi.Jain at jpl.nasa.gov
Sun Mar 29 18:08:43 CEST 2020


Thanks for the suggestion. In the longer term, adding an option to allow
the use of native latex for math in section headings would be very
useful since the section titles will remain consistent with the body.

abhi

On Fri, Mar 27, 2020 at 05:36:35PM +0900, Shigeharu TAKENO wrote:
> shige 03/27 2020
> ----------------
>
> Abhinandan Jain wrote:
> | Some of the section headings however contain math expressions. I am
> | finding that while the table of contents within each chapter are fine,
> | the section entries in the overall, top-level table of contents are
> | missing the math characters.
>
> To workaroud the problem, please use html package provided by
> latex2html and use \latexhtml command:
>
>   \usepackage{html}
>   ...
>   \section{\latexhtml{$\sin x$}{sin x}}
>   % or \section{\latexhtml{$\sin x$}{\HTMLcode{I}{sin x}}}
>   ...
>   \section{\latexhtml{$x^n$}{x\HTMLcode{SUP}{n}}}
>   % or \section{\latexhtml{$x^n$}{\HTMLcode{I}{x\HTMLcode{SUP}{n}}}}
>
> +========================================================+
>  Shigeharu TAKENO     NIigata Institute of Technology
>                        kashiwazaki,Niigata 945-1195 JAPAN
>  shige at iee.niit.ac.jp   TEL(&FAX): +81-257-22-8161
> +========================================================+


More information about the latex2html mailing list.