Mercurial > hgrepos > hgweb.cgi > yatex
comparison yatex.el @ 596:923a6c0183be draft dev
Add -synctex=1 to default command line option.
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Thu, 29 Sep 2022 10:23:48 +0900 |
parents | 921d58902dca |
children | e73e41509124 |
comparison
equal
deleted
inserted
replaced
595:6f69504f9cbe | 596:923a6c0183be |
---|---|
1 ;;; yatex.el --- Yet Another tex-mode for emacs //–ì’¹// -*- coding: sjis -*- | 1 ;;; yatex.el --- Yet Another tex-mode for emacs //–ì’¹// -*- coding: sjis -*- |
2 ;;; (c)1991-2020 by HIROSE Yuuji.[yuuji@yatex.org] | 2 ;;; (c)1991-2020 by HIROSE Yuuji.[yuuji@yatex.org] |
3 ;;; Last modified Fri Sep 23 06:28:18 2022 on firestorm | 3 ;;; Last modified Thu Sep 29 10:22:07 2022 on firestorm |
4 ;;; $Id$ | 4 ;;; $Id$ |
5 ;;; The latest version of this software is always available at; | 5 ;;; The latest version of this software is always available at; |
6 ;;; https://www.yatex.org/ | 6 ;;; https://www.yatex.org/ |
7 | 7 |
8 ;;; This program is distributed as a free software. You can | 8 ;;; This program is distributed as a free software. You can |
47 | 47 |
48 (defvar YaTeX-use-LaTeX2e t "*Use LaTeX2e or not. Nil means latex 2.09") | 48 (defvar YaTeX-use-LaTeX2e t "*Use LaTeX2e or not. Nil means latex 2.09") |
49 | 49 |
50 (defvar tex-command | 50 (defvar tex-command |
51 (cond | 51 (cond |
52 (YaTeX-use-LaTeX2e "platex -kanji=%k") | 52 (YaTeX-use-LaTeX2e "platex -kanji=%k -synctex=1") |
53 (YaTeX-japan "jlatex") | 53 (YaTeX-japan "jlatex") |
54 (t "latex")) | 54 (t "latex")) |
55 "*Default command for typesetting LaTeX text. | 55 "*Default command for typesetting LaTeX text. |
56 Overridden with `%#! CommandLine...' in the buffer. | 56 Overridden with `%#! CommandLine...' in the buffer. |
57 `%'s followed by a character are replaced as follows: | 57 `%'s followed by a character are replaced as follows: |