unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#24058: 24.5; tex-file ignores latex-run-command file local variable
@ 2016-07-23  8:12 Paul Rankin
  2016-07-23 19:35 ` Glenn Morris
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Rankin @ 2016-07-23  8:12 UTC (permalink / raw)
  To: 24058

It appears that `tex-file' ignores `LaTeX-run-command' when set as a file local variable.

To reproduce:

1. $ emacs -Q
2. open Input.tex file with:

    % Local Variables:
    % latex-run-command: "xelatex"
    % End:

3. apply local variables
4. M-x tex-file

Expected results:

`tex-file' should run shell command

    $ xelatex \\nonstopmode\\input Input.tex

Actual results:

`tex-file' runs shell command

    $ latex \\nonstopmode\\input Input.tex

Configuration:

GNU Emacs 24.5.1 (x86_64-apple-darwin15.6.0, NS apple-appkit-1404.47) of 2016-07-22

OS X 10.11.6 (15G31)

MacBook Pro (Retina, 15-inch, Mid 2014)
2.2 GHz Intel Core i7
16 GB 1600 MHz DDR3
Intel Iris Pro 1536 MB

--
Paul W. Rankin
www.paulwrankin.com





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#24058: 24.5; tex-file ignores latex-run-command file local variable
  2016-07-23  8:12 bug#24058: 24.5; tex-file ignores latex-run-command file local variable Paul Rankin
@ 2016-07-23 19:35 ` Glenn Morris
  0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2016-07-23 19:35 UTC (permalink / raw)
  To: Paul Rankin; +Cc: 24058

Paul Rankin wrote:

> It appears that `tex-file' ignores `LaTeX-run-command' when set as a
> file local variable.

Set the variable "tex-command" instead. latex-run-command just provides
the global default value for that variable in latex mode.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-07-23 19:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-23  8:12 bug#24058: 24.5; tex-file ignores latex-run-command file local variable Paul Rankin
2016-07-23 19:35 ` Glenn Morris

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).