diff options
author | Karl Berry <karl@freefriends.org> | 2010-01-01 01:30:46 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-01-01 01:30:46 +0000 |
commit | 71b40e8ec749d2bdb93cf522e3dbe5e10ddf8693 (patch) | |
tree | f25f42c276e5e51b984f9695080a5aa8dcdba134 /Master/texmf-dist/tex/latex/engpron | |
parent | 190be0f375907ce109add95341d6e9b85c60afba (diff) |
engpron ^^ update from non-tds.zip
git-svn-id: svn://tug.org/texlive/trunk@16558 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/engpron')
-rw-r--r-- | Master/texmf-dist/tex/latex/engpron/engpron-tools.sty | 96 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/engpron/engpron.sty | 72 |
2 files changed, 132 insertions, 36 deletions
diff --git a/Master/texmf-dist/tex/latex/engpron/engpron-tools.sty b/Master/texmf-dist/tex/latex/engpron/engpron-tools.sty new file mode 100644 index 00000000000..9aab544ef39 --- /dev/null +++ b/Master/texmf-dist/tex/latex/engpron/engpron-tools.sty @@ -0,0 +1,96 @@ +%% +%% This is file `engpron-tools.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% engpron.dtx (with options: `doc-sty') +%% This is a generated file. +%% +%% Copyright (C) 2003-2008 Y. Henel, le TeXnicien de surface +%% <le.texnicien.de.surface@wanadoo.fr> +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.2 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 +%% +%% and version 1.2 or later is part of all distributions of LaTeX version +%% 1999/12/01 or later. +\def\docdate{2008/08/15} +\ProvidesPackage{engpron-tools} +\RequirePackage[a4paper,% + inner=5cm,% + outer=2cm,% + marginparwidth=5cm]{geometry} +\RequirePackage{fancyvrb} +\AtBeginDocument{\DefineShortVerb{\|}} +\newcommand\BOP{\discretionary{}{}{}} +\newcommand\Option[1]{\textsc{#1}} +\newcommand\Pkg[1]{\textsf{#1}} +\newcommand{\TO}{\textemdash\ \ignorespaces} +\newcommand{\TF}{\unskip\ \textemdash\xspace} +\newcommand{\CAD}{c.-^^e0-d.\xspace} +\newcommand\NOUVEAU[1]{{\slshape #1}} +\newcommand\Sourire{\texttt{\string;-)}} +%%% piqu^^e9 dans doc.sty +\DeclareRobustCommand\meta[1]{% + \ensuremath\langle + \ifmmode \expandafter \nfss@text \fi + {% + \meta@font@select + \edef\meta@hyphen@restore + {\hyphenchar\the\font\the\hyphenchar\font}% + \hyphenchar\font\m@ne + \language\l@nohyphenation + #1\/% + \meta@hyphen@restore + }\ensuremath\rangle +} +\def\meta@font@select{\itshape} + +\def\GetFileInfo#1{% + \def\filename{#1}% + \def\@tempb##1 ##2 ##3\relax##4\relax{% + \def\filedate{##1}% + \def\fileversion{##2}% + \def\fileinfo{##3}}% + \edef\@tempa{\csname ver@#1\endcsname}% + \expandafter\@tempb\@tempa\relax? ? \relax\relax} + +%%% piqu^^e9 dans ltxdoc.cls +\DeclareRobustCommand\cs[1]{\texttt{\char`\\#1}} +\providecommand\marg[1]{% + {\ttfamily\char`\{}\meta{#1}{\ttfamily\char`\}}} +\providecommand\oarg[1]{% + {\ttfamily[}\meta{#1}{\ttfamily]}} +\providecommand\parg[1]{% + {\ttfamily(}\meta{#1}{\ttfamily)}} + +%%% red^^e9finitions et d^^e9finitions +\newcommand\PrintDescribeMacro[1]{\cs{#1}} +\newcommand\PrintDescribePoundMacro[1]{\texttt{^^a3#1}} +\def\DescribePoundMacro{\leavevmode\@bsphack + \begingroup\Describe@PoundMacro} +\def\Describe@PoundMacro#1{\endgroup + \marginpar{\raggedleft\PrintDescribePoundMacro{#1}}% + \index{^^a3#1@\PrintDescribePoundMacro{#1}}\@esphack\ignorespaces} +\def\DescribeMacro{\leavevmode\@bsphack + \begingroup\Describe@Macro} +\def\Describe@Macro#1{\endgroup + \marginpar{\raggedleft\PrintDescribeMacro{#1}}% + \index{#1@\PrintDescribeMacro{#1}}\@esphack\ignorespaces} +\newcommand\DescribeOption[1]{\@bsphack + \marginpar{\raggedleft\textsc{#1}}% + \index{#1@\Option{#1} (option)}% + \index{option!\Option{#1}}\@esphack\ignorespaces} +\newcommand\DescribeEnv[1]{\@bsphack + \marginpar{\raggedleft\texttt{#1}}% + \index{#1@\texttt{#1} (environnement)}% + \index{environnement!\texttt{#1}}\@esphack\ignorespaces} +\reversemarginpar +\endinput +%% +%% End of file `engpron-tools.sty'. diff --git a/Master/texmf-dist/tex/latex/engpron/engpron.sty b/Master/texmf-dist/tex/latex/engpron/engpron.sty index 36811989aac..be3b651bb6e 100644 --- a/Master/texmf-dist/tex/latex/engpron/engpron.sty +++ b/Master/texmf-dist/tex/latex/engpron/engpron.sty @@ -65,16 +65,16 @@ The possible options are (the first is the default):\MessageBreak \ProcessOptions\relax \ifthenelse{\boolean{b@drac}}{\RequirePackage{drac}}{} \let\l@viellelivre=\pounds -\newcommand{\EP@ActiveL@Livre}{\catcode `\£=\active} +\newcommand{\EP@ActiveL@Livre}{\catcode `\^^a3=\active} \ifthenelse{\boolean{b@drac}}% {\newcommand{\ActiveLaLivre}{\EP@ActiveL@Livre% - \ReDeclareRobActChar{£}[1]{\csname \string£##1\endcsname}}} + \ReDeclareRobActChar{^^a3}[1]{\csname \string^^a3##1\endcsname}}} {\newcommand{\ActiveLaLivre}{\EP@ActiveL@Livre% - \def£##1{\csname\string£##1\endcsname}}} -\newcommand{\makepoundletter}{\catcode`\£11\relax} -\newcommand{\makepoundother}{\catcode`\£12\relax} + \def^^a3##1{\csname\string^^a3##1\endcsname}}} +\newcommand{\makepoundletter}{\catcode`\^^a311\relax} +\newcommand{\makepoundother}{\catcode`\^^a312\relax} \newenvironment{LivreActive}{\ActiveLaLivre}{} -\def\£{\pounds} +\def\^^a3{\pounds} \newcommand{\EPtextestyle}{\rmfamily\upshape} \newcommand{\EPouvrante}{[} \def\EP@ouvr@nte{\bgroup\EPouvrante} @@ -209,30 +209,30 @@ with M or m: a, e, i, o, u {\renewcommand\EP@SyllabeEffective{\relax}}% } \makepoundletter -\def\£a{\ae} \def\£A{\EP@al@ng} -\def\£b{\EP@bas} \def\£B{\EP@bas} -\def\£c{\textopeno} \def\£C{\textscripta} -\def\£d{\EP@djeu} -\def\£e{\textschwa} \def\£E{\EP@eul@ng} -\def\£f{\texttheta} -\def\£h{\EP@haut} \def\£H{\EP@haut} -\def\£i{\EP@icourt} \def\£I{\EP@il@ng} -\def\£j{\textyogh} -\def\£l{\EP@syll@bicl} \def\£L{\textbeltl} -\def\£m{\EP@ngln@s@liser} \def\£M{\EP@fr@nn@s@liser} -\def\£n{\ng} \def\£N{\EP@ng@g} -\def\£o{\textturnscripta} \def\£O{\EP@ol@ng} -\def\£p{\EP@ahyi} \def\£P{\EP@eheu} -\def\£q{\EP@ehyi} \def\£Q{\EP@iyeu} -\def\£r{\EP@ohyi} \def\£R{\EP@oueu} -\def\£s{\textesh} -\def\£t{\EP@tcheu} \def\£T{\EP@usfl@ppedt} -\def\£u{\textupsilon} \def\£U{\EP@ul@ng} -\def\£v{\textturnv} \def\£V{\EP@usoou} -\def\£w{\EP@euou} \def\£W{\EP@ahou} -\def\£x{\textrevepsilon} \def\£X{\EP@option@lsound} -\def\£y{\textrhookschwa} -\def\£z{\dh} \def\£Z{\EP@silent@r} +\def\^^a3a{\ae} \def\^^a3A{\EP@al@ng} +\def\^^a3b{\EP@bas} \def\^^a3B{\EP@bas} +\def\^^a3c{\textopeno} \def\^^a3C{\textscripta} +\def\^^a3d{\EP@djeu} +\def\^^a3e{\textschwa} \def\^^a3E{\EP@eul@ng} +\def\^^a3f{\texttheta} +\def\^^a3h{\EP@haut} \def\^^a3H{\EP@haut} +\def\^^a3i{\EP@icourt} \def\^^a3I{\EP@il@ng} +\def\^^a3j{\textyogh} +\def\^^a3l{\EP@syll@bicl} \def\^^a3L{\textbeltl} +\def\^^a3m{\EP@ngln@s@liser} \def\^^a3M{\EP@fr@nn@s@liser} +\def\^^a3n{\ng} \def\^^a3N{\EP@ng@g} +\def\^^a3o{\textturnscripta} \def\^^a3O{\EP@ol@ng} +\def\^^a3p{\EP@ahyi} \def\^^a3P{\EP@eheu} +\def\^^a3q{\EP@ehyi} \def\^^a3Q{\EP@iyeu} +\def\^^a3r{\EP@ohyi} \def\^^a3R{\EP@oueu} +\def\^^a3s{\textesh} +\def\^^a3t{\EP@tcheu} \def\^^a3T{\EP@usfl@ppedt} +\def\^^a3u{\textupsilon} \def\^^a3U{\EP@ul@ng} +\def\^^a3v{\textturnv} \def\^^a3V{\EP@usoou} +\def\^^a3w{\EP@euou} \def\^^a3W{\EP@ahou} +\def\^^a3x{\textrevepsilon} \def\^^a3X{\EP@option@lsound} +\def\^^a3y{\textrhookschwa} +\def\^^a3z{\dh} \def\^^a3Z{\EP@silent@r} \ifthenelse{\boolean{b@visible}}{% \ifthenelse{\boolean{b@hyphenable}}{% \newcommand\EP@SyllabeEffective{\EPSyllabeCoupure}}{% @@ -241,14 +241,14 @@ with M or m: a, e, i, o, u \newcommand\EP@SyllabeEffective{\discretionary{}{}{}}}{% \newcommand\EP@SyllabeEffective{\relax}} } -\def\£k{\EP@SyllabeEffective} -\def\£K{\EP@Speci@l} -\catcode `\£=\active +\def\^^a3k{\EP@SyllabeEffective} +\def\^^a3K{\EP@Speci@l} +\catcode `\^^a3=\active \ifthenelse{\boolean{b@drac}} - {\DeclareRobustActChar{£}[1]{\csname \string£#1\endcsname}} - {\def£#1{\csname \string£#1\endcsname}} + {\DeclareRobustActChar{^^a3}[1]{\csname \string^^a3#1\endcsname}} + {\def^^a3#1{\csname \string^^a3#1\endcsname}} \ifthenelse{\boolean{b@wild}}{}{% -\EP@ActiveL@Livre \global\let£=\l@viellelivre\relax +\EP@ActiveL@Livre \global\let^^a3=\l@viellelivre\relax } \endinput %% |