Maximilien Kintz wrote:
I use Lyx under Windows XP (and I don't know if it matters).
LyXWin works fine for me under WinXP.
When I try to view the DVI preview of a document, the TOC sometimes doesn't appear, I only see "Table of Contents" and there is blank space, but the TOC isn't generated. I also have sometimes this problem with the Export/PDF(pdflatex) function. I have noticed that if I add a section and then delete it and try to view the DVI preview again, it works and the TOC appears correctly.
Very weird, I've never had such problems. It sound that only one LaTeX-run was performed. (The TOC is created in the second or third run). It often helps, if you give folder write-permissions for "Everybody" to LyX's installation- and working folders.
And something else: I am looking for layouts for French documents, do you now where I can find that (for example something to write maths, but in French, with "Théorème" instead of Theorem, and so on).
This will be done by the babel package, which is used by LyX by default (just choose french as document language). But some words aren't supported by babel.
To use french "Théorème" add this to the preamble:
\newtheorem{theo}[section]{Théorème} \renewenvironment{thm}{\begin{theo}}{\end{theo}}
regards Uwe