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
Condense Mail Headers

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

Print Reply
Sender:
Mailing list for the LaTeX3 project <[log in to unmask]>
Date:
Sun, 15 Aug 2010 22:02:04 +0100
Reply-To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Message-ID:
Subject:
MIME-Version:
1.0
Content-Transfer-Encoding:
8bit
In-Reply-To:
Content-Type:
text/plain; charset=windows-1252; format=flowed
From:
Joseph Wright <[log in to unmask]>
Parts/Attachments:
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