Re: [AUCTeX] Is it possible to use the buffer-file-name in a local variable ?

2015-02-06 Thread Vincent Belaïche
Hello, In such a case wouldn't you need that the compilation command is some lisp fonction that does the prior variable setting prior to launching the usual region compilation --- or maybe some hook function is already available for making this sort of pre-regioning thing easier. Vincent.

Re: [AUCTeX] Is it possible to use the buffer-file-name in a local variable ?

2015-02-05 Thread Denis Bitouzé
Le 05/02/15 à 17h52, Nicolas Richard theonewiththeevill...@yahoo.fr a écrit : I deprecated \includeonly in favor of TeX-command-region, and I now do collaborative editing through auto-synchronisation of files (owncloud, dropbox) instead of sending files around. So I'm now a happy

Re: [AUCTeX] Is it possible to use the buffer-file-name in a local variable ?

2015-02-03 Thread Mosè Giordano
Hi Tassilo, 2015-02-03 8:54 GMT+01:00 Tassilo Horn t...@gnu.org: Denis Bitouzé dbito...@wanadoo.fr writes: I'd like to use the buffer-file-name in a local variable, like this: ┌ │ %%% Local Variables: │ %%% mode: latex │ %%% TeX-master: main │ %%% LaTeX-command: pdflatex

Re: [AUCTeX] Is it possible to use the buffer-file-name in a local variable ?

2015-02-03 Thread Denis Bitouzé
Le 03/02/15 à 08h54, Tassilo Horn t...@gnu.org a écrit : Denis Bitouzé dbito...@wanadoo.fr writes: I'd like to use the buffer-file-name in a local variable, like this: ┌ │ %%% Local Variables: │ %%% mode: latex │ %%% TeX-master: main │ %%% LaTeX-command: pdflatex

Re: [AUCTeX] Is it possible to use the buffer-file-name in a local variable ?

2015-02-02 Thread Tassilo Horn
Denis Bitouzé dbito...@wanadoo.fr writes: I'd like to use the buffer-file-name in a local variable, like this: ┌ │ %%% Local Variables: │ %%% mode: latex │ %%% TeX-master: main │ %%% LaTeX-command: pdflatex '\includeonly{buffer-file-name}\input{main}' │ %%% End: