[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-devel] Nonstopmode in ConTeXt
From: |
Ralf Angeli |
Subject: |
[AUCTeX-devel] Nonstopmode in ConTeXt |
Date: |
Sat, 25 Nov 2006 21:03:50 +0100 |
Does anybody see a problem with the following patch allowing people
who use a recent texexec binary not supporting the --passon switch to
change the command line option for switching to nonstopmode?
I don't really like to use a full-fledged defcustom for the variable
because sooner or later such options should be handled differently
anyway and because the --passon switch might be reintroduced.
With the patch applied the --passon switch might occur twice on the
command line which the texexec version I have here (5.2.4) seems to
support.
--- context.el 16 Sep 2006 20:24:32 +0200 1.58
+++ context.el 25 Nov 2006 20:56:38 +0100
@@ -1445,6 +1445,10 @@
;;; Option expander
+(defvar ConTeXt-texexec-option-nonstop
+ "--passon=\"-interaction=nonstopmode\" "
+ "Command line option for texexec to use nonstopmode.")
+
(defun ConTeXt-expand-options ()
"Expand options for texexec command."
(concat
@@ -1456,15 +1460,10 @@
(format "--tex=%s " ConTeXt-engine)))
(unless (eq ConTeXt-current-interface "en")
(format "--interface=%s " ConTeXt-current-interface))
- (if TeX-source-specials-mode
- (format
- "--passon=\"%s\" "
- (concat
- TeX-source-specials-tex-flags
- (unless TeX-interactive-mode
- " -interaction=nonstopmode")))
- (unless TeX-interactive-mode
- "--passon=\"-interaction=nonstopmode\" "))))
+ (when TeX-source-specials-mode
+ (format "--passon=\"%s\" " TeX-source-specials-tex-flags))
+ (unless TeX-interactive-mode
+ ConTeXt-texexec-option-nonstop)))
;;; Mode
--
Ralf
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [AUCTeX-devel] Nonstopmode in ConTeXt,
Ralf Angeli <=