Thanks for the confirmation. I started a thread on lyx-devel.
Hopefully there's an easy way to have pdfTeX and XeTeX working. Note
that if I remove the following lines from the preamble, export with
XeTeX
works fine (but pdfTeX is broken):
\DeclareInputText{176}{\ifmmode^\circ\else\textdegree\fi}
\DeclareInputText{183}{\ifmmode\cdot\else\textperiodcentered\fi}
Scott
On Wed, Oct 2, 2013 at 2:10 PM, Anders Ekberg <[email protected]> wrote:
> Can confirm on MacOSX 10.8 for LyX 2.0.6 and 2.1b1
> XeTeX-bug/limitation?
> /@nders
>
> From: John Kane <[email protected]>
> Reply-To: John Kane <[email protected]>
> Date: onsdag 2 oktober 2013 14:49
> To: Scott Kostyshak <[email protected]>, "[email protected]"
> <[email protected]>
> Subject: Re: Cannot export Math manual using XeTeX
>
> No idea of why the problem but I can confirm it. I get the same error
> message in 2.0.6 and 2.1 dev with what seems to be the same Ubuntu/TexLive
> setup.
> ________________________________
> From: Scott Kostyshak <[email protected]>
> To: "[email protected]" <[email protected]>
> Sent: Wednesday, October 2, 2013 12:12:30 AM
> Subject: Cannot export Math manual using XeTeX
>
> This is my first venture into XeTeX. The only background information
> I've read is:
> http://wiki.lyx.org/LyX/XeTeX
> Is there anything else I should read?
>
> I'm using Ubuntu 13.04 and TeX Live 2013. With LyX 2.0.x and 2.1git I
> cannot export the Math manual to PDF with XeTeX.
>
> I get:
> ** WARNING ** Failed to convert input string to UTF16...
>
> and the first error in my log is:
>
> ! Undefined control sequence.
>
> l.120 \DeclareInputText
>
> {176}{\ifmmode^\circ\else\textdegree\fi}
>
> Any ideas?
>
> Scott
>
>