%\iffalse % !TEX program = pdflatex % !TEX encoding = ISO-8859-1 %<*internal> \iffalse % %<*readme> --------------------------------------------------------------- The keys3opts2 package --- Using keys3 for LaTeX2e options Maintained by Joseph Wright E-mail: joseph.wright@morningstar2.co.uk Released under the LaTeX Project Public License v1.3c or later See http://www.latex-project.org/lppl.txt --------------------------------------------------------------- The keys3 package is an experimental implementation of key management for LaTeX3. The entire package is written in expl3 code rather than in traditional TeX/LaTeX. The keys3opts2 package provides a mechanism to allow load-time option processed using keys3 in LaTeX2e. % %<*internal> \fi \def\nameofplainTeX{plain} \ifx\fmtname\nameofplainTeX\else \expandafter\begingroup \fi % %<*install> \input docstrip.tex \keepsilent \askforoverwritefalse \preamble --------------------------------------------------------------- The keys3opts2 package --- Using keys3 for LaTeX2e options Maintained by Joseph Wright E-mail: joseph.wright@morningstar2.co.uk Released under the LaTeX Project Public License v1.3c or later See http://www.latex-project.org/lppl.txt --------------------------------------------------------------- EXPERIMENTAL CODE Do not distribute this file without also distributing the source files specified above. Do not distribute a modified version of this file. \endpreamble \postamble Copyright (C) 2008-2009 by Joseph Wright It may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either version 1.3c of this license or (at your option) any later version. The latest version of this license is in the file: http://www.latex-project.org/lppl.txt This work is "maintained" (as per LPPL maintenance status) by Joseph Wright. This work consists of the file keys3opts2.dtx and the derived files keys3opts2.pdf, keys3opts2.sty and keys3opts2.ins. \endpostamble \usedir{tex/latex/keys3} \generate{ \file{\jobname.sty}{\from{\jobname.dtx}{package}} } % %\endbatchfile %<*internal> \usedir{source/latex/keys3} \generate{ \file{\jobname.ins}{\from{\jobname.dtx}{install}} } \ifx\fmtname\nameofplainTeX \expandafter\endbatchfile \else \expandafter\endgroup \fi % %<*driver|package> \RequirePackage{l3names} \GetIdInfo$Id: keys3opts2.dtx 93 2009-05-03 20:34:46Z josephwright $ {Using keys3 for LaTeX2e options} % %\fi %\iffalse %<*driver> %\fi \ProvidesFile{\filename.\filenameext} [\filedate\space v\fileversion\space\filedescription] %\iffalse \documentclass[full]{l3doc} \begin{document} \DocInput{\filename.\filenameext} \end{document} % % \fi % % \title{The \textsf{keys3opts2} package^^A % \thanks{This file has version number \fileversion, last % revised \filedate.}\\ % Using \textsf{keys3} for \LaTeXe\ options} % \author{Joseph Wright^^A % \thanks{E-mail: joseph.wright@morningstar2.co.uk}} % \date{\filedate} % \maketitle % %\section{Package options} % % The methods that \LaTeX3 will use to process package options are not % clear at the present time. However, in order to fully test the % \pkg{expl3} bundle fully, it is useful to be able to work with % the \LaTeXe\ system but using \LaTeX3 methods as far as possible. % % The \pkg{keys3} package provides an experimental method for % managing key--value input using \pkg{expl3} syntax. It is % self-contained and does not use any \LaTeXe methods. On the other % hand, \pkg{keys3opts2} is intended as a ``bridge'' between the % \LaTeXe\ kernel and \textsf{keys3}. It allows keys to be created % using \pkg{keys3} and processed by \LaTeXe\ as package or class % options. % %\subsection{functions} % % \begin{function}{\keys_options_ltx:n} % \begin{syntax} % "\keys_options_ltx:n" % \end{syntax} % The only macro for outside use. Processes the current option list % using the currently defined keys, checking if they exist for % . % \end{function} % % \begin{function}{ % \keys_options_ltx_cls:n| % \keys_options_ltx_pkg:n % } % \begin{syntax} % "\keys_options_ltx_cls:n"