On 2016-11-04, Michael Berger wrote:
> On 11/02/2016 02:16 PM, Michael Berger wrote:
>> On 11/02/2016 10:02 AM, Guenter Milde wrote:

> re Unicode(utf8) prevents inserting certain symbols in body text.

(Inserting (in the LyX GUI) is not a problem, the error occures when you export
with 8-bit LaTeX.)

So, the subject of this thread is misleading, there is nothing wrong with
Insert>Special Character>Symbols. (You can export to HTML or with Xe/LuaTeX
and non-TeX fonts without problems.)

> I found a way to work around the problem:
> - Insert > Special character > Symbols > e.g. 'Mathematical Operator'
> - select the symbol you want to use.
> - select that very symbol and click on the  'Insert math' icon of the 
> tool bar.
> - bingo

This works, because non-ASCII characters are always replaced in mathematical
mode by LyX (unless you use Xe/LuaTeX with "uniode-math".

For Mathematical Operators, wrapping in a math-inset is a correct
workaround/solution. For Dingbats or other text symbols this would be
suboptimal (works but not "clean" because math-mode is for mathematical
content).

When using a math-inset, you can also use the LaTeX command instead of
searching the symbol in "Special Character". (You find the name e.g. in
the Source Preview Pane). LyX will show the symbols (for most supported
mathematical symbols, at least) in the GUI and "do the right thing" on LaTeX
export.

Günter

Reply via email to