|
113 | 113 | degree .choices:nn = |
114 | 114 | { doctor , master , bachelor } |
115 | 115 | { |
116 | | - % To be compatible with TeX Live 2017 (2018-08-23): |
117 | | - % \str_set:NV -> \str_set:NV |
118 | | - \str_set:NV \l__ustc_degree_str \l_keys_value_tl |
| 116 | + % Make compatible with TeX Live 2017 (2017/05/13): |
| 117 | + \exp_args:NNV \str_set:Nn \l__ustc_degree_str \l_keys_choice_tl |
119 | 118 | \str_if_eq:VnTF \l__ustc_degree_str { bachelor } |
120 | 119 | { \bool_set_false:N \l__ustc_degree_graduate_bool } |
121 | 120 | { \bool_set_true:N \l__ustc_degree_graduate_bool } |
122 | 121 | \l__ustc_degree_hook_tl |
123 | 122 | } , |
124 | 123 | degree-type .choices:nn = |
125 | 124 | { academic , professional , engineering } |
126 | | - { \str_set:NV \l__ustc_degree_type_str \l_keys_value_tl } , |
| 125 | + { \exp_args:NNV \str_set:Nn \l__ustc_degree_type_str \l_keys_choice_tl } , |
127 | 126 | language .choices:nn = |
128 | 127 | { chinese , english } |
129 | 128 | { |
130 | | - \str_set:NV \l__ustc_language_str \l_keys_value_tl |
| 129 | + \exp_args:NNV \str_set:Nn \l__ustc_language_str \l_keys_choice_tl |
131 | 130 | \str_if_eq:VnTF \l__ustc_language_str { chinese } |
132 | 131 | { \bool_set_true:N \l__ustc_language_chinese_bool } |
133 | 132 | { \bool_set_false:N \l__ustc_language_chinese_bool } |
|
137 | 136 | reviewer .bool_set:N = \l__ustc_reviewer_bool , |
138 | 137 | fontset .choices:nn = |
139 | 138 | { auto , windows , mac , ubuntu , fandol , none } |
140 | | - { \str_set:NV \l__ustc_fontset_str \l_keys_value_tl } , |
| 139 | + { \exp_args:NNV \str_set:Nn \l__ustc_fontset_str \l_keys_choice_tl } , |
141 | 140 | font .choices:nn = |
142 | 141 | { auto , times , termes , stix , xits , libertinus , newcm , lm , newtx , cm , none } |
143 | 142 | { |
144 | | - \str_set:NV \l__ustc_font_str \l_keys_value_tl |
| 143 | + \exp_args:NNV \str_set:Nn \l__ustc_font_str \l_keys_choice_tl |
145 | 144 | \l__ustc_font_hook_tl |
146 | 145 | } , |
147 | 146 | cjk-font .choices:nn = |
148 | 147 | { auto , windows , mac , noto , fandol , none } |
149 | 148 | { |
150 | | - \str_set:NV \l__ustc_cjk_font_str \l_keys_value_tl |
| 149 | + \exp_args:NNV \str_set:Nn \l__ustc_cjk_font_str \l_keys_choice_tl |
151 | 150 | \l__ustc_cjk_font_hook_tl |
152 | 151 | } , |
153 | 152 | math-font .choices:nn = |
154 | 153 | { auto , stix , xits , libertinus , newcm , cm , lm , newtx , none } |
155 | 154 | { |
156 | | - \str_set:NV \l__ustc_math_font_str \l_keys_value_tl |
| 155 | + \exp_args:NNV \str_set:Nn \l__ustc_math_font_str \l_keys_choice_tl |
157 | 156 | \l__ustc_math_font_hook_tl |
158 | 157 | } , |
159 | 158 | math-style .choices:nn = |
160 | 159 | { TeX, ISO , GB } |
161 | 160 | { |
162 | | - \str_set:NV \l__ustc_math_style_str \l_keys_value_tl |
| 161 | + \exp_args:NNV \str_set:Nn \l__ustc_math_style_str \l_keys_choice_tl |
163 | 162 | \l__ustc_math_style_hook_tl |
164 | 163 | } , |
165 | 164 | uppercase-greek .choice: , |
|
185 | 184 | { \bool_set_false:N \l__ustc_partial_upright_bool } , |
186 | 185 | math-ellipsis .choices:nn = |
187 | 186 | { centered , lower , AMS } |
188 | | - { \str_set:NV \l__ustc_math_ellipsis_str \l_keys_value_tl } , |
| 187 | + { \exp_args:NNV \str_set:Nn \l__ustc_math_ellipsis_str \l_keys_choice_tl } , |
189 | 188 | real-part .choice: , |
190 | 189 | real-part / roman .code:n = |
191 | 190 | { \bool_set_true:N \l__ustc_real_part_roman_bool } , |
|
194 | 193 | cite-style .choices:nn = |
195 | 194 | { super , inline , authoryear } |
196 | 195 | { |
197 | | - \str_set:NV \l__ustc_cite_style_str \l_keys_value_tl |
| 196 | + \exp_args:NNV \str_set:Nn \l__ustc_cite_style_str \l_keys_choice_tl |
198 | 197 | \l__ustc_cite_style_hook_tl |
199 | 198 | } , |
200 | 199 | output .choice: , |
|
0 commit comments