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
Show All Mail Headers

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

Print Reply
Joseph Wright <[log in to unmask]>
Sun, 15 Aug 2010 22:02:04 +0100
text/plain (31 lines)
On 15/08/2010 21:43, Arno Trautmann wrote:
> Hi all,
>
> is there a possibility to use package options, i.e.
>
> \usepackage[figure]{mypackage}
>
> via expl3? I didnít find anything in l3keys Ė do I have to use xkeyval
> for package option processing?
>
> cheers
> Arno
>

Hello Arno,

This is what l3keys2e is for: l3keys does the 'LaTeX3' side, l3keys2e 
does the 'LaTeX2e interface' part. You want

   \RequirePackage{l3keys2e}
   \ProcessKeysOptions{<module>}

or

   \RequirePackage{l3keys2e}
   \ProcessKeysPackageOptions{<module>}

depending on whether global options should be parsed.
-- 
Joseph Wright

ATOM RSS1 RSS2