auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] Error with preview-latex: can't find file `mylatex.ltx'


From: David Kastrup
Subject: Re: [AUCTeX] Error with preview-latex: can't find file `mylatex.ltx'
Date: Sun, 06 Nov 2005 10:13:04 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Yevgeniy Makarov <address@hidden> writes:

> I was trying preview-latex for the first time. When I select "Generate
> previews for document" in the menu, it shows "Type `C-c C-l' to
> display results of compilation" in the minibuffer. When I go to buffer
> with output it has the following content:
>
> --------------------------------------------------
> Running `Preview-LaTeX' on `test' with ``latex -ini "&latex"
> prv_test.ini
> "\nonstopmode\nofiles\PassOptionsToPackage{active,tightpage,auctex}{preview}\AtBeginDocument{\ifx\ifPreview\undefined\RequirePackage[displaymath,floats,graphics,textmath,sections,footnotes]{preview}[2004/11/05]\fi}\input{test.tex}"''
> This is TeX, Version 3.14159 (MiKTeX 2) (INITEX)
> (prv_test.ini
> LaTeX2e <2000/06/01>
> Babel <v3.6Z> and hyphenation patterns for english, french, german,
> ngerman, du
> mylang, nohyphenation, loaded.
> ! I can't find file `mylatex.ltx'.
> l.2 ...IEWdump\dump}\fi\input mylatex.ltx
>                                            \relax
> Please type another input file name:
> --------------------------------------------------
>
> When I select "Generate previews" for the second time, Emacs shows a
> dialog saying that the old process is still running and offering to
> kill it. When I say yes, it generates previews correctly.
>
> Could you tell what is the deal with mylatex.ltx?

It is needed for caching the preamble and is usually part of TeX
distributions.  You should install it on your TeX system, or configure
preamble caching off altogether.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

[Prev in Thread] Current Thread [Next in Thread]