On Fri, Feb 14, 2014 at 12:33 PM, Joe Lovick <j...@anatexis.com> wrote:
> Hi,
>
>    So i have run into the issue that it would be good to use a unicode
> character within an ERT, but this causes a failure, one can type the
> character just fine in lyx, but it isn't converted during compilation.
>
>    a minimal example is here http://goo.gl/d1gL6D
>
>    what method should i be using to get unicode symbols into the ERT?
>
>    I am using ERT becuase i need to use the Expex linguistics macros... it
> strikes me that maybe i should  create a module that would present the
> functionality of the ERT code to Lyx, would this solve the issue of entering
> unicode within these blocks?
>
>    is their documentation on writing modules in lyx that i can use as a
> reference? i had a quick look but could find any.
>
>  Cheers
>         Joe
>

I don't know what Expex is or what you are trying to do exactly, and
your example file didn't clarify it for me, because you can just use
the symbol ə outside ERT and typeset the result without problems. But
one way around the problem in LyX specifically is to enter your
unicode symbols in LyX proper, and then surround them on either side
by ERT. It would look like this, with the parts in parentheses being
in ERT and the parts outside parentheses being in straight LyX text--a
transcription of "supper" with a syllabic ɹ:

sʌp(\textsyllabic{)ɹ(})

Just declare \usepackage{tipa} in the preamble and everything should work.

Reply via email to