Mercurial > hgrepos > hgweb.cgi > yatex
comparison yatex.el @ 274:27aaf7d5e513 dev
Candidate: change default file processor.
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Fri, 11 May 2012 17:44:51 +0900 |
parents | d467c0fb6083 |
children | 45350f20793d |
comparison
equal
deleted
inserted
replaced
273:ac55598e961b | 274:27aaf7d5e513 |
---|---|
1 ;;; -*- Emacs-Lisp -*- | 1 ;;; -*- Emacs-Lisp -*- |
2 ;;; Yet Another tex-mode for emacs - //–ì’¹// | 2 ;;; Yet Another tex-mode for emacs - //–ì’¹// |
3 ;;; yatex.el rev. 1.76 | 3 ;;; yatex.el rev. 1.76 |
4 ;;; (c)1991-2012 by HIROSE Yuuji.[yuuji@yatex.org] | 4 ;;; (c)1991-2012 by HIROSE Yuuji.[yuuji@yatex.org] |
5 ;;; Last modified Thu May 10 11:06:33 2012 on firestorm | 5 ;;; Last modified Fri May 11 17:44:12 2012 on firestorm |
6 ;;; $Id$ | 6 ;;; $Id$ |
7 ;;; The latest version of this software is always available at; | 7 ;;; The latest version of this software is always available at; |
8 ;;; http://www.yatex.org/ | 8 ;;; http://www.yatex.org/ |
9 | 9 |
10 (require 'comment) | 10 (require 'comment) |
1888 | 1888 |
1889 (defvar YaTeX-processed-file-regexp-alist-default | 1889 (defvar YaTeX-processed-file-regexp-alist-default |
1890 '(("\\\\epsfile\\(\\[[^]]+\\]\\)?{[^},]*file=\\(\\([^,} ]*/\\)?[^,}. ]+\\)\\(\\.e?ps\\)?[^}]*}" 2) | 1890 '(("\\\\epsfile\\(\\[[^]]+\\]\\)?{[^},]*file=\\(\\([^,} ]*/\\)?[^,}. ]+\\)\\(\\.e?ps\\)?[^}]*}" 2) |
1891 ("\\\\epsfig{[^},]*fi\\(le\\|gure\\)=\\(\\([^,} ]*/\\)?[^,}. ]+\\)\\(\\.e?ps\\)?[^}]*}" 2) | 1891 ("\\\\epsfig{[^},]*fi\\(le\\|gure\\)=\\(\\([^,} ]*/\\)?[^,}. ]+\\)\\(\\.e?ps\\)?[^}]*}" 2) |
1892 ("\\\\postscriptbox{[^}]*}{[^}]*}{\\(\\([^,} ]*/\\)?[^}. ]+\\)\\(\\.e?ps\\)?}" 1) | 1892 ("\\\\postscriptbox{[^}]*}{[^}]*}{\\(\\([^,} ]*/\\)?[^}. ]+\\)\\(\\.e?ps\\)?}" 1) |
1893 ("\\\\\\(epsfbox\\|includegraphics\\|epsfig\\)\\*?{\\(\\([^,} ]*/\\)?[^}. ]+\\)\\(\\.e?ps\\)?}" 2) ;\epsfbox{hoge.ps} or \includegraphics{hoge.eps} | 1893 ("\\\\\\(epsfbox\\|epsfig\\)\\*?{\\(\\([^,} ]*/\\)?[^}. ]+\\)\\(\\.e?ps\\)?}" 2) ;\epsfbox{hoge.ps} |
1894 ("\\\\includegraphics\\*?{\\(\\([^,} ]*/\\)?[^}. ]+\\)\\(\\.ai\\|\\.pdf\\|\\.svg\\|\\.png\\|\\.jpe?g\\|\\.e?ps\\)?}" 1) ;\includegraphics{hoge.eps} | |
1894 ("\\\\\\(psbox\\)\\(\\[[^]]+\\]\\)?{\\(\\([^,} ]*/\\)?[^} ]+\\)\\(\\.e?ps\\)}" 3) ;\psbox[options...]{hoge.eps} (97/1/11) | 1895 ("\\\\\\(psbox\\)\\(\\[[^]]+\\]\\)?{\\(\\([^,} ]*/\\)?[^} ]+\\)\\(\\.e?ps\\)}" 3) ;\psbox[options...]{hoge.eps} (97/1/11) |
1895 ("\\\\input{\\([^} ]+\\)\\(\\.tps\\)}" 1) ;tgif2tex (1998/9/16) | 1896 ("\\\\input{\\([^} ]+\\)\\(\\.tps\\)}" 1) ;tgif2tex (1998/9/16) |
1896 ) | 1897 ) |
1897 "See the documentation of YaTeX-processed-file-regexp-alist.") | 1898 "See the documentation of YaTeX-processed-file-regexp-alist.") |
1898 | 1899 |
1899 (defvar YaTeX-file-processor-alist nil | 1900 (defvar YaTeX-file-processor-alist nil |
1900 "*Alist of files' processor vs. its extension; | 1901 "*Alist of files' processor vs. its extension; |
1901 See also the documentation of YaTeX-processed-file-regexp-alist.") | 1902 See also the documentation of YaTeX-processed-file-regexp-alist.") |
1902 | 1903 |
1903 (defvar YaTeX-file-processor-alist-default | 1904 (defvar YaTeX-file-processor-alist-default |
1904 '(("tgif" . ".obj") | 1905 '(("tgif" . ".obj") |
1905 ("ghostview" . ".ps") | 1906 ("gimp" . ".xcf") ("gimp" . ".xcf.gz") ("gimp" . ".xcf.bz2") |
1906 ("ghostview" . ".eps") | 1907 ("inkscape" . ".svg") ("inkscape" . ".svgz") ("inkscape" . ".ai") |
1908 ("ooffice" . ".odg") | |
1909 ("gimp" . ".jpeg") ("gimp" . ".jpg") ("gimp" . ".png") | |
1910 ("evince" . ".ps") | |
1911 ("evince" . ".eps") | |
1912 ("ooffice" . ".pdf") | |
1907 (t . ".tex") | 1913 (t . ".tex") |
1908 (t . ".sty") | 1914 (t . ".sty") |
1909 (t . "")) | 1915 (t . "")) |
1910 "See the documentation of YaTeX-file-processor-alist.") | 1916 "See the documentation of YaTeX-file-processor-alist.") |
1911 | 1917 |