OSDN Git Service
(root)
/
luatex-ja
/
luatexja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Dnode -> node.direct (WIP)
[luatex-ja/luatexja.git]
/
src
/
patches
/
lltjcore.sty
diff --git
a/src/patches/lltjcore.sty
b/src/patches/lltjcore.sty
index
7cc4dd2
..
2b301d8
100644
(file)
--- a/
src/patches/lltjcore.sty
+++ b/
src/patches/lltjcore.sty
@@
-4,7
+4,7
@@
%
\NeedsTeXFormat{LaTeX2e}
%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{lltjcore}[201
3/05/14
Patch to LaTeX2e Kernel for LuaTeX-ja]
+\ProvidesPackage{lltjcore}[201
6/04/01
Patch to LaTeX2e Kernel for LuaTeX-ja]
\def\cleardoublepage{\clearpage\if@twoside
\ifodd\c@page
\def\cleardoublepage{\clearpage\if@twoside
\ifodd\c@page
@@
-79,6
+79,7
@@
\def\@outputtombow{%
\iftombow
\vbox to\z@{\kern-13mm\relax
\def\@outputtombow{%
\iftombow
\vbox to\z@{\kern-13mm\relax
+ \boxmaxdepth\maxdimen
\moveleft3mm\vbox to\@@paperheight{%
\hbox to\@@paperwidth{\hskip3mm\relax
\copy\@TL\hfill\copy\@TC\hfill\copy\@TR\hskip3mm}%
\moveleft3mm\vbox to\@@paperheight{%
\hbox to\@@paperwidth{\hskip3mm\relax
\copy\@TL\hfill\copy\@TC\hfill\copy\@TR\hskip3mm}%
@@
-100,7
+101,7
@@
\newdimen\@@topmargin
\def\@outputpage{%
\begingroup % the \endgroup is put in by \aftergroup
\newdimen\@@topmargin
\def\@outputpage{%
\begingroup % the \endgroup is put in by \aftergroup
- \ifnum\ltjgetparameter{direction}=
3
+ \ifnum\ltjgetparameter{direction}=
4\else
\dimen\z@\textwidth \textwidth\textheight \textheight\dimen\z@
\fi
\let \protect \noexpand
\dimen\z@\textwidth \textwidth\textheight \textheight\dimen\z@
\fi
\let \protect \noexpand
@@
-193,7
+194,11
@@
\unless\ifnum\ltjgetparameter{direction}=3 \@makefnmark
\else\hbox to\z@{\hskip-.25\zw\raise.9\zh\@makefnmark\hss}\fi
\ifhmode\spacefactor\@x@sf\fi\relax}
\unless\ifnum\ltjgetparameter{direction}=3 \@makefnmark
\else\hbox to\z@{\hskip-.25\zw\raise.9\zh\@makefnmark\hss}\fi
\ifhmode\spacefactor\@x@sf\fi\relax}
-\def\@setref#1#2#3{%
+\begingroup
+\@ifpackageloaded{hyperref}
+ {\def\ltj@setrefprefix{real}}
+ {\def\ltj@setrefprefix{}}
+\expandafter\gdef\csname \ltj@setrefprefix @setref\endcsname#1#2#3{%
\ifx#1\relax
\protect\G@refundefinedtrue
\nfss@text{\reset@font\bfseries ??}%
\ifx#1\relax
\protect\G@refundefinedtrue
\nfss@text{\reset@font\bfseries ??}%
@@
-202,6
+207,7
@@
\else
\expandafter#2#1\relax% change \null to \relax
\fi}
\else
\expandafter#2#1\relax% change \null to \relax
\fi}
+\endgroup
\if@compatibility\else
\def\verb{\relax\ifmmode\hbox\else\leavevmode\fi
\bgroup
\if@compatibility\else
\def\verb{\relax\ifmmode\hbox\else\leavevmode\fi
\bgroup
@@
-246,7
+252,7
@@
\@texttop
\dimen@ \dp\@outputbox
\unvbox \@outputbox
\@texttop
\dimen@ \dp\@outputbox
\unvbox \@outputbox
- \ifnum\ltjgetparameter{direction}=
3
\hskip\z@\fi %%% LuaTeX-ja
+ \ifnum\ltjgetparameter{direction}=
4\else
\hskip\z@\fi %%% LuaTeX-ja
\vskip -\dimen@
\@textbottom
}%
\vskip -\dimen@
\@textbottom
}%