LATEX-L Archives

Mailing list for the LaTeX3 project


Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Bruno Le Floch <[log in to unmask]>
Thu, 27 Dec 2018 09:49:26 +0100
text/plain (32 lines)
On 12/27/18 09:26, Tisha Shusho wrote:
> Hello List,
> Merry Christmas and a Happy New Year in advance.
> I want to apply the function '\exp_args:Ncnn' to
> '\fontspec_set_family:Nnn <family-passed-as-list-of-strings> <feature>
> <font>'.
> Please note the family name is defined as a variable l__..._tl. The
> reason that
> I want to 'Ncnn' (I think) is that the argument specification of the
> function
> '\fontspec_set_family' is 'Nnn'.
> However, there is no argument specification 'Ncnn' in the signature of
> '\exp_args'. Also as I understand from the LaTeX3 documents it is not
> possible to create such a variant for this function with
> '\cs_generate_variant:Nn'. Furthermore, as '\exp_args_generate:n' is
> defined in 'l3candidates' which is experimental, at the moment I have
> decided to use the following:
> \exp_args:Ncnx \fontspec_set_family:Nnn
> <family-passed-as-list-of-strings> <feature> <font>'
> Is it correct to use 'Ncnx' instead of 'Ncnn'? What is the best
> argument specification to use instead of 'Ncnx' here?
> Thanks,
> Tisha