auctex-devel
[Top][All Lists]
Advanced

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

Re: [AUCTeX-devel] TeX output dimensions in ConTeXt


From: Carlos
Subject: Re: [AUCTeX-devel] TeX output dimensions in ConTeXt
Date: Sun, 27 Sep 2015 16:08:51 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Mosè:

I still think (point-min) is a better alternative than (point-max) since
only a greater than > is required, that would jump right to where the warning is
at.  So far, in my end, until further notice:

--- /context.el 2015-09-27 15:10:40.285263202 -0400
+++ /context.el 2015-09-27 15:39:12.673222971 -0400

@@ -570,22 +570,11 @@
           ;; outputs. Just looking for "another run needed" would
           ;; find the first occurence
           (goto-char (point-max))
-          (re-search-backward "TeXUtil " nil t)
-          (re-search-forward "another run needed" nil t))
+           (setq TeX-recenter-output-buffer 'TeX-command-next)
         (message (concat "You should run ConTeXt again "
-                         "to get references right, "
-                         (TeX-current-pages)))
-        (setq TeX-command-next TeX-command-default))
-       ((re-search-forward "removed files :" nil t)
-        (message "sucessfully cleaned up"))
-       ((re-search-forward "^ ?TeX\\(Exec\\|Util\\)" nil t) ;; strange regexp 
--pg
-        (message (concat name ": successfully formatted "
-                         (TeX-current-pages)))
-        (setq TeX-command-next TeX-command-Show))
-       (t
-        (message (concat name ": problems after "
-                         (TeX-current-pages)))
-        (setq TeX-command-next TeX-command-default))))
+                         "to get references right,"
+                           (concat "formatted:"
+                         (TeX-current-pages))))))))
 
 
 ;;; Environments
@@ -1723,6 +1712,7 @@
   (setq TeX-sentinel-default-function 'TeX-ConTeXt-sentinel)
   (TeX-run-mode-hooks 'text-mode-hook 'TeX-mode-hook 'ConTeXt-mode-hook))
 
+
 (defun context-guess-current-interface ()
   "Guess what ConTeXt interface the current buffer is using."
   (interactive)


--- /tex.el     2015-09-27 15:10:40.365263200 -0400
+++ /tex.el     2015-09-27 15:47:27.657211341 -0400
@@ -141,6 +141,9 @@
     ("ConTeXt Full" "texexec %(extraopts) %(execopts)%t"
      TeX-run-TeX nil
      (context-mode) :help "Run ConTeXt until completion")
+    ("MKIV" "context --synctex=1 %t"
+     TeX-run-TeX t
+     (context-mode) :help "")
     ("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help "Run BibTeX")
     ("Biber" "biber %s" TeX-run-Biber nil t :help "Run Biber")
     ,(if (or window-system (getenv "DISPLAY"))

Take care Mosè




reply via email to

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