X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=src%2Fluatexja-compat.sty;h=6b2185e5598b023d7fc70ca4eeb65045a253c93e;hb=db94e608b0fe848b08a050d4226f7fae8be1f87d;hp=77befdff81184fd1074b03649dbaff02586b8b19;hpb=ae6b66530a4e01e6f76819b86f748e46eb6bcb78;p=luatex-ja%2Fluatexja.git diff --git a/src/luatexja-compat.sty b/src/luatexja-compat.sty index 77befdf..6b2185e 100644 --- a/src/luatexja-compat.sty +++ b/src/luatexja-compat.sty @@ -65,26 +65,27 @@ \expandafter\let\csname ifltj@in@latex\expandafter\endcsname \csname iftrue\endcsname \NeedsTeXFormat{LaTeX2e} - \ProvidesPackage{luatexja-compat}[2011/04/01 v0.1] + \ProvidesPackage{luatexja-compat}[2013/12/22 Compatibility with pTeX] \fi % -%% If the engine is pTeX, then load the module for it and exit. -\edef\ltj@@tempa{\string\kansuji} -\edef\ltj@@tempb{\meaning\kansuji} -\ifx\ltj@@tempa\ltj@@tempb %<*pTeX> - \let\ltj@@compat@pTeX=t - \ifltj@in@latex %<*LaTeX> - \RequirePackage{ltj-compat-ptex}[2012/04/21] - \else %<*!LaTeX> - \input ltj-compat-ptex.sty % - \fi % - \ltj@compat@AtEnd -\expandafter\endinput\fi\relax % +% ltj-compat-ptex.sty is not maintained for a long time. +% %% If the engine is pTeX, then load the module for it and exit. +% \edef\ltj@@tempa{\string\kansuji} +% \edef\ltj@@tempb{\meaning\kansuji} +% \ifx\ltj@@tempa\ltj@@tempb %<*pTeX> +% \let\ltj@@compat@pTeX=t +% \ifltj@in@latex %<*LaTeX> +% \RequirePackage{ltj-compat-ptex}[2012/04/21] +% \else %<*!LaTeX> +% \input ltj-compat-ptex.sty % +% \fi % +% \ltj@compat@AtEnd +% \expandafter\endinput\fi\relax % % Load core module if not yet. \ifx\luatexjacoreLoaded\@undefined \ifltj@in@latex %<*LaTeX> - \RequirePackage{luatexja-core}[2012/04/20] + \RequirePackage{luatexja-core}[2013/05/14] \else %<*!LaTeX> \input luatexja-core.sty % \fi % @@ -104,7 +105,6 @@ % not yet implemented. %%------------------ -\RequireLuaTeXjaSubmodule{jisx0208} \RequireLuaTeXjaSubmodule{compat} \def\euc{\ltj@code@conv{euc}} @@ -145,6 +145,7 @@ \ltjsetparameter{kansujichar={7,`七}} \ltjsetparameter{kansujichar={8,`八}} \ltjsetparameter{kansujichar={9,`九}} +\ltj@@decl@array@param{kansujichar} \ifltj@in@latex \newcommand\printglossary{\@input@{\jobname.gls}}