blob: 6287324f5e0f84ece22af941df77de23aefd391b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
%
% luatexja-fontspec.sty
%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{luatexja-fontspec}[2014/12/03 fontspec support of LuaTeX-ja]
\RequirePackage{l3keys2e,luatexja}
\ExplSyntaxOn
\bool_new:N \ltj_fontspec_match
\cs_set:Nn \ltj_fontspec_pass_opts: {}
\keys_define:nn { luatexja-fontspec }
{
match .bool_set:N = \ltj_fontspec_match_bool,
match .default:n = true,
pass .code:n = \cs_set:Nn \ltj_fontspec_pass_opts: {#1},% 互換性
}
\ProcessKeysOptions { luatexja-fontspec }
\RequirePackage[\ltj_fontspec_pass_opts:]{fontspec}[2014/06/01]
%\cs_if_exist:NTF \fontspec_update_featstr:n {
% \RequirePackage{luatexja-fontspec-23}
%} {
\RequirePackage{luatexja-fontspec-24}
%}
\endinput
|