LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Forum View

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

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

Print Reply
Subject:
From:
Rémy Oudompheng <[log in to unmask]>
Reply To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Date:
Thu, 11 Nov 2010 13:06:25 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (23 lines)
Another l3keys puzzle : the following code

\documentclass{minimal}
\usepackage{expl3}
\begin{document}
\ExplSyntaxOn
\keys_define:nn {module} {
  a .default:n = Alice ,
  a .code:n = Hello #1 ,
}
\keys_set:nn {module} {a}
\ExplSyntaxOff
\end{document}

produces "Hello ", but if I swap the "default:n" and "code:n" line, I
get "Hello Alice".

The example from the documentation (latex3-source.pdf) also puts the
"default:n" line last. Is that mandatory ?

-- 
Rémy.

ATOM RSS1 RSS2