%% %% This is file `interfaces-appendix.sty', %% generated with the docstrip utility. %% %% The original source files were: %% %% interfaces.dtx (with options: `appendix') %% %% This is a generated file. %% %% interfaces : 2011/02/19 v3.1 - interfaces : interfaces with keys for other packages (FC) %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3 of this license or (at your option) any later %% version. The latest version of this license is in %% http://www.latex-project.org/lppl.txt %% %% This work consists of the main source file interfaces.dtx %% and the derived files %% interfaces.sty, interfaces.pdf, interfaces.ins, %% interfaces-base.sty, %% interfaces-LaTeX.sty, %% interfaces-tikz.sty, %% interfaces-titlesec.sty, %% interfaces-hyperref.sty, %% interfaces-bookmark.sty, %% interfaces-hypbmsec.sty, %% interfaces-fancyhdr.sty, %% interfaces-marks.sty, %% interfaces-tocloft.sty, %% interfaces-makecell.sty, %% interfaces-enumitem.sty, %% interfaces-truncate.sty, %% interfaces-appendix.sty, %% interfaces-embedfile.sty, %% interfaces-environ.sty, %% interfaces-umrand.sty, %% interfaces-scrlfile.sty, %% interfaces-pgfkeys.sty, %% interfaces-etoolbox.sty %% %% interfaces: interfaces with keys for other packages (FC) %% Copyright (C) 2010 by Florent Chervet %% \ProvidesPackage{interfaces-appendix} [2011/02/19 v3.1 easy control of appendices environment (FC)] \RequirePackage{interfaces-base} \itf@Check@Package{appendix} \let\itf@appendices@pp\appendices \let\itf@endappendices@pp\endappendices \let\itf@appendices@pp\appendices \let\itf@endappendices@pp\endappendices \renewenvironment{appendices}[1][]{% \pgfqkeys{/itf/appendix/appendices}{#1}% \itf@appendices@pp } {\itf@endappendices@pp}% \pgfqkeys{/itf/appendix/appendices}{% title/.store as code in cs=appendixpagename,% title/.append code=\ifx\appendixpagename\@empty \@dopage@ppfalse \else \@dopage@pptrue\fi,% title/.value required,% intoc/.is if=@dotoc@pp,% intoc/title/.store as code in cs=appendixtocname,% intoc/title/.append code=\ifx\appendixtocname\@empty \@dotoc@ppfalse \else \@dotoc@pptrue\fi,% intoc/title/.default=\pgfkeysvalueof{/itf/appendix/appendices/title},% section/.is enum={section,chapter},% section/.append code={\@chapter@ppfalse \ifnum\pgfkeysvalueof{/itf/appendix/appendices/section/.number}=\z@ \else \ifundef\chapter {\PackageWarning{interfaces-appendix} {You asked chapter-style appendices but your \MessageBreak current class does not provide chapters!}} \@chapter@pptrue \fi},% chapter/.style={section=chapter},% chapter/.value forbidden,% }% keys for appendices environment \endinput %% %% End of file `interfaces-appendix.sty'.