Am Montag, 26. März 2007 21:22 schrieb Maria Gouskova:
> I'm glad someone else asked this question, because this is a very
> important issue for me as well (it would be a great selling point for
> LyX if it supported unicode IPA characters out of the box).
> 
> I started playing around with 1.5 but found that, while LyX correctly
> displays unicode IPA characters and allows the screen font to be set
> to Doulos IPA ̆in Preferences, it does not typeset the file. The
> message is:
> 
> Package inputenc error: Unicode char \utf8: not set up for use with 
LaTeX.

That is a LaTeX limitation we can not avoid. Set the document encoding 
to "Use language default", and you will be able to typeset (might require 
some adjustments, see below).

> I foolishly assumed this is a LaTeX problem and not a LyX problem, and
> gave up. (though I first did some feeble research into xeTeX, which
> led nowhere--I'm sure the problem can be solved, but I was hoping
> xeTeX wouldn't be required in this version of LyX).
> 
> So there are plans to make LyX 1.5x work with ALL IPA unicode characters?

LyX 1.5 already supports some IPA characters, e.g. schwa. Several others 
are missing. Adding support for them is easy: For each IPA character you 
need the UCS4 code point and the corresponding command name of the tipa 
package. This information needs to be entered into the unicodesymbols file 
that can be found in the LyX resources folder. For schwa, this entry looks 
like

0x018f "\\textschwa"              "tipa" "" # LATIN CAPITAL LETTER SCHWA

0x018f is the code point and \textschwa is the tipa command name (the 
backslash is doubled for internal reasons). I already added some tipa 
commands by comparing some unicode charts from http://www.unicode.org with 
the tipa manual, but got bored and did not finish this task.

Your help in completing this list is appreciated, so feel free to send us 
an updated unicodesymbols file :-)


Georg

Reply via email to