* Auctex: Save, compile and view together
@ 2009-05-22 11:39 Florian Lindner
2009-05-22 13:35 ` Peter Dyballa
0 siblings, 1 reply; 2+ messages in thread
From: Florian Lindner @ 2009-05-22 11:39 UTC (permalink / raw)
To: help-gnu-emacs
Hello,
How can I customize my Auctex that C-c C-c does not only compile or save
but does everything needed? Save and compile (if needed) and then view.
TeX-autos-save seems to be something else and I've founded nothing
Tex-auto-* that could make sense for that.
Thanks,
Florian
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Auctex: Save, compile and view together
2009-05-22 11:39 Auctex: Save, compile and view together Florian Lindner
@ 2009-05-22 13:35 ` Peter Dyballa
0 siblings, 0 replies; 2+ messages in thread
From: Peter Dyballa @ 2009-05-22 13:35 UTC (permalink / raw)
To: Florian Lindner; +Cc: help-gnu-emacs
Am 22.05.2009 um 13:39 schrieb Florian Lindner:
> How can I customize my Auctex that C-c C-c does not only compile or
> save but does everything needed? Save and compile (if needed)
After a save a re-compile is always necessary. If not, then you don't
need AUCTeX for this trivial task.
> and then view.
Does your question imply that you are using a viewer (for PDF or DVI)
which does not automatically re-load the changed output file?
One of my own AUCTeX compile commands looks, as saved customisation,
in my init file like this:
("XeTeXx" "%`xetex -output-driver=xdv2pdf%(mode)%' %t" TeX-run-TeX
nil (plain-tex-mode context-mode texinfo-mode ams-tex-mode) :help
"Run XeTeX with xdv2pdf driver")
So it's obviously a possible option to put between the starting ``"%`
´´ sequence and the final ``%'´´ sequence a command separator or such
and add another command (the customisation interface might be easier
to use). An option which *will* work is a batch file by some name,
used as a substitute for some basic *TeX command, which also can
check whether it's worth to launch a viewer application. The latter
is not necessary when the previous compilation failed or was aborted ...
--
Mit friedvollen Grüßen
Pete
Treffen sich zwo Parallelen an einer Straßenecke. Sagt die eine zur
anderen: "So, hier beginnt also die Unendlichkeit!"
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-05-22 13:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-22 11:39 Auctex: Save, compile and view together Florian Lindner
2009-05-22 13:35 ` Peter Dyballa
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).