[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX-devel] TeX output dimensions in ConTeXt
From: |
Mosè Giordano |
Subject: |
Re: [AUCTeX-devel] TeX output dimensions in ConTeXt |
Date: |
Sun, 27 Sep 2015 23:11:01 +0200 |
Hi Carlos,
2015-09-27 22:08 GMT+02:00 Carlos <address@hidden>:
> 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))))))))
>
This breaks things for people not using "context", doesn't it?
> ;;; 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"))
Are you sure "MKIV" is better and easier to recognize than "Mark IV"?
Please bear in mind I'm not in ConTeXt, I don't know its naming
conventions :-)
Bye,
Mosè
- [AUCTeX-devel] TeX output dimensions in ConTeXt, Carlos, 2015/09/22
- Re: [AUCTeX-devel] TeX output dimensions in ConTeXt, Carlos, 2015/09/22
- Re: [AUCTeX-devel] TeX output dimensions in ConTeXt, Mosè Giordano, 2015/09/23
- Re: [AUCTeX-devel] TeX output dimensions in ConTeXt, Carlos, 2015/09/23
- Re: [AUCTeX-devel] TeX output dimensions in ConTeXt, Carlos, 2015/09/23
- Re: [AUCTeX-devel] TeX output dimensions in ConTeXt, Mosè Giordano, 2015/09/25
- Re: [AUCTeX-devel] TeX output dimensions in ConTeXt, Carlos, 2015/09/26
- Re: [AUCTeX-devel] TeX output dimensions in ConTeXt, Carlos, 2015/09/27
- Re: [AUCTeX-devel] TeX output dimensions in ConTeXt,
Mosè Giordano <=
- Re: [AUCTeX-devel] TeX output dimensions in ConTeXt, Carlos, 2015/09/28
- Re: [AUCTeX-devel] TeX output dimensions in ConTeXt, Carlos, 2015/09/29
- Re: [AUCTeX-devel] TeX output dimensions in ConTeXt, Carlos, 2015/09/29
- Re: [AUCTeX-devel] TeX output dimensions in ConTeXt, Carlos, 2015/09/29
- Re: [AUCTeX-devel] TeX output dimensions in ConTeXt, Carlos, 2015/09/29
- Re: [AUCTeX-devel] TeX output dimensions in ConTeXt, Carlos, 2015/09/29