Mercurial > hgrepos > hgweb.cgi > yatex
changeset 605:38a414d755c1 draft dev
PDFnative typesetter
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Fri, 02 Dec 2022 08:42:22 +0859 |
parents | 9ec429ace1c5 |
children | c11261c0960f |
files | yahtml.el yatexadd.el yatexlib.el yatexpkg.el yatexprc.el |
diffstat | 5 files changed, 21 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/yahtml.el Thu Dec 01 18:55:43 2022 +0859 +++ b/yahtml.el Fri Dec 02 08:42:22 2022 +0859 @@ -1,5 +1,5 @@ ;;; yahtml.el --- Yet Another HTML mode -*- coding: sjis -*- -;;; (c) 1994-2019 by HIROSE Yuuji [yuuji(@)yatex.org] +;;; (c) 1994-2022 by HIROSE Yuuji [yuuji(@)yatex.org] ;;; $Id$ (defconst yahtml-revision-number "1.80.1"
--- a/yatexadd.el Thu Dec 01 18:55:43 2022 +0859 +++ b/yatexadd.el Fri Dec 02 08:42:22 2022 +0859 @@ -1,6 +1,6 @@ ;;; yatexadd.el --- YaTeX add-in functions -*- coding: sjis -*- -;;; (c)1991-2019 by HIROSE Yuuji.[yuuji@yatex.org] -;;; Last modified Thu Dec 1 18:33:08 2022 on firestorm +;;; (c)1991-2022 by HIROSE Yuuji.[yuuji@yatex.org] +;;; Last modified Fri Dec 2 08:40:27 2022 on firestorm ;;; $Id$ ;;; Code: @@ -1893,7 +1893,9 @@ (defvar YaTeX:documentclasses-default '(("article") ("jarticle") ("report") ("jreport") ("book") ("jbook") - ("jsarticle") ("jsbook") + ("ltjsarticle") ("ltjsreport") ("ltjsbook") + ("ltjarticle") ("ltjreport") ("ltjbook") + ("jsarticle") ("jsreport") ("jsbook") ("j-article") ("j-report") ("j-book") ("letter") ("slides") ("ltxdoc") ("ltxguide") ("ltnews") ("proc")) "Default documentclass alist")
--- a/yatexlib.el Thu Dec 01 18:55:43 2022 +0859 +++ b/yatexlib.el Fri Dec 02 08:42:22 2022 +0859 @@ -1,7 +1,7 @@ ;;; yatexlib.el --- YaTeX and yahtml common libraries -*- coding: sjis -*- ;;; -;;; (c)1994-2019 by HIROSE Yuuji.[yuuji@yatex.org] -;;; Last modified Fri Sep 23 06:43:32 2022 on firestorm +;;; (c)1994-2022 by HIROSE Yuuji.[yuuji@yatex.org] +;;; Last modified Fri Dec 2 08:41:16 2022 on firestorm ;;; $Id$ ;;; Code:
--- a/yatexpkg.el Thu Dec 01 18:55:43 2022 +0859 +++ b/yatexpkg.el Fri Dec 02 08:42:22 2022 +0859 @@ -1,7 +1,7 @@ ;;; yatexpkg.el --- YaTeX package manager -*- coding: sjis -*- ;;; -;;; (c)2003-2019 by HIROSE, Yuuji [yuuji@yatex.org] -;;; Last modified Thu Dec 1 18:45:19 2022 on firestorm +;;; (c)2003-2022 by HIROSE, Yuuji [yuuji@yatex.org] +;;; Last modified Fri Dec 2 08:22:41 2022 on firestorm ;;; $Id$ ;;; Code:
--- a/yatexprc.el Thu Dec 01 18:55:43 2022 +0859 +++ b/yatexprc.el Fri Dec 02 08:42:22 2022 +0859 @@ -1,7 +1,7 @@ ;;; yatexprc.el --- YaTeX process handler -*- coding: sjis -*- ;;; ;;; (c)1993-2022 by HIROSE Yuuji.[yuuji@yatex.org] -;;; Last modified Thu Sep 29 09:56:02 2022 on firestorm +;;; Last modified Thu Dec 1 19:13:20 2022 on firestorm ;;; $Id$ ;;; Code: @@ -184,7 +184,8 @@ (ppprop (get 'YaTeX-typeset-process 'ppcmd)) (ppcmd (cdr (assq proc ppprop))) (bcprop (get 'YaTeX-typeset-process 'bibcmd)) - (bibcmd (cdr (assq proc bcprop)))) + (bibcmd (cdr (assq proc bcprop))) + (useluatex (string-match "lua.*tex" thiscmd))) (put 'YaTeX-typeset-process 'ppcmd ;erase ppcmd (delq (assq proc ppprop) ppprop)) (put 'YaTeX-typeset-process 'bibcmd ;erase bibcmd @@ -286,8 +287,14 @@ ;; If ppcmd is set and it is a function symbol, ;; call it whenever command succeeded or not (funcall ppcmd)) - ((and ppcmd (string-match "finish" mes)) - (insert (format "=======> Success! Calling %s\n" ppcmd)) + ((and ppcmd (string-match "finish" mes) + ;; It is bad way to detect the necessity of + ;; pdf-conversion by seeing typesetter name because + ;; new typesetter other than lua(la)tex might come. + ;; More reasonable way is to determine by the + ;; existence of PDF file. + (not useluatex)) + (insert (format "=======> Success! Calling %s\n" ppcmd)) (setq mode-name ; set process name (concat mode-name "+"