On 1/4/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
How does one approach the problem of importing TeX and finding that it will not
"compile" into dvi ?
The first thing I would do would be to see if I can compile the file
by hand. If you run LaTeX on the original .tex file and get similar
problems. Try running
latex maintexfile.tex
pdflatex matintexfile.tex
pdfelatex matintexfile.tex
and see which of the three commands give you errors.
There are also some generic ways of fixing LyX dvi compile problems:
* Deleting text until it compiles... this will at least give you an
idea what text is causing the problem.
* Exporting LyX to TeX and inspecting the file to see what looks wrong.
If you don't want to edit the file TeX file in LyX, just include it
into a larger document LyX, you could try removing the
\begin{document} (and all text above this), removing the
\end{document}. Then you can use Insert->File->Child Document on that
TeX file. I don't think this will help you here though.
I have a document that was done in TeX/LaTeX by a person who is no longer
working here. I have no idea what kind of setup was used other that a log file
that mentions pdfeTeX.
I google for pdfeTeX gave me:
http://www.die.net/doc/linux/man/man1/pdfetex.1.html
It seems that you may have to use pdfetex instead of pdftex. I am not
exactly sure how to do this, but you should be able to fiddle with
Tools->Preferences->Converters/FileFormats to achieve this.
I start up LyX, import it and then try View->DVI and I get errors like
Missing $ inserted
Missing \endcsname inserted
Another trick is to google for "Missing \endcsname inserted", however
using pdfetex may be a better solution here.
--
John C. McCabe-Dansted
PhD Student
University of Western Australia