yatex

changeset 412:b899adfd0879 dev

Regexp of math-mode parentheses fixed
author HIROSE Yuuji <yuuji@gentei.org>
date Fri, 13 Feb 2015 20:42:31 +0900
parents a4a2635c5158
children 368a86a179ff
files yatex.el
diffstat 1 files changed, 14 insertions(+), 8 deletions(-) [+]
line diff
     1.1 --- a/yatex.el	Fri Feb 13 08:21:39 2015 +0900
     1.2 +++ b/yatex.el	Fri Feb 13 20:42:31 2015 +0900
     1.3 @@ -1,6 +1,6 @@
     1.4  ;;; yatex.el --- Yet Another tex-mode for emacs //–ì’¹// -*- coding: sjis -*-
     1.5  ;;; (c)1991-2015 by HIROSE Yuuji.[yuuji@yatex.org]
     1.6 -;;; Last modified Fri Feb 13 08:11:15 2015 on firestorm
     1.7 +;;; Last modified Fri Feb 13 20:40:56 2015 on firestorm
     1.8  ;;; $Id$
     1.9  ;;; The latest version of this software is always available at;
    1.10  ;;; http://www.yatex.org/
    1.11 @@ -44,16 +44,18 @@
    1.12     (YaTeX-use-LaTeX2e "platex")
    1.13     (YaTeX-japan "jlatex")
    1.14     (t "latex"))
    1.15 -  "*Default command for typesetting LaTeX text.")
    1.16 +  "*Default command for typesetting LaTeX text.
    1.17 +Overridden with `%#! CommandLine...' in the buffer.")
    1.18  
    1.19  (defvar bibtex-command (if YaTeX-japan "jbibtex" "bibtex")
    1.20 -  "*Default command of BibTeX.")
    1.21 +  "*Default command of BibTeX.
    1.22 +Overridden with `%#BIBTEX CommandLine...' in the buffer.")
    1.23  
    1.24  (defvar dvi2-command		;previewer command for your site
    1.25    (if YaTeX-dos "dviout -wait=0"
    1.26      "xdvi -geo +0+0 -s 4")
    1.27    "*Default previewer command including its option.
    1.28 -This default value is for X window system.")
    1.29 +Overridden with `%#PREVIEW CommandLine...' in the buffer.")
    1.30  
    1.31  (defvar YaTeX-cmd-gimp "gimp")
    1.32  (defvar YaTeX-cmd-tgif "tgif")
    1.33 @@ -79,15 +81,18 @@
    1.34  		 ((file-executable-p YaTeX-cmd-displayline) "open -a Skim")
    1.35  		 (t "open")))
    1.36     (t		"evince"))
    1.37 -  "*Default PDF viewer command including its option.")
    1.38 +  "*Default PDF viewer command including its option.
    1.39 +Overridden with `%#PDFVIEW CommandLine...' in the buffer.")
    1.40  
    1.41  (defvar makeindex-command (if YaTeX-dos "makeind" "makeindex")
    1.42 -  "*Default makeindex command.")
    1.43 +  "*Default makeindex command.
    1.44 +Overridden with `%#MAKEINDEX CommandLine...' in the buffer.")
    1.45  
    1.46  (defvar dviprint-command-format
    1.47    (if YaTeX-dos "dviprt %s %f%t"
    1.48        "dvi2ps %f %t %s | lpr")
    1.49    "*Command line string to print out current file.
    1.50 +Overridden with `%#LPR CommandLine...' in the buffer.
    1.51  Format string %s will be replaced by the filename.  Do not forget to
    1.52  specify the `from usage' and `to usage' with their option by format string
    1.53  %f and %t.
    1.54 @@ -103,7 +108,8 @@
    1.55  
    1.56  (defvar YaTeX-dvipdf-command
    1.57    "dvipdfmx"
    1.58 -  "*Command name to convert dvi file to PDF.")
    1.59 +  "*Command name to convert dvi file to PDF.
    1.60 +Overridden with `%#DVIPDF CommandLine...' in the buffer.")
    1.61  
    1.62  (defvar YaTeX-default-document-style
    1.63    (concat (if YaTeX-japan "js") "article")
    1.64 @@ -2153,7 +2159,7 @@
    1.65         (concat "\\(" YaTeX-struct-name-regexp "\\)") "" "" "")
    1.66        "\\|\\("
    1.67        YaTeX-ec-regexp  ;;"[][()]\\)"
    1.68 -      "\\[\\|\\]\\)"
    1.69 +      "[\\]\\[]\\)"
    1.70        )
    1.71       (point-end-of-line) t)))
    1.72