Am Dienstag, den 25.09.2018, 14:15 -0500 schrieb Paul Johnson:
> This looks like a bug to me.
>
> Create a new empty article and use the Insert Symbol tool to put in
> some miscellaneous smiley faces and what not. This is the source view
> of the file, which does compile.:
>
> \documentclass[english]{article}
> \usepackage[T1]{fontenc}
> \usepackage[latin9]{inputenc}
> \usepackage{wasysym}
> \usepackage{babel}
> \begin{document}
> \frownie \smiley \blacksmiley \sun{}
> \end{document}
>
> Then I went into Settings -> Language and changed input to utf-8.
>
> That had the effect of automatically replacing \frownie and \smiley
> with unicode symbols in the LaTeX source, like so:
>
> \documentclass[english]{article}
> \usepackage[T1]{fontenc}
> \usepackage[utf8]{inputenc}
> \usepackage{wasysym}
> \usepackage{babel}
> \begin{document}
> ☹☺☻☼
> \end{document}
>
> That does not compile, rather the error messages say:
>
> Package inputenc Error: Unicode char ☹ (U+2639)
> Package inputenc Error: Unicode char ☺ (U+263A)
> Package inputenc Error: Unicode char ☻ (U+263B)
> Package inputenc Error: Unicode char ☼ (U+263C)
>
> My thought was that LyX should not replace \frownie with ☹ unless the
> document would otherwise compile correctly.Which version of LyX is this? The macros are output here also with utf8, and this should be the case at least as of 2.3.0. Jürgen
signature.asc
Description: This is a digitally signed message part
