• R/O
  • HTTP
  • SSH
  • HTTPS

luatexja: Commit

ソースコードの管理場所


Commit MetaInfo

Revisionbe9983462bbddbca9724962608171b1fed082d77 (tree)
Time2018-05-20 09:55:26
AuthorHironori Kitagawa <h_kitagawa2001@yaho...>
CommiterHironori Kitagawa

Log Message

sync with platex/2018-05-20

Change Summary

Incremental Difference

--- a/src/patches/lltjcore.sty
+++ b/src/patches/lltjcore.sty
@@ -35,39 +35,39 @@
3535 \@bannertoken{}
3636 \def\maketombowbox{%
3737 \setbox\@TL\hbox to\z@{\yoko\hss
38- \vrule width13mm height\@tombowwidth depth\z@
38+ \vrule width\dimexpr 10mm+\@tombowbleed\relax height\@tombowwidth depth\z@
3939 \vrule height10mm width\@tombowwidth depth\z@
4040 \iftombowdate
4141 \raise4pt\hbox to\z@{\hskip5mm\@bannerfont\the\@bannertoken\hss}%
4242 \fi}%
4343 \setbox\@Tl\hbox to\z@{\yoko\hss
4444 \vrule width10mm height\@tombowwidth depth\z@
45- \vrule height13mm width\@tombowwidth depth\z@}%
45+ \vrule height\dimexpr 10mm+\@tombowbleed\relax width\@tombowwidth depth\z@}%
4646 \setbox\@TC\hbox{\yoko
4747 \vrule width10mm height\@tombowwidth depth\z@
4848 \vrule height10mm width\@tombowwidth depth\z@
4949 \vrule width10mm height\@tombowwidth depth\z@}%
5050 \setbox\@TR\hbox to\z@{\yoko
5151 \vrule height10mm width\@tombowwidth depth\z@
52- \vrule width13mm height\@tombowwidth depth\z@\hss}%
52+ \vrule width\dimexpr 10mm+\@tombowbleed\relax height\@tombowwidth depth\z@\hss}%
5353 \setbox\@Tr\hbox to\z@{\yoko
54- \vrule height13mm width\@tombowwidth depth\z@
54+ \vrule height\dimexpr 10mm+\@tombowbleed\relax width\@tombowwidth depth\z@
5555 \vrule width10mm height\@tombowwidth depth\z@\hss}%
5656 \setbox\@BL\hbox to\z@{\yoko\hss
57- \vrule width13mm depth\@tombowwidth height\z@
57+ \vrule width\dimexpr 10mm+\@tombowbleed\relax depth\@tombowwidth height\z@
5858 \vrule depth10mm width\@tombowwidth height\z@}%
5959 \setbox\@Bl\hbox to\z@{\yoko\hss
6060 \vrule width10mm depth\@tombowwidth height\z@
61- \vrule depth13mm width\@tombowwidth height\z@}%
61+ \vrule depth\dimexpr 10mm+\@tombowbleed\relax width\@tombowwidth height\z@}%
6262 \setbox\@BC\hbox{\yoko
6363 \vrule width10mm depth\@tombowwidth height\z@
6464 \vrule depth10mm width\@tombowwidth height\z@
6565 \vrule width10mm depth\@tombowwidth height\z@}%
6666 \setbox\@BR\hbox to\z@{\yoko
6767 \vrule depth10mm width\@tombowwidth height\z@
68- \vrule width13mm depth\@tombowwidth height\z@\hss}%
68+ \vrule width\dimexpr 10mm+\@tombowbleed\relax depth\@tombowwidth height\z@\hss}%
6969 \setbox\@Br\hbox to\z@{\yoko
70- \vrule depth13mm width\@tombowwidth height\z@
70+ \vrule depth\dimexpr 10mm+\@tombowbleed\relax width\@tombowwidth height\z@
7171 \vrule width10mm depth\@tombowwidth height\z@\hss}%
7272 \setbox\@CL\hbox to\z@{\yoko\hss
7373 \vrule width10mm height.5\@tombowwidth depth.5\@tombowwidth
@@ -78,11 +78,13 @@
7878 }
7979 \def\@outputtombow{%
8080 \iftombow
81- \vbox to\z@{\kern-13mm\relax
81+ \vbox to\z@{\kern-\dimexpr 10mm+\@tombowbleed\relax
8282 \boxmaxdepth\maxdimen
83- \moveleft3mm\vbox to\@@paperheight{%
84- \hbox to\@@paperwidth{\hskip3mm\relax
85- \copy\@TL\hfill\copy\@TC\hfill\copy\@TR\hskip3mm}%
83+ \moveleft\@tombowbleed\vbox to\@@paperheight{%
84+ \color@begingroup
85+ \@tombowcolor
86+ \hbox to\@@paperwidth{\hskip\@tombowbleed\relax
87+ \copy\@TL\hfill\copy\@TC\hfill\copy\@TR\hskip\@tombowbleed}%
8688 \kern-10mm
8789 \hbox to\@@paperwidth{\copy\@Tl\hfill\copy\@Tr}%
8890 \vfill
@@ -90,12 +92,25 @@
9092 \vfill
9193 \hbox to\@@paperwidth{\copy\@Bl\hfill\copy\@Br}%
9294 \kern-10mm
93- \hbox to\@@paperwidth{\hskip3mm\relax
94- \copy\@BL\hfill\copy\@BC\hfill\copy\@BR\hskip3mm}%
95+ \hbox to\@@paperwidth{\hskip\@tombowbleed\relax
96+ \copy\@BL\hfill\copy\@BC\hfill\copy\@BR\hskip\@tombowbleed}%
97+ \color@endgroup
9598 }\vss
9699 }%
97100 \fi
98101 }
102+\def\@tombowcolor{\normalcolor}
103+\def\@tombowbleed{3mm}
104+\def\@tombowreset@@paper{%
105+ \@@topmargin\topmargin
106+ \iftombow
107+ \@@paperwidth\paperwidth
108+ \advance\@@paperwidth 2\dimexpr\@tombowbleed\relax
109+ \@@paperheight\paperheight\advance\@@paperheight 10mm\relax
110+ \advance\@@paperheight 2\dimexpr\@tombowbleed\relax
111+ \advance\@@topmargin 1in\relax \advance\@themargin 1in\relax
112+ \fi
113+}
99114 \newdimen\@@paperheight
100115 \newdimen\@@paperwidth
101116 \newdimen\@@topmargin
@@ -126,12 +141,7 @@
126141 \ifnum\ltjgetparameter{direction}=3 \let\@themargin\oddsidemargin
127142 \else\let\@themargin\evensidemargin\fi
128143 \fi\fi
129- \@@topmargin\topmargin
130- \iftombow
131- \@@paperwidth\paperwidth \advance\@@paperwidth 6mm\relax
132- \@@paperheight\paperheight \advance\@@paperheight 16mm\relax
133- \advance\@@topmargin 1in\relax \advance\@themargin 1in\relax
134- \fi
144+ \@tombowreset@@paper
135145 \reset@font
136146 \normalsize
137147 \normalsfcodes
Show on old repository browser