diff options
author | Karl Berry <karl@freefriends.org> | 2010-03-21 23:19:36 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-03-21 23:19:36 +0000 |
commit | 860fa514b1a1be7f018476deccc66764bc2edfb5 (patch) | |
tree | 286104b8c3cd83eb8940fcdc85fc2ed648f7bc76 /Master/texmf-dist/tex/latex/paresse | |
parent | 1d197d816ae20e275ccb410f6caa1b2d24688677 (diff) |
paresse 3 (21mar10)
git-svn-id: svn://tug.org/texlive/trunk@17520 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/paresse')
-rw-r--r-- | Master/texmf-dist/tex/latex/paresse/paresse.sty | 145 |
1 files changed, 88 insertions, 57 deletions
diff --git a/Master/texmf-dist/tex/latex/paresse/paresse.sty b/Master/texmf-dist/tex/latex/paresse/paresse.sty index 934e7c6ec64..9b0612cde95 100644 --- a/Master/texmf-dist/tex/latex/paresse/paresse.sty +++ b/Master/texmf-dist/tex/latex/paresse/paresse.sty @@ -7,7 +7,7 @@ %% paresse.dtx (with options: `package') %% This is a generated file. %% -%% Copyright (C) 2003-2008 Y. Henel, le TeXnicien de surface +%% Copyright (C) 2003-2010 Y. Henel, le TeXnicien de surface %% <le.texnicien.de.surface@wanadoo.fr> %% %% This file may be distributed and/or modified under the conditions of @@ -20,39 +20,46 @@ %% and version 1.2 or later is part of all distributions of LaTeX version %% 1999/12/01 or later. \NeedsTeXFormat{LaTeX2e}[1999/12/01] -\def\fileversion{v2.1} -\def\filedate{2008/08/16} +\def\fileversion{v3} +\def\filedate{2010/03/21} \def\fileinfo{fichier paresse.dtx par le TeXnicien de surface} \ProvidesPackage{paresse} [\filedate\space\fileversion\space\fileinfo] -\newif\if@optiontame \newif\if@optiontau -\newif\if@optionvareps \newif\if@optionvartheta -\newif\if@optionvarrho \newif\if@optionvarsigma -\newif\if@optionvarphi \newif\if@optionvarpi -\DeclareOption{tame}{\@optiontametrue} -\DeclareOption{wild}{\@optiontamefalse} -\DeclareOption{ttau}{\@optiontautrue} -\DeclareOption{ttheta}{\@optiontaufalse} -\DeclareOption{varepsilon}{\@optionvarepstrue} -\DeclareOption{epsilon}{\@optionvarepsfalse} -\DeclareOption{vartheta}{\@optionvarthetatrue} -\DeclareOption{theta}{\@optionvarthetafalse} -\DeclareOption{varrho}{\@optionvarrhotrue} -\DeclareOption{rho}{\@optionvarrhofalse} -\DeclareOption{varpi}{\@optionvarpitrue} -\DeclareOption{pi}{\@optionvarpifalse} -\DeclareOption{varsigma}{\@optionvarsigmatrue} -\DeclareOption{sigma}{\@optionvarsigmafalse} -\DeclareOption{varphi}{\@optionvarphitrue} -\DeclareOption{phi}{\@optionvarphifalse} +\newif\ifGA@optiontame +\newif\ifGA@optiontau +\newif\ifGA@optionvareps +\newif\ifGA@optionvartheta +\newif\ifGA@optionvarrho +\newif\ifGA@optionvarsigma +\newif\ifGA@optionvarphi +\newif\ifGA@optionvarpi +\newif\ifGA@optionlegacy +\DeclareOption{tame}{\GA@optiontametrue} +\DeclareOption{wild}{\GA@optiontamefalse} +\DeclareOption{ttau}{\GA@optiontautrue} +\DeclareOption{ttheta}{\GA@optiontaufalse} +\DeclareOption{varepsilon}{\GA@optionvarepstrue} +\DeclareOption{epsilon}{\GA@optionvarepsfalse} +\DeclareOption{vartheta}{\GA@optionvarthetatrue} +\DeclareOption{theta}{\GA@optionvarthetafalse} +\DeclareOption{varrho}{\GA@optionvarrhotrue} +\DeclareOption{rho}{\GA@optionvarrhofalse} +\DeclareOption{varpi}{\GA@optionvarpitrue} +\DeclareOption{pi}{\GA@optionvarpifalse} +\DeclareOption{varsigma}{\GA@optionvarsigmatrue} +\DeclareOption{sigma}{\GA@optionvarsigmafalse} +\DeclareOption{varphi}{\GA@optionvarphitrue} +\DeclareOption{phi}{\GA@optionvarphifalse} +\DeclareOption{legacy}{\GA@optionlegacytrue} +\DeclareOption{Levi}{\GA@optionlegacyfalse} \DeclareOption*{\PackageError{paresse} {The option \CurrentOption\space is not known!\MessageBreak The default options are:\MessageBreak - varepsilon, theta, pi, rho, sigma, and varphi.}% + legacy, varepsilon, theta, pi, rho, sigma, and varphi.}% {Choose between `wild' (for an active Paresse in all the document) \MessageBreak and `tame' (so that ^^a7 prints the paragraph symbol). \MessageBreak See the documentation for other options.}} -\ExecuteOptions{wild,varepsilon,theta,pi,rho,sigma,varphi} +\ExecuteOptions{legacy,wild,varepsilon,theta,pi,rho,sigma,varphi} \ProcessOptions\relax \count@=\catcode`\^^a7 \let\GA@LaVieilleParesse= ^^a7 @@ -70,41 +77,65 @@ \fi \newcommand{\ActiveLaParesse}{\GA@ActiveLaParesse} \newenvironment{ParesseActive}{\GA@ActiveLaParesse}{} -\if@optionvareps \def\@epsilon {\varepsilon} - \else \def\@epsilon {\epsilon} \fi -\if@optionvartheta \def\@theta {\vartheta} - \else \def\@theta {\theta} \fi -\if@optionvarpi \def\@pi {\varpi} - \else \def\@pi {\pi} \fi -\if@optionvarrho \def\@rho {\varrho} - \else \def\@rho {\rho} \fi -\if@optionvarsigma \def\@sigma {\varsigma} - \else \def\@sigma {\sigma} \fi -\if@optionvarphi \def\@phi {\varphi} - \else \def\@phi {\phi} \fi +\ifGA@optionvareps\def\GA@epsilon{\varepsilon}\else\def\GA@epsilon{\epsilon}\fi +\ifGA@optionvartheta\def\GA@theta{\vartheta}\else\def\GA@theta{\theta}\fi +\ifGA@optionvarpi\def\GA@pi{\varpi}\else\def\GA@pi{\pi}\fi +\ifGA@optionvarrho\def\GA@rho{\varrho}\else\def\GA@rho{\rho}\fi +\ifGA@optionvarsigma\def\GA@sigma{\varsigma}\else\def\GA@sigma{\sigma}\fi +\ifGA@optionvarphi\def\GA@phi{\varphi}\else\def\GA@phi{\phi}\fi \makeparesseletter -\def\^^a7a {\alpha} \def\^^a7b {\beta} -\def\^^a7g {\gamma} \def\^^a7d {\delta} -\def\^^a7e {\@epsilon} \def\^^a7z {\zeta} -\def\^^a7h {\eta} \def\^^a7v {\@theta} -\def\^^a7i {\iota} \def\^^a7k {\kappa} -\def\^^a7l {\lambda} \def\^^a7m {\mu} -\def\^^a7n {\nu} \def\^^a7x {\xi} -\def\^^a7p {\@pi} -\def\^^a7r {\@rho} \def\^^a7s {\@sigma} -\def\^^a7y {\tau} \def\^^a7u {\upsilon} -\def\^^a7f {\@phi} \def\^^a7c {\chi} -\def\^^a7q {\psi} \def\^^a7w {\omega} -\if@optiontau \def\^^a7t {\tau}\else \def\^^a7t {\@theta}\fi -\def\^^a7G {\Gamma} \def\^^a7D {\Delta} -\def\^^a7V {\Theta} \def\^^a7T {\Theta} -\def\^^a7L {\Lambda} \def\^^a7X {\Xi} -\def\^^a7P {\Pi} \def\^^a7S {\Sigma} -\def\^^a7U {\Upsilon} \def\^^a7F {\Phi} -\def\^^a7Q {\Psi} \def\^^a7W {\Omega} +\def\^^a7a {\alpha} +\def\^^a7b {\beta} +\def\^^a7g {\gamma} +\def\^^a7d {\delta} +\def\^^a7e {\GA@epsilon} +\def\^^a7z {\zeta} +\def\^^a7h {\eta} +\def\^^a7i {\iota} +\def\^^a7k {\kappa} +\def\^^a7l {\lambda} +\def\^^a7m {\mu} +\def\^^a7n {\nu} +\def\^^a7x {\xi} +\def\^^a7p {\GA@pi} +\def\^^a7r {\GA@rho} +\def\^^a7s {\GA@sigma} +\def\^^a7u {\upsilon} +\def\^^a7f {\GA@phi} +\def\^^a7w {\omega} +\ifGA@optionlegacy +\def\^^a7v {\GA@theta} +\def\^^a7y {\tau} +\def\^^a7c {\chi} +\def\^^a7q {\psi} +\ifGA@optiontau \def\^^a7t {\tau}\else \def\^^a7t {\GA@theta}\fi +\else +\def\^^a7j {\GA@theta} +\def\^^a7t {\tau} +\def\^^a7q {\chi} +\def\^^a7y {\psi} +\def\^^a7c {\varsigma} +\fi +\def\^^a7G {\Gamma} +\def\^^a7D {\Delta} +\def\^^a7L {\Lambda} +\def\^^a7P {\Pi} +\def\^^a7S {\Sigma} +\def\^^a7U {\Upsilon} +\def\^^a7F {\Phi} +\def\^^a7X {\Xi} +\def\^^a7W {\Omega} +\ifGA@optionlegacy +\def\^^a7V {\Theta} +\def\^^a7T {\Theta} +\def\^^a7Q {\Psi} +\else +\def\^^a7J {\Theta} +\def\^^a7Y {\Psi} +\fi \catcode `\^^a7=\active \def^^a7#1{\ensuremath{\csname \string^^a7#1\endcsname}} -\if@optiontame +\ifGA@optiontame \catcode`\^^a7=\count@ \ifnum\count@=13 \let ^^a7=\GA@LaVieilleParesse \fi \fi |