• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

ソースコードの管理場所


Commit MetaInfo

Revision7acf3117b9a92f170caca631886b2f0b7133c900 (tree)
Time2016-05-05 15:17:56
AuthorKazuki Maeda <kmaeda@kmae...>
CommiterKazuki Maeda

Log Message

Patches from pLaTeX 2016/04/17.

Change Summary

Incremental Difference

--- a/src/patches/lltjcore.sty
+++ b/src/patches/lltjcore.sty
@@ -1,10 +1,10 @@
11 %
22 % lltjcore.sty: derived from plcore.dtx in pLaTeX.
33 % This file does not include the code relating to "tategaki".
4-%
4+%
55
66 \NeedsTeXFormat{LaTeX2e}
7-\ProvidesPackage{lltjcore}[2016/04/01 Patch to LaTeX2e Kernel for LuaTeX-ja]
7+\ProvidesPackage{lltjcore}[2016/05/05 Patch to LaTeX2e Kernel for LuaTeX-ja]
88
99 \def\cleardoublepage{\clearpage\if@twoside
1010 \ifodd\c@page
@@ -165,10 +165,12 @@
165165 \stepcounter{page}%
166166 \let\firstmark\botmark
167167 }
168-\renewcommand\@makefnmark{\hbox{%
168+
169+%%% Remove extra xkanjiskip
170+\renewcommand\@makefnmark{%
169171 \unless\ifnum\ltjgetparameter{direction}=3
170- \@textsuperscript{\normalfont\@thefnmark}%
171- \else\hbox{\yoko \@textsuperscript{\normalfont\@thefnmark}}\fi}}
172+ \hbox{}\hbox{\@textsuperscript{\normalfont\@thefnmark}}\hbox{}%
173+ \else\hbox{\yoko \@textsuperscript{\normalfont\@thefnmark}}\fi}
172174 \def\@footnotemark{\leavevmode
173175 \ifhmode\edef\@x@sf{\the\spacefactor}\nobreak\fi
174176 \unless\ifnum\ltjgetparameter{direction}=3 \@makefnmark
@@ -198,6 +200,34 @@
198200 \gdef\@stopfield{\null\color@endgroup\egroup}
199201 \newcount\hour
200202 \newcount\minute
203+\def\@tabular{\leavevmode \null\hbox \bgroup $\let\@acol\@tabacol
204+ \let\@classz\@tabclassz
205+ \let\@classiv\@tabclassiv \let\\\@tabularcr\@tabarray}
206+\def\endtabular{\crcr\egroup\egroup $\egroup\null}
207+\expandafter \let \csname endtabular*\endcsname = \endtabular
208+\let\@parboxto\@empty
209+\long\def\@iiiparbox#1#2[#3]#4#5{%
210+ \leavevmode
211+ \@pboxswfalse
212+ \setlength\@tempdima{#4}%
213+ \@begin@tempboxa\vbox{\hsize\@tempdima\@parboxrestore#5\@@par}%
214+ \ifx\relax#2\else
215+ \setlength\@tempdimb{#2}%
216+ \edef\@parboxto{to\the\@tempdimb}%
217+ \fi
218+ \if#1b\vbox
219+ \else\if #1t\vtop
220+ \else\ifmmode\vcenter
221+ \else\@pboxswtrue\null$\vcenter% !!!
222+ \fi\fi\fi
223+ \@parboxto{\let\hss\vss\let\unhbox\unvbox
224+ \csname bm@#3\endcsname}%
225+ \if@pboxsw \m@th$\null\fi% !!!
226+ \@end@tempboxa}
227+\def\underline#1{%
228+ \relax
229+ \ifmmode\@@underline{#1}%
230+ \else \leavevmode\null$\@@underline{\hbox{#1}}\m@th$\null\relax\fi}
201231
202232 %%% AtBeginDvi
203233 \def \AtBeginDvi #1{%
--- a/src/patches/lltjdefs.sty
+++ b/src/patches/lltjdefs.sty
@@ -3,7 +3,7 @@
33 %
44
55 \NeedsTeXFormat{LaTeX2e}
6-\ProvidesPackage{lltjdefs}[2016/01/30 Default font settings of LuaTeX-ja]
6+\ProvidesPackage{lltjdefs}[2016/05/05 Default font settings of LuaTeX-ja]
77
88 \def\ltj@stdmcfont{IPAExMincho}
99 \def\ltj@stdgtfont{IPAExGothic}
@@ -69,6 +69,11 @@
6969 {\not@math@alphabet\ttfamily\mathtt
7070 \romanfamily\ttdefault
7171 \if@ltj@match@family\kanjifamily\jttdefault\fi\selectfont}
72+%%% \eminnershape
73+\DeclareRobustCommand\em
74+ {\@nomath\em \ifdim \fontdimen\@ne\font >\z@
75+ \eminnershape \else \gtfamily \itshape \fi}
76+\def\eminnershape{\mcfamily \upshape}
7277
7378 \ltjdefcharrange{1}{"80-"36F, "1E00-"1EFF}
7479 \ltjdefcharrange{2}{"370-"4FF, "1F00-"1FFF}