summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/bosisio/accenti.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-02-10 23:57:37 +0000
committerKarl Berry <karl@freefriends.org>2010-02-10 23:57:37 +0000
commite1038ccbe4bff1114d501d4f23cb80cb2d45bbb6 (patch)
treefe020335574b25169ce1643d27b842b2e49ca58f /Master/texmf-dist/source/latex/bosisio/accenti.dtx
parent594a436be62788c2cef9861dd7a9944ae15a383b (diff)
bosisio 2.2 (10feb10)
git-svn-id: svn://tug.org/texlive/trunk@16959 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/bosisio/accenti.dtx')
-rw-r--r--Master/texmf-dist/source/latex/bosisio/accenti.dtx125
1 files changed, 76 insertions, 49 deletions
diff --git a/Master/texmf-dist/source/latex/bosisio/accenti.dtx b/Master/texmf-dist/source/latex/bosisio/accenti.dtx
index 157f2de5f02..6f6ab9a78df 100644
--- a/Master/texmf-dist/source/latex/bosisio/accenti.dtx
+++ b/Master/texmf-dist/source/latex/bosisio/accenti.dtx
@@ -1,19 +1,26 @@
%\iffalse % MetaComment
%%
%% + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
-%% | Copyright(C) 1997-1999 by Francesco Bosisio |
+%% | Copyright(C) 1997-2010 by F. Bosisio |
%% | |
-%% | This program can be redistributed and/or modified under the |
-%% | terms of the LaTeX Project Public License Distributed from |
-%% | CTAN archives in directory macros/latex/base/lppl.txt; |
-%% | either version 1 of the License, or any later version. |
+%% | This program can be redistributed and/or modified under |
+%% | the terms 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 |
+%% | and version 1.3 or later is part of all LaTeX distributions |
+%% | version 2005/12/01 or later. |
+%% | |
+%% | This work has the LPPL maintenance status `maintained'. |
+%% | The Current Maintainer of this work is F. Bosisio. |
+%% | |
+%% | This work consists of files accenti.dtx and accenti.html |
+%% | and of the derived files accenti.sty and accenti.pdf. |
%% | |
%% | E-mail: fbosisio@bigfoot.com |
-%% | Web page: http://www.bigfoot.com/~fbosisio/LaTeX |
-%% | CTAN location: macros/latex/contrib/supported/bosisio/ |
+%% | CTAN location: macros/latex/contrib/bosisio/ |
%% + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
%%
-%%
%% If you make any improvment, find any bug or have
%% any suggestion, please let me know about it.
%%
@@ -25,10 +32,10 @@
%</package,driver>
%<*package>
%\fi
-\def\fileversion{2.0}
-\def\filedate{1997/12/20}
-\def\docdate{1997/12/20}
-\def\filedescr{Commands to make accents (BF)}
+\def\fileversion{2.3}
+\def\filedate{2005/04/02}
+\def\docdate{2005/04/09}
+\def\filedescr{Commands to make accents (FB)}
%
%\iffalse % MetaComment
%</package>
@@ -84,13 +91,17 @@
% \changes{v1.1}{7 November 1997}{Fixed a bug in the options}
% \changes{v2.0}{20 December 1997}{Separated from package ``quotes''}
% \changes{v2.1}{5 March 1999}{Added copyright notice and changed addresses}
+% \changes{v2.2}{2 April 2005}{All commands made robust}
+%\iffalse % MetaComment
+% The previous change was requested by Robin Fairbains (robin.fairbains@cl.cam.ac.uk)
+%\fi
+% \changes{v2.3}{9 April 2005}{Usage of the double-quote character (") avoided}
%
% \MakeShortVerb{\|}
%
% \title{Package \texttt{\FileName}\thanks{This is version \fileversion,
% last revised \filedate; documentation date \docdate}}
-% \author{F. Bosisio\\\normalsize E-mail: \texttt{fbosisio@bigfoot.com}\\
-% \small Web page: \texttt{http://www.bigfoot.com/$\sim$fbosisio/LaTeX}}
+% \author{F. Bosisio\\\normalsize E-mail: \texttt{fbosisio@bigfoot.com}}
% \date{\filedate}
% \maketitle
%
@@ -108,42 +119,51 @@
%
% \noindent
% The redefined commands are:\\
-% ``|\a|", ``|\i|", ``|\o|" and ``|\u|",\\
-% whos job can now be done by the commands\\
-% ``|\oFinnick|" (finnick ``o" bar),
-% ``|\DotlessI|" (dotless ``i", for accents),
-% ``|\aAccent|" (for accents in |tabbing| environment)
-% and ``|\uAccent|" (upsidedown ``hat" accent).
+% ``|\a|'', ``|\i|'', ``|\o|'' and ``|\u|'',\\
+% whose job can now be done by the commands\\
+% ``|\oFinnick|'' (finnick ``o'' bar),
+% ``|\DotlessI|'' (dotless ``i'', for accents),
+% ``|\aAccent|'' (for accents in |tabbing| environment)
+% and ``|\uAccent|'' (upsidedown ``hat'' accent).
+%
+% \section{Obsolete package}
+%
+% This package is \emph{obsolete}, as it has been superseeded by
+% the standard ``|inputenc|'' package: indeed, the declaration\\
+% \mbox{}\qquad |\usepackage[latin1]{inputenc}|\\
+% directly allows the use of the characters ``\`a'', ``\`e'',
+% ``\`\i'', ``\`o'', ``\`u'' and ``\'e'' in the document, which
+% is extremly useful with an italian keyboard.
%
% \section{Required packages}
%
-% This package requires the ``|\xspace|" command provided by
-% the ``|xspace|" package.
+% This package requires the ``|\xspace|'' command provided by
+% the ``|xspace|'' package.
%
% \section{Options}
%
-% This package provides the options ``|ExtdChar|" and
-% ``|ExtdCharOnly|" which allow the use of the special
-% chars ``\`a", ``\`e", ``\`\i", ``\`o", ``\`u" and ``\'e"
+% This package provides the options ``|ExtdChar|'' and
+% ``|ExtdCharOnly|'' which allow the use of the special
+% characters ``\`a'', ``\`e'', ``\`\i'', ``\`o'', ``\`u'' and ``\'e''
% as accents-making commands.
-% The second options also inhibits the definitions of
-% ``|\a|", ``|\e|", ``|\i|", ``|\o|", ``|\u|", ``|\ee|"
-% and ``|\che|" as short forms of the accent-commands
+% The second option also inhibits the definitions of
+% ``|\a|'', ``|\e|'', ``|\i|'', ``|\o|'', ``|\u|'', ``|\ee|''
+% and ``|\che|'' as short forms of the accent-commands
% (it is particularly useful for non-Italian documents).
%
% \section{Accents}
%
-% Unless you specify the ``|ExtdCharOnly|" option, the
-% commands ``|\a|", ``|\e|", ``|\i|", ``|\o|", ``|\u|" and ``|\E|"
+% Unless you specify the ``|ExtdCharOnly|'' option, the
+% commands ``|\a|'', ``|\e|'', ``|\i|'', ``|\o|'', ``|\u|'' and ``|\E|''
% prints the corresponding letter with a grave accent;
-% the commands ``|\ee|" and ``|\che|" print the letter ``|e|"
-% or the three letters ``|che|" with an acute accent (i.e. ``\'e"
-% and ``ch\'e").
+% the commands ``|\ee|'' and ``|\che|'' print the letter ``|e|''
+% or the three letters ``|che|'' with an acute accent (i.e. ``\'e''
+% and ``ch\'e'').
%
-% Moreover, if the ``|ExtdChar|" or ``|ExtdCharOnly|" option was
-% used, the chars ``\`a", ``\`e", ``\`\i", ``\`o", ``\`u" and ``\'e"
-% are equivalent to the commands ``|\`a|", ``|\`e|", ``|\`\i|",
-% ``|\`o|", ``|\`u|" and ``|\'e|".
+% Moreover, if the ``|ExtdChar|'' or ``|ExtdCharOnly|'' option was
+% used, the chars ``\`a'', ``\`e'', ``\`\i'', ``\`o'', ``\`u'' and ``\'e''
+% are equivalent to the commands ``|\`a|'', ``|\`e|'', ``|\`\i|'',
+% ``|\`o|'', ``|\`u|'' and ``|\'e|''.
%
% \StopEventually{}
% \newpage
@@ -169,21 +189,29 @@
%
% The original commands ``|\a|'', ``|\i|'', ``|\o|'' and ``|\u|'' are
% saved before being redefined.
+% The combined use of an intermediate internal command and of
+% ``|\DeclareRobustCommand*|'', allow for all the commands of the
+% package to be robust (even the saved original ones).
%
% \begin{macrocode}
%%
-\let\aAccent=\a
-\let\DotlessI=\i
-\let\oFinnick=\o
-\let\uAccent=\u
+\let\a@RIGINAL=\a
+\let\i@RIGINAL=\i
+\let\o@RIGINAL=\o
+\let\u@RIGINAL=\u
+%%
+\DeclareRobustCommand*\aAccent{\a@RIGINAL}
+\DeclareRobustCommand*\DotlessI{\i@RIGINAL}
+\DeclareRobustCommand*\oFinnick{\o@RIGINAL}
+\DeclareRobustCommand*\uAccent{\u@RIGINAL}
% \end{macrocode}
%
-% The commands ``|\a|", ``|\e|", ``|\i|", ``|\o|", ``|\u|" and ``|\E|"
+% The commands ``|\a|'', ``|\e|'', ``|\i|'', ``|\o|'', ``|\u|'' and ``|\E|''
% prints the corresponding letter with a grave accent;
-% the commands ``|\ee|" and ``|\che|" print the letter ``|e|"
-% or the three letters ``|che|" with an acute accent (i.e. ``\'e"
-% and ``ch\'e").
-% The definitions are deferred at the ``|\begin{document}|"
+% the commands ``|\ee|'' and ``|\che|'' print the letter ``|e|''
+% or the three letters ``|che|'' with an acute accent (i.e. ``\'e''
+% and ``ch\'e'').
+% The definitions are deferred at the ``|\begin{document}|''
% in order to avoid conflicts with other packages.
%
% \begin{macrocode}
@@ -205,7 +233,7 @@
%
% \begin{macro}{Accents}
% A trick adapted from the |doc| package (which, perhaps, may be
-% done in a better way) is used (if the ``|ExtdChar|" option was
+% done in a better way) is used (if the ``|ExtdChar|'' option was
% selected) to associate the extended-ASCII chars which represents
% accents with the corresponding accent-making commands.
%
@@ -293,8 +321,7 @@
%<*package>
%\fi
%
-% \CheckSum{259}
+% \CheckSum{271}
% \Finale
%
\endinput
-