auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] add to a key stroke: texify --tex-opt=--src --quiet %t"


From: Ralf Angeli
Subject: Re: [AUCTeX] add to a key stroke: texify --tex-opt=--src --quiet %t"
Date: Mon, 05 Sep 2005 11:38:43 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

* Stefan Pofahl (2005-09-05) writes:

> On 5 Sep 2005 at 10:23, Ralf Angeli wrote:
>
>> What's the problem with using the `TeX-master-file' option?
>> 
> The variable %t is changing it's value, when you change from
> master-file to buffer or region, this is a nice feature.

First, "%t" is not a variable but a placeholder used for expansion.
Second, how should AUCTeX know if you want to process the document,
the current buffer or a region?  You have to explicitely tell it to
execute the intended option.  That's why there are commands like
`TeX-command-master', `TeX-command-buffer' or `TeX-command-region'.

> The variable `TeX-active-buffer' should be the same as %t,
> but I don't know how to use it.

Maybe it helps reading the doc string of `TeX-command', especially
what it expects as its second argument.

-- 
Ralf




reply via email to

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