summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/generic/babel/italian.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/generic/babel/italian.dtx')
-rw-r--r--Master/texmf-dist/source/generic/babel/italian.dtx108
1 files changed, 58 insertions, 50 deletions
diff --git a/Master/texmf-dist/source/generic/babel/italian.dtx b/Master/texmf-dist/source/generic/babel/italian.dtx
index ea9899f79f2..71ec315d740 100644
--- a/Master/texmf-dist/source/generic/babel/italian.dtx
+++ b/Master/texmf-dist/source/generic/babel/italian.dtx
@@ -26,7 +26,7 @@
% and covered by LPPL is defined by the unpacking scripts (with
% extension .ins) which are part of the distribution.
% \fi
-% \CheckSum{419}
+% \CheckSum{420}
% \iffalse
% Tell the \LaTeX\ system who we are and write an entry on the
% transcript.
@@ -36,7 +36,7 @@
%<code>\ProvidesLanguage{italian}
%\fi
%\ProvidesFile{italian.dtx}
- [2005/02/05 v1.2q Italian support from the babel system]
+ [2005/11/17 v1.2r Italian support from the babel system]
%\iffalse
%% File `italian.dtx'
%% Babel package for LaTeX version 2e
@@ -443,8 +443,10 @@
% backtick key.
% By this shortcut |""| becomes equivalent to |``| for inserting
% raised open high double quotes.
+% \changes{italian-1.2r}{2005/11/17}{Added \cs{nobreak} to
+% \cs{it@@cwm} and corrected \cs{it@next}}
% \begin{macrocode}
-\def\it@@cwm{\nobreak\discretionary{-}{}{}\hskip\z@skip}%
+\def\it@@cwm{\nobreak\discretionary{-}{}{}\nobreak\hskip\z@skip}%
\def\it@@ocap#1{\it@ocap}\def\it@@ccap#1{\it@ccap}%
\DeclareRobustCommand*{\it@cwm}{\let\it@@next\relax
\ifcat\noexpand\it@temp a%
@@ -460,7 +462,7 @@
\def\it@@next{\it@@ccap}%
\else
\if\noexpand\it@temp\string/%
- \def\it@next{\slash\@gobble}%
+ \def\it@@next{\slash\@gobble}%
\else
\ifx\it@temp"%
\def\it@@next{``\@gobble}%
@@ -692,32 +694,37 @@
\fontencoding{U}\fontfamily{lasy}\selectfont)\kern-0.20em)}}%
}%
% \end{macrocode}
-% Then the substitution with any specific font that contains such
-% glyphs; it might be the CBgreek fonts, the Cyrillic one, the super-cm ones, the lm ones,
-% or any other the user might prefer (the code is adapted from the one
-% that appears in the \texttt{frenchb.ld} file; thanks to Daniel Flipo).
-% By default if the user did not select the T1 encoding, the existence of the
-% CBgreek fonts is tested; if they exist the guillemets are taken from this
-% font, and since its families are a superset of the default CM ones and they apply also
-% to typeset slides with the standard class \texttt{slides}. If the
-% CBgreek fonts are not found, then the existence of the Cyrillic ones is tested,
-% although this choice is not suited for typesetting slides;
-% otherwise the poor man solution of the \LaTeX\ special symbols is used.
-% In any case the user can force the use of the Cyrillic guillemets substitution
-% by issuing the declaration |\CyrillicCaporali| just before the
-% |\begin{document}| statement; in alternative the user can specify with
-% \begin {flushleft}
-% |\CaporaliFrom|\marg{encoding}\marg{family}\marg{opening number}\marg{closing number}
-% \end{flushleft}
-% the encoding and family of the font s/he prefers, and the slot numbers of the opening
-% and closing guillemets respectively. For example if the T1-encoded Latin Modern fonts
-% are desired the specific command should be
-% \begin {flushleft}
-% |\CaporaliFrom{T1}{lmr}{19}{20}|
-% \end{flushleft}
-% These user choices might be necessary for assuring the correct typesetting
-% with fonts that contain the required glyphs and are available also in PostScript form
-% so as to use them directly di \texttt{pdflatex}, for example.
+% Then the substitution with any specific font that contains such
+% glyphs; it might be the CBgreek fonts, the Cyrillic one, the
+% super-cm ones, the lm ones, or any other the user might prefer
+% (the code is adapted from the one that appears in the
+% \texttt{frenchb.ld} file; thanks to Daniel Flipo).
+% By default if the user did not select the T1 encoding, the
+% existence of the CBgreek fonts is tested; if they exist the
+% guillemets are taken from this font, and since its families are a
+% superset of the default CM ones and they apply also to typeset
+% slides with the standard class \texttt{slides}. If the CBgreek
+% fonts are not found, then the existence of the Cyrillic ones is
+% tested, although this choice is not suited for typesetting
+% slides; otherwise the poor man solution of the \LaTeX\ special
+% symbols is used. In any case the user can force the use of the
+% Cyrillic guillemets substitution by issuing the declaration
+% |\CyrillicCaporali| just before the |\begin{document}| statement;
+% in alternative the user can specify with
+% \begin{flushleft}
+% |\CaporaliFrom|\marg{encoding}\marg{family}\marg{opening number}\marg{closing number}
+% \end{flushleft}
+% the encoding and family of the font s/he prefers, and the slot
+% numbers of the opening and closing guillemets respectively. For
+% example if the T1-encoded Latin Modern fonts are desired the
+% specific command should be
+% \begin {flushleft}
+% |\CaporaliFrom{T1}{lmr}{19}{20}|
+% \end{flushleft}
+% These user choices might be necessary for assuring the correct
+% typesetting with fonts that contain the required glyphs and are
+% available also in PostScript form so as to use them directly with
+% \texttt{pdflatex}, for example.
% \begin{macrocode}
\def\CaporaliFrom#1#2#3#4{%
\DeclareFontEncoding{#1}{}{}%
@@ -730,18 +737,19 @@
\DeclareTextCommand{\it@ccap}{OT1}{\ifdim\lastskip>\z@\unskip\fi%
{\fontencoding{#1}\fontfamily{#2}\selectfont\char#4}}}
% \end{macrocode}
-% Then we set a boolean variable and test the default family;
-% if such family has a name that starts with the letters ``ae''
-% then we have no built in guillemets; of course if the AE font family is chosen
-% after the \babel\ package is loaded, the test does not perform as required.
+% Then we set a boolean variable and test the default family;
+% if such family has a name that starts with the letters ``ae''
+% then we have no built in guillemets; of course if the AE font
+% family is chosen after the \babel\ package is loaded, the test
+% does not perform as required.
% \begin{macrocode}
\def\get@ae#1#2#3!{\def\bbl@ae{#1#2}}%
\def\@ifT@one@noCap{\expandafter\get@ae\f@family!%
\def\bbl@temp{ae}\ifx\bbl@ae\bbl@temp\expandafter\@firstoftwo\else
\expandafter\@secondoftwo\fi}%
% \end{macrocode}
-% We set another couple of boolean variables for testing the existence of the
-% CBgreek or the Cyrillic fonts
+% We set another couple of boolean variables for testing the
+% existence of the CBgreek or the Cyrillic fonts
% \begin{macrocode}
\newif\if@CBgreekEncKnown
\IfFileExists{lgrcmr.fd}%
@@ -750,14 +758,14 @@
\IfFileExists{ot2cmr.fd}%
{\@CyrEncKnowntrue}{\@CyrEncKnownfalse}%
% \end{macrocode}
-% \begin {macro}{\CBgreekCaporali}
-% \begin {macro}{\CyrillicCaporali}
-% \begin {macro}{\T@unoCaporali}
-% Next we define the macros |\CBgreekCaporali|, |\T@unoCaporali|,
-% and |\CyrillicCaporali|;
-% with the latter one we test the loaded class, and if it's \texttt{slides}
-% nothing gets done. In any case each one of these declarations, if used, must be specified
-% in the preamble.
+% \begin {macro}{\CBgreekCaporali}
+% \begin {macro}{\CyrillicCaporali}
+% \begin {macro}{\T@unoCaporali}
+% Next we define the macros |\CBgreekCaporali|, |\T@unoCaporali|,
+% and |\CyrillicCaporali|; with the latter one we test the loaded
+% class, and if it's \texttt{slides} nothing gets done. In any case
+% each one of these declarations, if used, must be specified in the
+% preamble.
% \begin{macrocode}
\def\CBgreekCaporali{\@ifclassloaded{slides}{%
\IfFileExists{lgrlcmss.fd}{\DeclareFontEncoding{LGR}{}{}%
@@ -785,12 +793,12 @@
\def\T@unoCaporali{\DeclareRobustCommand*{\it@ocap}{<<\ignorespaces}%
\DeclareRobustCommand*{\it@ccap}{\ifdim\lastskip>\z@\unskip\fi>>}}%
% \end{macrocode}
-% \end{macro}
-% \end{macro}
-% \end{macro}
-% Now we can do some real setting; first we start testing the encoding;
-% if the encoding is T1 we test if the font family is the AE one; if so,
-% we further test for other possibilities
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% Now we can do some real setting; first we start testing the encoding;
+% if the encoding is T1 we test if the font family is the AE one; if so,
+% we further test for other possibilities
% \begin{macrocode}
\ifx\cf@encoding\bbl@t@one
\@ifT@one@noCap{%