diff options
author | Karl Berry <karl@freefriends.org> | 2019-04-07 21:28:18 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-04-07 21:28:18 +0000 |
commit | df16dd32216e16f65d5c57028978fa3ddb2d1af8 (patch) | |
tree | 228e7569bde95d7d9c1bb5e40c820adeea72ec55 /Master/texmf-dist/tex/luatex/luatexja/patches | |
parent | 998cf23369852d6b42db0795f58ec5ca31cfc446 (diff) |
luatexja (7apr19)
git-svn-id: svn://tug.org/texlive/trunk@50851 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luatexja/patches')
-rw-r--r-- | Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-listings.sty | 3 | ||||
-rw-r--r-- | Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-microtype.sty | 37 |
2 files changed, 39 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-listings.sty b/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-listings.sty index 3f7c2208d1b..13f75e302e9 100644 --- a/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-listings.sty +++ b/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-listings.sty @@ -196,6 +196,9 @@ \expandafter\expandafter\expandafter\lst@InsideConvert% \expandafter{\the\@temptokena}\lst@arg\lst@DeInit\egroup} +%%%%%%%%%%%%%%%% \lstMakeShortInline +\patchcmd\lstMakeShortInline@{\lst@shortinlinedef#1}{\lst@shortinlinedef~}{}{} + % We redefine \lst@BeginDropInput, since now we have % two additional `process macros'. \def\lst@BeginDropInput#1{% diff --git a/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-microtype.sty b/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-microtype.sty index aacde2f22a0..8b71f591e1f 100644 --- a/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-microtype.sty +++ b/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-microtype.sty @@ -1,5 +1,5 @@ % -% lltjp-microtype.sty 2019-03-28 +% lltjp-microtype.sty 2019-03-29 % % (Work in Progress) % @@ -16,4 +16,39 @@ \ifMT@inlist@\else \xdef\MT@font@list{\expandonce{\MT@font@list}\font@name,}% \fi} + +%\endinput +\begingroup + \catcode`\/=\z@ + /MT@map@tlist@n{/\LτJCHAREX}/@makeother /lccode`/τ=`/t + /lowercase{% + /def/x{/endgroup + /def/MT@is@char##1\CHAR"##2##3##4/relax{% + %/message{MIC <##1><##2><##3><##4>}% + /ifx/relax##4/relax + /expandafter/MT@is@char@ltja/MT@strip@prefix##1/relax\LτJALCHAR\LτJALCHAR/relax + /else + /ifx/relax##1/relax + /if##3\/relax + /edef/MT@char@{/number"##2}% + /MT@ifstreq/MT@charstring{##3##4}/relax/MT@norestfalse + /else + /edef/MT@char@{/number"##2##3}% + /MT@ifstreq/MT@charstring{##4}/relax + {/MT@is@xchar##2##3|##4\CHAR"/relax}% + /fi + /fi + /fi + }% + /def/MT@is@char@ltja##1\LτJALCHAR##2\LτJALCHAR##3/relax{% + /ifx/relax##1/relax + /ifx/relax##2/relax/else + /edef/MT@char@{/number##2}% + /fi + /fi + }% + }% + } +/x + \endinput |