all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: Florian Lindner <Florian.Lindner@xgm.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Auctex: Save, compile and view together
Date: Fri, 22 May 2009 15:35:03 +0200	[thread overview]
Message-ID: <45EA7EA2-9DDE-4C81-8678-A3A2DC40B0E6@Web.DE> (raw)
In-Reply-To: <gv62tn$jsf$1@news.lrz-muenchen.de>


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!"





      reply	other threads:[~2009-05-22 13:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-22 11:39 Auctex: Save, compile and view together Florian Lindner
2009-05-22 13:35 ` Peter Dyballa [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45EA7EA2-9DDE-4C81-8678-A3A2DC40B0E6@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=Florian.Lindner@xgm.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.