[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] elpa 6eb95e6 14/51: Integrate viewer support between tex.el and t
From: |
Tassilo Horn |
Subject: |
[elpa] elpa 6eb95e6 14/51: Integrate viewer support between tex.el and tex-jp.el |
Date: |
Sun, 22 May 2016 07:22:48 +0000 (UTC) |
branch: elpa
commit 6eb95e66962c446aae4f81a993bcd2d6c560f3c7
Author: Ikumi Keita <address@hidden>
Commit: Mosè Giordano <address@hidden>
Integrate viewer support between tex.el and tex-jp.el
* tex.el (TeX-view-program-list-builtin): Integrate viewer support
between tex.el and tex-jp.el.
* tex-jp.el : Ditto.
Signed-off-by: Mosè Giordano <address@hidden>
---
tex-jp.el | 44 +++++++++++---------------------------------
tex.el | 16 +++++++++++++++-
2 files changed, 26 insertions(+), 34 deletions(-)
diff --git a/tex-jp.el b/tex-jp.el
index 3d4dc03..75b49b2 100644
--- a/tex-jp.el
+++ b/tex-jp.el
@@ -1,6 +1,6 @@
;;; tex-jp.el --- Support for Japanese TeX. -*- coding: iso-2022-jp-unix; -*-
-;; Copyright (C) 2002-2007, 2012 Free Software Foundation, Inc.
+;; Copyright (C) 2002-2007, 2012, 2016 Free Software Foundation, Inc.
;; Copyright (C) 1999, 2001 Hidenobu Nabetani <address@hidden>
;; Author: KOBAYASHI Shinji <address@hidden>
@@ -194,41 +194,19 @@ For detail, see `TeX-command-list', to which this list is
appended."
;; http://oku.edu.mie-u.ac.jp/~okumura/texwiki/?AUCTeX
;; $B$r;29M$K$7$F$_$?!#(B
((eq system-type 'windows-nt)
- '(("Dviout" ("dviout -1 "
- ((paper-a4 paper-portrait) " -y=A4 ")
- ((paper-a4 paper-landscape) " -y=A4L ")
- ((paper-a5 paper-portrait) " -y=A5 ")
- ((paper-a5 paper-landscape) " -y=A5L ")
- ((paper-b5 paper-portrait) " -y=E5 ")
- ((paper-b5 paper-landscape) " -y=E5L ")
- ((paper-b4jis paper-portrait) " -y=B4 ")
- ((paper-b4jis paper-landscape) " -y=B4L ")
- ((paper-b5jis paper-portrait) " -y=B5 ")
- ((paper-b5jis paper-landscape) " -y=B5L ")
- (paper-legal " -y=Legal ")
- (paper-letter " -y=Letter ")
- (paper-executive " -y=Exective ")
- "%o" (mode-io-correlate " \"# %n '%b'\"")))
- ("TeXworks" "TeXworks %o")
- ("SumatraPDF" "SumatraPDF -reuse-instance %o"
- (mode-io-correlate " -forward-search \"%b\" %n"))
- ("MuPDF" "mupdf %o")))
+ '(("TeXworks" "TeXworks %o" "texworks")
+ ("MuPDF" "mupdf %o" "mupdf")))
;; $B$3$l$G$$$$$N$+$I$&$+$OIT0B!#(B
((eq system-type 'darwin)
- '(("Preview" "open -a Preview.app %o")
- ("TeXShop" "open -a TeXShop.app %o")
- ("TeXworks" "open -a TeXworks.app %o")
- ("Skim" "open -a Skim.app %o")
- ("displayline" "displayline %n %o %b")
- ("PictPrinter" "open -a PictPrinter.app %d")
- ("Mxdvi" "open -a Mxdvi.app %d")
- ("open" "open %o")))
+ '(("TeXShop" "open -a TeXShop.app %o" "open")
+ ("TeXworks" "open -a TeXworks.app %o" "open")
+ ("PictPrinter" "open -a PictPrinter.app %d" "open")
+ ("Mxdvi" "open -a Mxdvi.app %d" "open")))
(t
(setcar (cadr (assoc "xdvi" TeX-view-program-list-builtin))
"%(xdvi) -unique")
- '(("TeXworks" "texworks %o")
- ("zathura" "zathura %o")
- ("MuPDF" "mupdf %o"))))))
+ '(("TeXworks" "texworks %o" "texworks")
+ ("MuPDF" "mupdf %o" "mupdf"))))))
;; $B$3$l$O(B tex.el $B$K<h$jF~$l$F$b$i$&$N$OFq$7$$$+!)(B
;; tex-jp.el $B$,address@hidden"(Bdvi viewer $B$N%G%U%)%k%H$,(B dviout
$B$K(B
@@ -238,10 +216,10 @@ For detail, see `TeX-command-list', to which this list is
appended."
(append
(cond
((eq system-type 'windows-nt)
- '((output-dvi "Dviout")
+ '((output-dvi "dviout")
(output-pdf "TeXworks")))
((eq system-type 'darwin)
- '((output-pdf "Preview")))
+ '((output-pdf "Preview.app")))
(t
nil))
TeX-view-program-selection)))
diff --git a/tex.el b/tex.el
index 7449659..f7b5bc4 100644
--- a/tex.el
+++ b/tex.el
@@ -1341,7 +1341,21 @@ DE is the name of the desktop environment, either
\"gnome\" or
(cond
((eq system-type 'windows-nt)
'(("Yap" ("yap -1" (mode-io-correlate " -s %n%b") " %o") "yap")
- ("dviout" ("dviout -1 %d" (mode-io-correlate "\"# %n %b\"")) "dviout")
+ ("dviout" ("dviout -1 "
+ ((paper-a4 paper-portrait) "-y=A4 ")
+ ((paper-a4 paper-landscape) "-y=A4L ")
+ ((paper-a5 paper-portrait) "-y=A5 ")
+ ((paper-a5 paper-landscape) "-y=A5L ")
+ ((paper-b5 paper-portrait) "-y=E5 ")
+ ((paper-b5 paper-landscape) "-y=E5L ")
+ ((paper-b4jis paper-portrait) "-y=B4 ")
+ ((paper-b4jis paper-landscape) "-y=B4L ")
+ ((paper-b5jis paper-portrait) "-y=B5 ")
+ ((paper-b5jis paper-landscape) "-y=B5L ")
+ (paper-legal "-y=Legal ")
+ (paper-letter "-y=Letter ")
+ (paper-executive "-y=Executive ")
+ "%d" (mode-io-correlate " \"# %n '%b'\"")) "dviout")
("SumatraPDF"
("SumatraPDF -reuse-instance"
(mode-io-correlate " -forward-search \"%b\" %n") " %o")
- [elpa] elpa 7fc63f1 39/51: Tweak mode name only when file local variable is enabled., (continued)
- [elpa] elpa 7fc63f1 39/51: Tweak mode name only when file local variable is enabled., Tassilo Horn, 2016/05/22
- [elpa] elpa 7e3bec8 44/51: Run `TeX-add-symbols' if "xcolor" is not an active style, Tassilo Horn, 2016/05/22
- [elpa] elpa f0849b4 10/51: TikZ: Add the 'sin' and 'cos' connectors., Tassilo Horn, 2016/05/22
- [elpa] elpa 7ea1aa3 18/51: TikZ: Don't allow relative points with \coordinate., Tassilo Horn, 2016/05/22
- [elpa] elpa c032063 19/51: Auto save `TeX-command-extra-options'., Tassilo Horn, 2016/05/22
- [elpa] elpa 56c1afd 28/51: Call TeX-newline-function interactively, Tassilo Horn, 2016/05/22
- [elpa] elpa eb9986d 46/51: Respect both "xcolor" and "color" for query to "shadecolor", Tassilo Horn, 2016/05/22
- [elpa] elpa 40c2c26 32/51: Allow for negative offsets in region backward search, Tassilo Horn, 2016/05/22
- [elpa] elpa 9613bdd 36/51: Check TeX engine only once, Tassilo Horn, 2016/05/22
- [elpa] elpa d9910d4 21/51: Fix small errors in doc string and comment, Tassilo Horn, 2016/05/22
- [elpa] elpa 6eb95e6 14/51: Integrate viewer support between tex.el and tex-jp.el,
Tassilo Horn <=
- [elpa] elpa e90e050 34/51: Insert braces after some macros and \relax after \ProcessOptions, Tassilo Horn, 2016/05/22
- [elpa] elpa 0a3632e 45/51: Adjust query commands for loading by xcolor.el, Tassilo Horn, 2016/05/22
- [elpa] elpa adf998c 25/51: Replace TeX-PDF-via-dvips-ps2pdf with TeX-PDF-from-DVI, Tassilo Horn, 2016/05/22
- [elpa] elpa 3e93869 43/51: Add new style/xcolor.el, Tassilo Horn, 2016/05/22
- [elpa] elpa ae6ed8b 06/51: TikZ: make `TeX-TikZ-single-macro-arg' prompt required., Tassilo Horn, 2016/05/22
- [elpa] elpa d83900b 09/51: TikZ: Make '+' and '++' prefixes apply to TikZ points, Tassilo Horn, 2016/05/22
- [elpa] elpa ae6cb79 26/51: Reword documentation of TeX-PDF-from-DVI, Tassilo Horn, 2016/05/22
- [elpa] elpa 1c397d5 29/51: Fix TeX-error-overview-make-entries, Tassilo Horn, 2016/05/22
- [elpa] elpa e092f72 35/51: Use commit date to determine package date, Tassilo Horn, 2016/05/22
- [elpa] elpa 7b41d77 38/51: Adapt for upLaTeX, Tassilo Horn, 2016/05/22