Tag Info

New answers tagged

2

You seem to want to use bar both as a subpath and as a key in itself. Something like \documentclass{scrartcl} \usepackage{xparse} \ExplSyntaxOn \NewDocumentCommand \RULE {} { \rule { \l_tmpa_dim } { \l_tmpb_dim } } \keys_define:nn { foo } { bar .code:n = { \keys_set:nn { foo / bar } {#1} }, bar / tmpa .dim_set:N = \l_tmpa_dim, bar / ...


2

There is package kvoptions-patch. It tries to be much more conservative than xkvltxp. It only assumes that there might be key=value pairs to protect the value part (from expansion, category code changes, ...). The following example works \RequirePackage{kvoptions-patch} \documentclass[myoption={val1,val2}]{article} \usepackage[backend=biber, ...



Top 50 recent answers are included