On 2012-04-28, Jürgen Spitzmüller wrote:
> 2012/4/26 Sebastian Stein <gebu...@gmx.net>:
>> Hi.

>> I tried to insert different symbols in an standard environment (not
>> math mode) within KOMA article using utf8. While the handbook claims
>> otherwise it doesn't work.

>> Error messages:
>> Package inputenc Error: Unicode char \u8:⇓ not set up for use with LaTeX.
>> Package inputenc Error: Unicode char \u8:↠ not set up for use with LaTeX.

>> Any ideas or workarounds?

> The problem here is that inputenc's utf8 does not cover the whole
> range of all existing unicode glyphs (yet and probably will never).

> Yours obviously aren't covered.

> * Select "Use non-TeX fonts" in Document > Fonts and try if some font
> covers these symbols (I tried; the symbols seem to be rather exotic.
> Here, only Arial Unicode MS had them, but you might have more
> comprehensive fonts)

> * Look if you can find the symbols here:
> http://mirror.ctan.org/info/symbols/comprehensive/symbols-a4.pdf.
> Depending on how they are provided, if at all, we can add some support
> to LyX.

* Try if there is a definition for the respective symbols in LyX's
  "unicodesymbols" file (residing in the "LyXdir" which you can find out
  under Help>About LyX). 

  - If yes, see if there is a "force" flag. If not, try setting the
    "LaTeX encoding" to ASCII instead of utf8 - then LyX will translate
    the Unicodesymbols to a LaTeX command.

    BTW: despite LyX telling you otherwise, setting the "LaTeX encoding" 
    to utf8 almost never helps: LyX Unicode->TeX conversion is more 
    comprehensive than the standard inputenc utf8 mappings.

  - If no, you can customize the "unicodesymbols" file. Copy it to your
    "LyX userdir" (~/.lyx on Unix) and add the missing definitions
    (if you found some in
* If you keep the "LaTeX encoding" at utf8, you can also add the missing
  definitions in the LaTeX preamble similar to e.g.
  \DeclareUnicodeCharacter{00A8}{\textasciidieresis}      % ¨


Reply via email to