OSDN Git Service
(root)
/
luatex-ja
/
luatexja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4f7b288
)
luatexja-fontspec.sty: Fix the error "Can be used only in preamble."
author
Kazuki Maeda
<kmaeda@users.sourceforge.jp>
Sun, 25 Sep 2011 02:01:24 +0000
(11:01 +0900)
committer
Kazuki Maeda
<kmaeda@users.sourceforge.jp>
Sun, 25 Sep 2011 02:01:24 +0000
(11:01 +0900)
src/luatexja-fontspec.sty
patch
|
blob
|
history
diff --git
a/src/luatexja-fontspec.sty
b/src/luatexja-fontspec.sty
index
5b69f7e
..
fbfbbd2
100644
(file)
--- a/
src/luatexja-fontspec.sty
+++ b/
src/luatexja-fontspec.sty
@@
-18,10
+18,12
@@
it~ cannot~ be~ used~ with~ a~ font~ that~ wasn't~ selected~ by~ luatexja-fontspec.
}
it~ cannot~ be~ used~ with~ a~ font~ that~ wasn't~ selected~ by~ luatexja-fontspec.
}
-\prg_new_conditional:Nnn \ltj_fontspec_if_liiikeys: {TF,F} {
+\cs_generate_variant:Nn \prg_new_conditional:Nnn {Nnx}
+
+\prg_new_conditional:Nnx \ltj_fontspec_if_liiikeys: {TF,F} {
\@ifpackagelater {fontspec} {2011/09/13}
\@ifpackagelater {fontspec} {2011/09/13}
- { \prg_return_true: } % fontspec >= 2.2 (l3keys)
- { \prg_return_false: } % fontspec < 2.2 (xkeyval)
+ { \
exp_not:N \
prg_return_true: } % fontspec >= 2.2 (l3keys)
+ { \
exp_not:N \
prg_return_false: } % fontspec < 2.2 (xkeyval)
}
\cs_new:Nn \ltj_fontspec_define_option:nn {
}
\cs_new:Nn \ltj_fontspec_define_option:nn {