On 05/12/2011 02:46 AM, Jan Paul Imhoff wrote:
> Hi
>
> I recently discovered a Crash in the new Lyx 2.0.0 release:
>
> A Lyx document with inline math code containing the "\unitone" command
> (from the units package) will lead to a crash of Lyx when the document
> is exported as LyXHTML.
>
Thanks for the report. Fixed.

Richard

> System: Win7(x64)
>
> Greets
> Paul
>
> Minimal example:
>
> \documentclass[a4paper,ngerman]{book}
> \renewcommand{\rmdefault}{cmr}
> \renewcommand{\sfdefault}{cmss}
> \renewcommand{\ttdefault}{cmtt}
> \usepackage[T1]{fontenc}
> \usepackage[latin9]{inputenc}
> \setcounter{secnumdepth}{1}
> \usepackage{units}
>
> \makeatletter
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
> \pdfpageheight\paperheight
> \pdfpagewidth\paperwidth
>
>
> \makeatother
>
> \usepackage{babel}
> \begin{document}
> $\lambda\:\left[\unit{m}\right]$
> \end{document}

Reply via email to