OSDN Git Service

luatexja-otf: \newcount\ltj@temcnta is not needed
authorHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Sun, 2 Oct 2022 07:17:30 +0000 (16:17 +0900)
committerHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Sun, 2 Oct 2022 07:17:30 +0000 (16:17 +0900)
src/addons/luatexja-otf.sty

index 6ac200b..37346b2 100644 (file)
@@ -64,7 +64,7 @@
   \expandafter\let\csname ifltj@in@latex\expandafter\endcsname
     \csname iftrue\endcsname
   \NeedsTeXFormat{LaTeX2e}
-  \ProvidesPackage{luatexja-otf}[2019-09-26]
+  \ProvidesPackage{luatexja-otf}[2022-10-02]
 \fi                             %</LaTeX>
 
 % Load core module if not yet.
@@ -85,8 +85,7 @@
 %! Main part of luatexja-otf
 \RequireLuaTeXjaSubmodule{otf}
 
-\newcount\ltj@tempcnta
-
+%\newcount\ltj@tempcnta % defined at luatexja-core.sty
 \protected\def\CID#1{\ifvmode\leavevmode\fi\ltj@tempcnta#1\relax\directlua{luatexja.otf.cid(\the\ltj@tempcnta)}\relax}
 
 %% \UTF compatible with the OTF package for pLaTeX