• R/O
  • HTTP
  • SSH
  • HTTPS

luatexja: Commit

ソースコードの管理場所


Commit MetaInfo

Revisão1e633314cb8884a7909cdd0e8994081b969b1d6c (tree)
Hora2014-11-23 11:22:46
AutorKazuki Maeda <kmaeda@kmae...>
CommiterKazuki Maeda

Mensagem de Log

lltjp-geometry.sty: reset \maxdepth to 1\Cht.

Mudança Sumário

Diff

--- a/src/patches/lltjp-geometry.sty
+++ b/src/patches/lltjp-geometry.sty
@@ -8,7 +8,7 @@
88 \RequirePackage{filehook}
99
1010 \AtEndOfPackageFile{geometry}{%
11-\ifnum\ltjgetparameter{direction}=3%
11+\ifnum\ltjgetparameter{direction}=3
1212 \define@key{Gm}{hdivide}{\Gm@parse@divide{#1}{tmargin}{width}{bmargin}}%
1313 \define@key{Gm}{vdivide}{\Gm@parse@divide{#1}{rmargin}{height}{lmargin}}%
1414 \define@key{Gm}{divide}{\Gm@parse@divide{#1}{tmargin}{width}{bmargin}%
@@ -151,11 +151,13 @@
151151 \fi
152152 \fi
153153 \ifx\Gm@lines\@undefined\else
154- \ifdim\topskip<\ht\strutbox
154+ \setlength\maxdepth{1\Cht}%
155+ \setlength\topskip{.5\maxdepth}%
156+ \ifdim\topskip<\ht\tstrutbox
155157 \setlength\@tempdima{\topskip}%
156- \setlength\topskip{\ht\strutbox}%
158+ \setlength\topskip{\ht\tstrutbox}%
157159 \Gm@warning{\noexpand\topskip was changed from \the\@tempdima\space
158- to \the\topskip}%
160+ to \the\topskip}%
159161 \fi
160162 \setlength\@tempdima{\baselineskip}%
161163 \multiply\@tempdima\Gm@lines
@@ -164,7 +166,7 @@
164166 \edef\Gm@textheight{\the\@tempdima}%
165167 \fi
166168 \ifx\Gm@textheight\@undefined\else
167- \edef\Gm@height{\the\textheight}%
169+ \edef\Gm@height{\Gm@textheight}%
168170 \fi
169171 \fi}%
170172 \def\Gm@@process{%
Show on old repository browser