• R/O
  • HTTP
  • SSH
  • HTTPS

luatexja: Commit

ソースコードの管理場所


Commit MetaInfo

Revisãoec2711062b5cf4ef9cc5a12ef9d537157375f446 (tree)
Hora2020-03-25 05:23:29
AutorHironori Kitagawa <h_kitagawa2001@yaho...>
CommiterHironori Kitagawa

Mensagem de Log

Forgot to commit lltjp-listings.sty

Mudança Sumário

Diff

--- a/src/luatexja.sty
+++ b/src/luatexja.sty
@@ -41,7 +41,7 @@
4141 \ProcessOptions\relax
4242 \fi %</LaTeX>
4343 %%%% VERSION
44-\def\LuaTeXjaversion{20200323.0}
44+\def\LuaTeXjaversion{20200326.0}
4545
4646 \directlua{require('ltj-unicode-ccfix.lua')}% catcode of ideographs
4747
--- a/src/patches/lltjp-listings.sty
+++ b/src/patches/lltjp-listings.sty
@@ -3,7 +3,7 @@
33 %
44
55 \NeedsTeXFormat{LaTeX2e}
6-\RequirePackage{listings,luatexbase-cctb}
6+\RequirePackage{etoolbox,listings,luatexbase-cctb}
77
88 %%%%%%%%%%%%%%%% Japanese support
99 %% whether letter-space in a fixed mode box is doubled or not
@@ -30,6 +30,15 @@
3030 \def\lst@FillFixed@#1{%
3131 \ifx\@empty#1\else\ltj@lst@hss{\null#1\null}\expandafter\lst@FillFixed@\fi}
3232 \let\lst@FillOutputBox\lst@FillFixed
33+% [space/full]flexiblemode (not much useful...)
34+\def\ltj@lst@FillFlex#1\@empty{\null#1\null}
35+\patchcmd\lst@column@flexible
36+ {\let\lst@FillOutputBox\@empty}{\let\lst@FillOutputBox\ltj@lst@FillFlex}{}{}
37+\patchcmd\lst@column@fullflexible
38+ {\let\lst@FillOutputBox\@empty}{\let\lst@FillOutputBox\ltj@lst@FillFlex}{}{}
39+\patchcmd\lst@column@spaceflexible
40+ {\let\lst@FillOutputBox\@empty}{\let\lst@FillOutputBox\ltj@lst@FillFlex}{}{}
41+
3342
3443 \directlua{
3544 local cat_str = luatexbase.catcodetables['string']
Show on old repository browser