Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pgfkeys "/errors/unknown choice value" ignores parameters #224

Closed
pgf-tikz-bot opened this issue Nov 3, 2012 · 2 comments
Closed

pgfkeys "/errors/unknown choice value" ignores parameters #224

pgf-tikz-bot opened this issue Nov 3, 2012 · 2 comments

Comments

@pgf-tikz-bot
Copy link

Migrated from SourceForge
Author: nobody
Timestamp: 2012-11-03 15:10:23

the "/errors/unknown choice value" key ignores its supplied arguments, which should be the offending key and value. The current definition reads:

\pgfkeys{/errors/unknown choice value/.code 2 args=\pgfkeys@error{%
Choice '\pgfkeyscurrentname' unknown in key
'\pgfkeyscurrentpath'. I am going to ignore this key}}

But should be changed to:

\pgfkeys{/errors/unknown choice value/.code 2 args=\pgfkeys@error{%
Choice '#2' unknown in key
'#1'. I am going to ignore this key}}

@pgf-tikz-bot
Copy link
Author

Migrated from SourceForge
Author: tantau
Timestamp: 2013-07-17 10:10:18.058000

  • status: open --> closed-fixed
  • Group: --> v1.0 (example)

@pgf-tikz-bot
Copy link
Author

Migrated from SourceForge
Author: tantau
Timestamp: 2013-07-17 10:10:18.894000

Hi,

actually, changing it in the way proposed leads to an endless loop. However, this is due to the parameters passes to the error handler, which were not really correct -- and neither were they for the other error handlers. I fixed them, so that, now, also the above handler can use #1 and #2.

Fixed in CVS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant