LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

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

Print Reply
Sender: Mailing list for the LaTeX3 project <[log in to unmask]>
Date: Thu, 11 Nov 2010 13:06:25 +0100
Reply-To: Mailing list for the LaTeX3 project <[log in to unmask]>
Message-ID: <[log in to unmask]>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
In-Reply-To: <[log in to unmask]>
Content-Type: text/plain; charset=UTF-8
From: Rémy Oudompheng <[log in to unmask]>
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