From a370665e727240e95c3923cc67f46a112a5374b9 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 7 Sep 2015 22:26:20 +0000 Subject: withargs (7sep15) git-svn-id: svn://tug.org/texlive/trunk@38320 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/withargs/withargs-packagedoc.cls | 8 +++++++- Master/texmf-dist/tex/latex/withargs/withargs.sty | 4 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) (limited to 'Master/texmf-dist/tex/latex/withargs') diff --git a/Master/texmf-dist/tex/latex/withargs/withargs-packagedoc.cls b/Master/texmf-dist/tex/latex/withargs/withargs-packagedoc.cls index bf648d019f4..856e25a7ab7 100644 --- a/Master/texmf-dist/tex/latex/withargs/withargs-packagedoc.cls +++ b/Master/texmf-dist/tex/latex/withargs/withargs-packagedoc.cls @@ -24,7 +24,7 @@ % Document Class % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\LoadClassWithOptions{l3doc} +\LoadClassWithOptions{withargs-old-l3doc} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Importing The Main Package % @@ -280,6 +280,11 @@ \interesting \AfterEndEnvironment{macrocode}{\vskip\belowdisplayskip\interesting\NoIndentAfterThis} +%%% Short inline code listings +% +\lstMakeShortInline[style=examplecode]| + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Argument Specifiers and such % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -301,6 +306,7 @@ \describeanymacro{\meta{#1}}{#2}% } + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Other Stuff % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/Master/texmf-dist/tex/latex/withargs/withargs.sty b/Master/texmf-dist/tex/latex/withargs/withargs.sty index 408878b7fcc..be1647d9749 100644 --- a/Master/texmf-dist/tex/latex/withargs/withargs.sty +++ b/Master/texmf-dist/tex/latex/withargs/withargs.sty @@ -46,7 +46,7 @@ % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} \RequirePackage{expl3} -\ProvidesExplPackage{withargs}{2013/10/11}{0.0.2} +\ProvidesExplPackage{withargs}{2015/09/07}{0.1.0} {an inline construct for passing token lists as TeX parameters} % \end{macrocode} % @@ -272,7 +272,7 @@ % We can then call the right variant of |\withargs:|. % % \begin{macrocode} - \int_case:nnn {\l__with_arg_int} { + \int_case:nnF {\l__with_arg_int} { {1} { \__withargs_var:nx1{#1} {#2} {#9} } {2} { \__withargs_var:nx2{#1} {#2}{#3} {#9} } {3} { \__withargs_var:nx3{#1} {#2}{#3}{#4} {#9} } -- cgit v1.2.3