Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'd like to report an issue I encountered with the l3keys sub-package of l3kernel (Hope it is ok to be done here). The test code at the end produces the error

! Undefined control sequence.
<argument> \l_keys_choice_int

test code:

\documentclass{article}
\usepackage{expl3}

\ExplSyntaxOn
\keys_define:nn{user}{
  colour .choice_code:n = {\l_keys_choice_tl},
  colour .generate_choices:n = {black,white},
  colour .default:n = {black},
}
\newcommand\cat[1][colour]{\keys_set:nn{user}{#1}}
\ExplSyntaxOff

\begin{document}
My cat is \cat. Your cat is \cat[colour=white].
\end{document}
share|improve this question
1  
For 'out and out' bugs like this, the bug database (github.com/latex3/svn-mirror/issues) would be a good place to log things. –  Joseph Wright Jun 6 '11 at 11:03
add comment

1 Answer

up vote 3 down vote accepted

Somehow this particular variable seems to have gone missing in the code. I will of course sort that out: the fix is trivial and should be at CTAN very soon. I will also add this to the test file: this has been missed by our automated test suite.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.