diff --git a/yahtml.el b/yahtml.el
index cd371ea..d8f9c3a 100644
--- a/yahtml.el
+++ b/yahtml.el
@@ -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"
diff --git a/yatexadd.el b/yatexadd.el
index 3354478..c783a24 100644
--- a/yatexadd.el
+++ b/yatexadd.el
@@ -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")
diff --git a/yatexlib.el b/yatexlib.el
index 97047b4..a420ad9 100644
--- a/yatexlib.el
+++ b/yatexlib.el
@@ -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:
diff --git a/yatexpkg.el b/yatexpkg.el
index 4d2385e..6130aad 100644
--- a/yatexpkg.el
+++ b/yatexpkg.el
@@ -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:
diff --git a/yatexprc.el b/yatexprc.el
index 97087d7..3fe7c29 100644
--- a/yatexprc.el
+++ b/yatexprc.el
@@ -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 "+"