LyXProblems with Non-TeX Fonts

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
Saturnday
Posts: 3
Joined: Sat Nov 05, 2011 6:40 pm

Problems with Non-TeX Fonts

Post by Saturnday »

Found an annoying glitch and have no idea on how to solve the problem.

I create an empty document, type "Hello world", press Ctrl+R, and the document compiles ok. But If I go Document->Settings->Fonts and just check "Use Non-Tex fonts (via XeTeX/LuaTeX)", the file refuses to compile, LyX giges out strange things like:
Undefined control sequence,
LaTeX error: Missing \begin{document}
etc.

Funny, but LyX 2.0.2 has the same glitch, but it fails to compile saying some *.dvi file does not exist in Temp folder.
And what is more funny, I have LyX 2.0.0 on my laptop and it has no such problems with Non-TeX fonts at all.

What could it be?

Using LyX 2.0.1 (also tried 2.0.2) with MikTeX 2.9.

A side question: can I somehow export settings from LyX on my laptop and import them to another PC?

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

Stefan Kottwitz
Site Admin
Posts: 10330
Joined: Mon Mar 10, 2008 9:44 pm

Problems with Non-TeX Fonts

Post by Stefan Kottwitz »

Hi,

in such cases it would be good if you would post complete error messages. Here's just information missing, for example to which control sequence (command) the error "Undefined control sequence" refers to. You could post the .log file as attachment to the forum post, or a Infominimal working example, even a .lyx file could be attached.

The missing information may be the reason why you did not get an answer yet.
Next time perhaps tell more and provide code and error messages.

Stefan
LaTeX.org admin
Saturnday
Posts: 3
Joined: Sat Nov 05, 2011 6:40 pm

Re: Problems with Non-TeX Fonts

Post by Saturnday »

Hi Stefan,
You know, I have to apologize - somehow it started working again.
And yes, next time I will keep in mind I have to attach the lyx file and error message(s).

Thanks!
Post Reply