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
lltjp-geometry.sty: fix 'Incomplete \ifdefined' error
[luatex-ja/luatexja.git]
/
src
/
patches
/
lltjp-geometry.sty
diff --git
a/src/patches/lltjp-geometry.sty
b/src/patches/lltjp-geometry.sty
index
ff5ca94
..
1ac1cc0
100644
(file)
--- a/
src/patches/lltjp-geometry.sty
+++ b/
src/patches/lltjp-geometry.sty
@@
-20,7
+20,8
@@
\RequirePackage{filehook}
\newif\ifGm@ltj@layoutswitch
\let\orig@PackageWarningNoLine=\PackageWarningNoLine
\RequirePackage{filehook}
\newif\ifGm@ltj@layoutswitch
\let\orig@PackageWarningNoLine=\PackageWarningNoLine
-\ifdefined\ifGm@swap@papersize\else\newif\ifGm@swap@papersize\fi
+% define ifGm@swap@papersize if it is undefined
+\expandafter\newif\csname ifGm@swap@papersize\endcsname
\AtBeginOfPackageFile{geometry}{%
\edef\Gm@ltj@topskip{\the\topskip}
\AtBeginOfPackageFile{geometry}{%
\edef\Gm@ltj@topskip{\the\topskip}