auctex
[Top][All Lists]
Advanced

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

What is the difference between %s and %t in TeX-expand-list (was [AUCTeX


From: Mirko Vukovic
Subject: What is the difference between %s and %t in TeX-expand-list (was [AUCTeX] Change the TeX run command)
Date: Fri, 24 Sep 2010 17:31:53 -0400

On Thu, Aug 12, 2010 at 1:09 PM, Ralf Angeli <address@hidden> wrote:
> * Christophe Jorssen (2010-08-12) writes:
>
>> When I C-c C-c it inside AUCTeX, the compilation fails. I think it is
>> because AUCTeX invokes TeX this way (found in file output)
>>
>> Running `LaTeX' on `file' with ``pdflatex  -interaction=nonstopmode
>> "\input" file.tex''
>>
>> I'd rather have something like
>>
>> Running `LaTeX' on `file' with ``pdflatex  -interaction=nonstopmode
>> file.tex''
>>
>> How can I change it?
>
> You could add your own command to `TeX-command-list' and make it the
> default for the file in question.  How to do this is described in
> (info "(auctex)Selecting a Command") <-- Type `C-x C-e' here.
>
> --

That info section is very nice.  Now, the example uses %s in the
command specification, while most of
the commands use %t.  The two are defined as follows:

 ("%s" file nil t)
 ("%t" file t t)

What is the difference between the two.  I did not follow the code in
TeX-command-expand.

Just curious,

Mirko



reply via email to

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