From 29ac634381f6a33480ef3663d3208d6c3f38d6b9 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 16 Feb 2013 22:42:39 +0000 Subject: paresse (16feb13) git-svn-id: svn://tug.org/texlive/trunk@29137 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/latex/paresse/paresse.dtx | 34 +++++++++++++--------- 1 file changed, 20 insertions(+), 14 deletions(-) (limited to 'Master/texmf-dist/source/latex/paresse/paresse.dtx') diff --git a/Master/texmf-dist/source/latex/paresse/paresse.dtx b/Master/texmf-dist/source/latex/paresse/paresse.dtx index 79c32d7f3dd..7b413fdbcb3 100644 --- a/Master/texmf-dist/source/latex/paresse/paresse.dtx +++ b/Master/texmf-dist/source/latex/paresse/paresse.dtx @@ -1,9 +1,9 @@ % \iffalse meta-comment %-*- coding: iso-8859-15 -*- -% Time-stamp: <2011-04-20 16:47:35 yvon> +% Time-stamp: <2013-02-16 10:32:18 novatux> % -------------------------------------------------------------------- % -% Copyright (C) 2011 +% Copyright (C) 2011, 2013 % by Yvon Henel alias le TeXnicien de surface % % @@ -23,8 +23,8 @@ % \iffalse %\NeedsTeXFormat{LaTeX2e}[1999/12/01] %<*common> -\def\fileversion{v4} -\def\filedate{2011/04/19} +\def\fileversion{v4.1} +\def\filedate{2013/02/16} \def\fileinfo{fichier paresse par le TeXnicien de surface} % %<*package> @@ -48,9 +48,12 @@ \newcommand\BOP{\discretionary{}{}{}} \newcommand\Option[1]{\textsc{#1}} \newcommand\Pkg[1]{\textsf{#1}} -\newcommand\NOUVO{% - \marginpar{\hspace*{\stretch{1}}% - \textbf{N (v4)}\hspace*{.5em}}\xspace} +\newcommand\NOUVO[1][1]{% + \ifthenelse + {\equal{#1}{4.1}} + {\marginpar{\hspace*{\stretch{1}}% + \textbf{N (v4.1)}\hspace*{.5em}}}% + {}} % commentez la ligne suivante pour avoir un document avec le code % \OnlyDescription @@ -97,6 +100,7 @@ % \changes{v3}{2010/03/19}{Option for Sylvio \textsc{Levi}'s encoding} % \changes{v4}{2011/04/16}{Documentation of the code in English} % \changes{v4}{2011/04/16}{paresse goes utf8} +% \changes{v4.1}{2013/02/16}{Using skeyval-bc instead of (moving forward) skeyval} % % \GetFileInfo{paresse.sty} % @@ -192,20 +196,22 @@ % % \subsection{The sty file} % -% From this 4th version, I use \Pkg{skeyval} for it provides -% toggle-keys. \Pkg{skeyval} loads \Pkg{xkeyval} the macros of -% which I use to manage options. +% From the 4th version, I have used \Pkg{skeyval} for it provides +% toggle-keys. But times are a-changing and so is \Pkg{skeyval}. +% From this version 4.1, I use \Pkg{skeyval-bc} which retains the old +% ways of \Pkg{skeyval}. \Pkg{skeyval-bc} loads \Pkg{xkeyval} the +% macros of which I use to manage options. % % \Pkg{ifluatex} and \Pkg{ifxetex} are required to take care of % \hologo{LuaLaTeX} and \hologo{XeLaTeX} respectively. % % \begin{macrocode} -\RequirePackage{skeyval} +\RequirePackage{skeyval-bc} \RequirePackage{ifluatex} \RequirePackage{ifxetex} % \end{macrocode} % -% With \cmd{\define@bitogkeys}, from \Pkg{skeyval}, I define nine +% With \cmd{\define@bitogkeys}, from \Pkg{skeyval-bc}, I define nine % pairs of complementary toggle keys. If one of the pair is set to % \texttt{true}, the other will be automatically set to \texttt{false} % and vice-versa. @@ -244,7 +250,7 @@ % The prefix of the \emph{secret} macros of this package is % |GA@|. Here I define the macros which will print the correct % character according to the chosen options. \cs{iftogon} is provided -% by \Pkg{skeyval}. +% by \Pkg{skeyval-bc}. % \begin{macrocode} \iftogon{GA@varepsilon}{% \def\GA@epsilon{\varepsilon}}{\def\GA@epsilon{\epsilon}} @@ -370,7 +376,7 @@ % % This is almost the content of the version~3 of % \texttt{paresse.sty}. The changes are the use of toggles provided by -% \Pkg{skeyval} and the appearance of \PSVerb{Z} to obtain \S --- +% \Pkg{skeyval-bc} and the appearance of \PSVerb{Z} to obtain \S --- % which is always available through \cs{S}\footnote{So could I speak % of \PSVerb{Z} in terms of ``shortcut''?}. % -- cgit v1.2.3