diff options
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luatexja/patches')
3 files changed, 65 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/luatex/luatexja/patches/lltjcore.sty b/Master/texmf-dist/tex/luatex/luatexja/patches/lltjcore.sty index 2e0be5dc847..86bb36babee 100644 --- a/Master/texmf-dist/tex/luatex/luatexja/patches/lltjcore.sty +++ b/Master/texmf-dist/tex/luatex/luatexja/patches/lltjcore.sty @@ -3,7 +3,7 @@ % \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{lltjcore}[2017/05/05 Patch to LaTeX2e Kernel for LuaTeX-ja] +\ProvidesPackage{lltjcore}[2017/06/18 Patch to LaTeX2e Kernel for LuaTeX-ja] \def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page @@ -304,4 +304,36 @@ \fi \fi} +%%%%%% \@tabclassz +\def\ltj@sharp{\ltjfakeboxbdd\ignorespaces\@sharp\unskip\ltjfakeboxbdd} +\def\@tabclassz{% + \ifcase\@lastchclass + \@acolampacol + \or + \@ampacol + \or + \or + \or + \@addamp + \or + \@acolampacol + \or + \@firstampfalse\@acol + \fi + \edef\@preamble{% + \@preamble{% + \ifcase\@chnum + \hfil\ltj@sharp\hfil + \or + \hskip1sp\ltj@sharp\hfil + \or + \hfil\hskip1sp\ltj@sharp + \fi}}} +\patchcmd\@classv{% + \ignorespaces\@sharp +}{% + \everypar\expandafter{\the\everypar\ltjfakeboxbdd}\ignorespaces\@sharp\unskip +}{}{} + + \endinput diff --git a/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-array.sty b/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-array.sty new file mode 100644 index 00000000000..f3361904845 --- /dev/null +++ b/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-array.sty @@ -0,0 +1,16 @@ +% +% lltjp-array.sty +% + +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{lltjp-array}[2017/06/18 Patch to preview for LuaTeX-ja] + +\RequirePackage{etoolbox,array,luatexja} + +\patchcmd\insert@column{% + \ignorespaces\@sharp\unskip +}{% + \ltj@sharp +}{}{} + +\endinput diff --git a/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-preview.sty b/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-preview.sty new file mode 100644 index 00000000000..f8a90efa05f --- /dev/null +++ b/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-preview.sty @@ -0,0 +1,16 @@ +% +% lltjp-preview.sty +% + +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{lltjp-preview}[2017/05/08 Patch to preview for LuaTeX-ja] + +\RequirePackage{etoolbox,preview,luatexja} + +\patchcmd\pr@endbox{% + \pr@ship@end +}{% + \setbox\pr@box\hbox{\yoko\box\pr@box}\pr@ship@end +}{}{} + +\endinput |