auctex
[Top][All Lists]
Advanced

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

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


From: Vincent Belaïche
Subject: Re: [AUCTeX] Is it possible to use the buffer-file-name in a local variable ?
Date: Fri, 6 Feb 2015 23:43:21 +0100

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.
 
> To: address@hidden
> From: address@hidden
> Date: Fri, 6 Feb 2015 08:30:00 +0100
> Subject: Re: [AUCTeX] Is it possible to use the buffer-file-name in a local variable ?
>
> Denis Bitouzé <address@hidden> writes:
>
> > BTW, is it possible to ask for another name for the output file than
> > `_region_'?
>
> The name is given by
>
> ,----
> | TeX-region is a variable defined in `tex-buf.el'.
> | Its value is "_region_"
> |
> | Documentation:
> | *Base name of temporary file for `TeX-command-region' and `TeX-command-buffer'.
> |
> | You can customize this variable.
> `----
>
> > In particular, is it possible for this name to be the evaluation of
> > (file-name-base buffer-file-name), possibly copied in antother
> > directory?
>
> I've never used it that way but feel free to try.
>
> Bye,
> Tassilo
>
>
> _______________________________________________
> auctex mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/auctex

reply via email to

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