Go to page:

Search:   Help

Navigation

Groups

LyX documentation

Edit

Shared groups

Links

FAQ /

Running

Categories: FAQ
<< Using | Page list | Windows >>

Questions Related to Running LyX

§ LyX does not display math fonts/greek letters properly

See Qt.

§ How do I convert LyX files to LaTeX from the command line?

File export was vastly improved in version 1.1.6. Simply say

  lyx --export latex <yourfile>.lyx

and that is all you need to do.

If you have an older version of LyX, you can use the same syntax if you are running X, because it will cause LyX windows to pop up onto your screen. If you have the Xvfb command available, you can resort to a deeper level of subterfuge (under bash):

  (Xvfb :1 -once -terminate &); rm <file>.tex; lyx -display :1 --export latex <file>.lyx

Under csh/tcsh it is simply:

  Xvfb :1 -once -terminate &; rm <file>.tex; lyx -display :1 --export latex <file>.lyx

This should work anywhere, whether or not X is actually running.

§The menu displays strange characters like ü or ö. What's that?

Problem: You are running LyX (up to 1.4.x) on system which uses the unicode encoding. However, LyX cannot deal with this new encoding internally (this will change with version 1.5.0). As of LyX 1.4.0, LyX automatically switches to the appropriate encoding (except for the spellchecker, see below). A prerequisite for this to work, however, is that you have installed those old encodings (like latin1, for instance), besides unicode. If you haven't, you get the above error.

Solution: Install the appropriate encoding. The procedure depends on which distribution you are using.

  • For debian/(k)ubuntu, follow the recipe given here:
  • <fill in ...>

§The spellchecker doesn't recognize accented characters or umlauts

Problem: See above. Additionally, the automatic switch to the appropriate encoding does not work for the spellchecker.

Solution: Start LyX from the command line with the correct encoding. For German, this would be

de_DE lyx

(Category: FAQ)

<< Using | FAQ.PageList | Windows >>

Edit - History - Print - Recent Changes - All Recent Changes - Search
Page last modified on 2009-06-09 02:45 CEST