• R/O
  • HTTP
  • SSH
  • HTTPS

luatexja: Commit

ソースコードの管理場所


Commit MetaInfo

Revision9043516f9ee996b57bf781ac6d04de081be7c77d (tree)
Time2018-07-02 13:17:08
AuthorHironori Kitagawa <h_kitagawa2001@yaho...>
CommiterHironori Kitagawa

Log Message

Fix #38372

Change Summary

Incremental Difference

--- a/src/ltjsarticle.cls
+++ b/src/ltjsarticle.cls
@@ -38,7 +38,7 @@
3838 %% Right brace \} Tilde \~}
3939 \NeedsTeXFormat{LaTeX2e}
4040 \ProvidesClass{ltjsarticle}
41- [2018/06/09 ltjsclasses ]
41+ [2018/07/02 ltjsclasses ]
4242 \def\jsc@clsname{ltjsarticle}
4343 \RequirePackage{luatexja}
4444 \newif\if@restonecol
@@ -241,7 +241,7 @@ option, since LuaTeX does not support \string\mag\MessageBreak in pdf output}%
241241 \ifdim\jsc@mpt=1.2\p@ \renewcommand{\@ptsize}{2}\else
242242 \renewcommand{\@ptsize}{-20}\fi\fi
243243 \ifjsc@mag@xreal
244-\ifdim\jsc@mpt=\p@\else
244+\ifdim\jsc@mpt=\p@\jsc@mag@xrealfalse\else
245245 \expandafter\let\csname OT1/cmr/m/n/10\endcsname\relax
246246 \expandafter\let\csname TU/lmr/m/n/10\endcsname\relax
247247 \expandafter\let\csname OMX/cmex/m/n/10\endcsname\relax
--- a/src/ltjsbook.cls
+++ b/src/ltjsbook.cls
@@ -38,7 +38,7 @@
3838 %% Right brace \} Tilde \~}
3939 \NeedsTeXFormat{LaTeX2e}
4040 \ProvidesClass{ltjsbook}
41- [2018/06/09 ltjsclasses ]
41+ [2018/07/02 ltjsclasses ]
4242 \def\jsc@clsname{ltjsbook}
4343 \RequirePackage{luatexja}
4444 \newif\if@restonecol
@@ -249,7 +249,7 @@ option, since LuaTeX does not support \string\mag\MessageBreak in pdf output}%
249249 \ifdim\jsc@mpt=1.2\p@ \renewcommand{\@ptsize}{2}\else
250250 \renewcommand{\@ptsize}{-20}\fi\fi
251251 \ifjsc@mag@xreal
252-\ifdim\jsc@mpt=\p@\else
252+\ifdim\jsc@mpt=\p@\jsc@mag@xrealfalse\else
253253 \expandafter\let\csname OT1/cmr/m/n/10\endcsname\relax
254254 \expandafter\let\csname TU/lmr/m/n/10\endcsname\relax
255255 \expandafter\let\csname OMX/cmex/m/n/10\endcsname\relax
--- a/src/ltjsclasses.dtx
+++ b/src/ltjsclasses.dtx
@@ -44,7 +44,7 @@
4444 %<*driver>
4545 \ProvidesFile{ltjsclasses.dtx}
4646 %</driver>
47- [2018/06/09 ltjsclasses ]
47+ [2018/07/02 ltjsclasses ]
4848 %<*driver>
4949 \IfFileExists{luatex85.sty}{\RequirePackage{luatex85}}{}
5050 \documentclass{ltjsarticle}
@@ -790,9 +790,13 @@
790790 %
791791 % [2017-02-17 LTJ] |\directlua|中で出力される数字のカテゴリーコードが12になるようにしました.
792792 % この保証をしないと例えば\texttt{listings}パッケージで無限ループになります.
793+%
794+% [2018-07-02 LTJ] 10ptオプションが指定されており,
795+% 実際にはオプティカルサイズの補正が不要なときは「|xreal|オプションは指定されなかった」という
796+% 扱いにしておきます.
793797 % \begin{macrocode}
794798 \ifjsc@mag@xreal
795-\ifdim\jsc@mpt=\p@\else
799+\ifdim\jsc@mpt=\p@\jsc@mag@xrealfalse\else
796800 \expandafter\let\csname OT1/cmr/m/n/10\endcsname\relax
797801 \expandafter\let\csname TU/lmr/m/n/10\endcsname\relax
798802 \expandafter\let\csname OMX/cmex/m/n/10\endcsname\relax
--- a/src/ltjskiyou.cls
+++ b/src/ltjskiyou.cls
@@ -38,7 +38,7 @@
3838 %% Right brace \} Tilde \~}
3939 \NeedsTeXFormat{LaTeX2e}
4040 \ProvidesClass{ltjskiyou}
41- [2018/06/09 ltjsclasses ]
41+ [2018/07/02 ltjsclasses ]
4242 \def\jsc@clsname{ltjskiyou}
4343 \RequirePackage{luatexja}
4444 \newif\if@restonecol
@@ -241,7 +241,7 @@ option, since LuaTeX does not support \string\mag\MessageBreak in pdf output}%
241241 \ifdim\jsc@mpt=1.2\p@ \renewcommand{\@ptsize}{2}\else
242242 \renewcommand{\@ptsize}{-20}\fi\fi
243243 \ifjsc@mag@xreal
244-\ifdim\jsc@mpt=\p@\else
244+\ifdim\jsc@mpt=\p@\jsc@mag@xrealfalse\else
245245 \expandafter\let\csname OT1/cmr/m/n/10\endcsname\relax
246246 \expandafter\let\csname TU/lmr/m/n/10\endcsname\relax
247247 \expandafter\let\csname OMX/cmex/m/n/10\endcsname\relax
--- a/src/ltjspf.cls
+++ b/src/ltjspf.cls
@@ -38,7 +38,7 @@
3838 %% Right brace \} Tilde \~}
3939 \NeedsTeXFormat{LaTeX2e}
4040 \ProvidesClass{ltjspf}
41- [2018/06/09 ltjsclasses ]
41+ [2018/07/02 ltjsclasses ]
4242 \def\jsc@clsname{ltjspf}
4343 \RequirePackage{luatexja}
4444 \newif\if@restonecol
@@ -240,7 +240,7 @@ option, since LuaTeX does not support \string\mag\MessageBreak in pdf output}%
240240 \ifdim\jsc@mpt=1.2\p@ \renewcommand{\@ptsize}{2}\else
241241 \renewcommand{\@ptsize}{-20}\fi\fi
242242 \ifjsc@mag@xreal
243-\ifdim\jsc@mpt=\p@\else
243+\ifdim\jsc@mpt=\p@\jsc@mag@xrealfalse\else
244244 \expandafter\let\csname OT1/cmr/m/n/10\endcsname\relax
245245 \expandafter\let\csname TU/lmr/m/n/10\endcsname\relax
246246 \expandafter\let\csname OMX/cmex/m/n/10\endcsname\relax
--- a/src/ltjsreport.cls
+++ b/src/ltjsreport.cls
@@ -38,7 +38,7 @@
3838 %% Right brace \} Tilde \~}
3939 \NeedsTeXFormat{LaTeX2e}
4040 \ProvidesClass{ltjsreport}
41- [2018/06/09 ltjsclasses ]
41+ [2018/07/02 ltjsclasses ]
4242 \def\jsc@clsname{ltjsreport}
4343 \RequirePackage{luatexja}
4444 \newif\if@restonecol
@@ -245,7 +245,7 @@ option, since LuaTeX does not support \string\mag\MessageBreak in pdf output}%
245245 \ifdim\jsc@mpt=1.2\p@ \renewcommand{\@ptsize}{2}\else
246246 \renewcommand{\@ptsize}{-20}\fi\fi
247247 \ifjsc@mag@xreal
248-\ifdim\jsc@mpt=\p@\else
248+\ifdim\jsc@mpt=\p@\jsc@mag@xrealfalse\else
249249 \expandafter\let\csname OT1/cmr/m/n/10\endcsname\relax
250250 \expandafter\let\csname TU/lmr/m/n/10\endcsname\relax
251251 \expandafter\let\csname OMX/cmex/m/n/10\endcsname\relax
Show on old repository browser