[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] Question on texmf.cnf ...
From: |
Mosè Giordano |
Subject: |
Re: [AUCTeX] Question on texmf.cnf ... |
Date: |
Mon, 15 Sep 2014 20:18:02 +0200 |
Hi Dieter,
2014-09-15 20:04 GMT+02:00 Dr. Ing. Dieter Jurzitza
<address@hidden>:
> Dear listmembers,
> I have been using auctex for many years now, however, this time I stumbled
> across an issue you (might ...) be able to give me an answer to.
>
> I suffered from error messages like
>
> "Error after last TeX File closed"
>
> no usual information about the actual error. So, after some googling, I
> modified texmf.cnf from
>
> file_line_error_style = f
> to
> file_line_error_style = t
>
> and the problem was gone. But, what is the impact of this measure, and, even
> more, does changing this for a well functioning auctex in turn prevents other
> programs from doing what I would expect them to do?
I don't think this will affect other programs, but if you don't want
to edit `texmf.cfn' you can call latex with file line error style only
within AUCTeX by adding the following code to your init file:
(setq LaTeX-command-style '(("" "%(PDF)%(latex) -file-line-error
%S%(PDFout)")))
Sorry if the previous line will be hard-wrapped. In other words, you
have to add "-file-line-error" after the "%(latex)" expander. Note
that the default value of LaTeX-command-style may change in future
versions of AUCTeX. See also
http://tex.stackexchange.com/a/124259/31416
Bye,
Mosè