On 15 February 2014 01:33, Joe Lovick <[email protected]> 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.
This is actually a LaTeX issue. I found myself in a similar situation not too long ago, but I was using pandoc. As you can probably find out for yourself, 'latex unicode' or 'pandoc unicode' (still some relevant info there) will lead you to: http://tex.stackexchange.com/questions/34604/entering-unicode-characters-in-latex http://stackoverflow.com/questions/18178084/pandoc-and-foreign-characters I could not find any alternative to using XeTeX (xelatex). For other times, utf8x has served me well. I only always hope I never get into any unicode trouble. -- GPG/PGP ID: C0711BF1
