LyXSpecial characters in linguistic glosses

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
nikopartanen
Posts: 3
Joined: Mon Sep 15, 2014 3:39 pm

Special characters in linguistic glosses

Post by nikopartanen »

I was testing LyX earlier but this problem made me to give up. However, I thought to give it another try as it worked so well otherwise. I'm very new in both LaTeX and LyX so I apologise if I've missed something very obvious.

I saw there is some earlier discussion about interlinear glosses. If I understand correctly, that works in LyX by inserting TeX code like here:

http://www.latex-community.org/forum/vi ... ses#p84428

However, as I don't work with English I need to use non-ascii characters all the time, ie:

"Тайӧ зэв колана пример."

Or:

"A sentence with ǯ or č or ś or something else that is in every normal word."

Now LyX doesn't allow me to enter any special characters inside that box where I should write the sentences and glosses. Is this normal?

Thank you for help!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

scottkosty
Site Moderator
Posts: 542
Joined: Sat Sep 01, 2012 6:38 am

Re: Special characters in linguistic glosses

Post by scottkosty »

I think you've come across
http://www.lyx.org/trac/ticket/9258

Can you confirm?
nikopartanen
Posts: 3
Joined: Mon Sep 15, 2014 3:39 pm

Re: Special characters in linguistic glosses

Post by nikopartanen »

Yes, sounds very much like that. I can copy-paste into the box, and indeed, it comes out nicely in the PDF. However, to copy-paste everything all the time is not really a solution I think.

The character set that works is indeed latin1 and not ASCII, as things like öäå come out normally.
scottkosty
Site Moderator
Posts: 542
Joined: Sat Sep 01, 2012 6:38 am

Re: Special characters in linguistic glosses

Post by scottkosty »

Well if you happen to be using Ubuntu I can tell you how to easily compile LyX for yourself without the commit that apparently introduced this new behavior.
nikopartanen
Posts: 3
Joined: Mon Sep 15, 2014 3:39 pm

Re: Special characters in linguistic glosses

Post by nikopartanen »

I'm using Mac OS X. Compiling it from source sounds a bit extreme as a solution, but I can consider trying that too.
scottkosty
Site Moderator
Posts: 542
Joined: Sat Sep 01, 2012 6:38 am

Re: Special characters in linguistic glosses

Post by scottkosty »

Indeed. Also on Mac it can be pretty tricky. I hope you're able to find an easier solution.
Post Reply