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:
Joseph Wright <[log in to unmask]>
Reply To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Date:
Mon, 4 Oct 2010 07:00:29 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (25 lines)
On 02/10/2010 22:17, Philipp Stephani wrote:
> Hello,
>
> chapter XXI, section 93 of the manual says about \keys_bool_set:NN:
>
> "Creates code to set ⟨bool⟩ when ⟨key⟩ is given, with setting using ⟨scope⟩ (l or g for local
> or global, respectively). ⟨bool⟩ should be a LATEX3 boolean variable."
>
> First of all, I think the scope description is incorrect since the scope is simply used to construct control sequences like \bool_set... and \bool_gset..., but there is not \bool_lset...
> The second argument of \keys_bool_set:NN should thus be empty if the assignment is to be local, in which case the argument specifier should be "n", not "N".
>
> Then line 1320 of l3keys.dtx has
>
> \keys_property_new_arg:nn { .bool_gset:N } {
>    \keys_bool_set:NN #1 n
> }
>
> Note the scope "n" instead of "g" (or rather "{g}"), which leads to an error ("Missing \begin{document}").
>

My copy of l3keys.dtx has different text in some of these places, but 
I'll check and sort this out properly for the next snapshot.
--
Joseph Wright

ATOM RSS1 RSS2