[texhax] Collecting unknown options with pgfkeys

José Romildo Malaquias j.romildo at gmail.com
Mon May 10 18:31:19 CEST 2010


In the attached LaTeX document all options that are unknown to \pgfkeys
in the path /test should be collected into a macro \test at unknown, and
later on they can be used as options to another command. It works for
me, except that when no value is given to the key, it keeps the
\pgfkeysnovalue macro as the value of the key in the saved option.

I need help removing the =\pgfkeysnovalue from the saved key that
originally has no value. Anyone?

I am trying to do something similar to what \setkeys*{fam}{options} from
the xkeyval package does, where all unknown options are appended into the
\XKV at rm macro, instead of raising an error.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-pgfkeys-3.tex
Type: application/x-tex
Size: 991 bytes
Desc: not available
URL: <http://tug.org/pipermail/texhax/attachments/20100510/828a75cb/attachment.tex>

More information about the texhax mailing list