summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/babel-contrib/portuges
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-02-07 03:00:48 +0000
committerNorbert Preining <norbert@preining.info>2021-02-07 03:00:48 +0000
commite068841d2fc2976d094b382e4dd5e4d6df455506 (patch)
treea10b009fa5e01a531fa1eb92723f24ae05ba6d4e /macros/latex/contrib/babel-contrib/portuges
parent27accb929aa8061d3aea791560a1bffd3876f0c7 (diff)
CTAN sync 202102070300
Diffstat (limited to 'macros/latex/contrib/babel-contrib/portuges')
-rw-r--r--macros/latex/contrib/babel-contrib/portuges/README.md12
-rw-r--r--macros/latex/contrib/babel-contrib/portuges/portuges.dtx34
-rw-r--r--macros/latex/contrib/babel-contrib/portuges/portuges.pdfbin145322 -> 153755 bytes
3 files changed, 25 insertions, 21 deletions
diff --git a/macros/latex/contrib/babel-contrib/portuges/README.md b/macros/latex/contrib/babel-contrib/portuges/README.md
index c81d3294a8..a4eee9cebe 100644
--- a/macros/latex/contrib/babel-contrib/portuges/README.md
+++ b/macros/latex/contrib/babel-contrib/portuges/README.md
@@ -1,5 +1,6 @@
-Portuguese 1.2r
---------------
+# babel-portuges – Babel contributed support for Portuguese and Brazilian
+
+Version: 2021-02-06 v1.2s
This is the babel style for Portuguese.
@@ -8,9 +9,10 @@ got fixed if you report them. If you want to take over maintenance
of this language style, please contact me at
http://www.texnia.com/contact.html .**
-Changes 1.2r
-------------
+## Copyright (C)
+* 1989-2020 Johannes L. Braams, Javier Bezos
-Months are now lowercased in all 'dialects'.
+## License
+LATEX Project Public License, version 1.3 or later.
diff --git a/macros/latex/contrib/babel-contrib/portuges/portuges.dtx b/macros/latex/contrib/babel-contrib/portuges/portuges.dtx
index 09ff720e40..bec2a3f332 100644
--- a/macros/latex/contrib/babel-contrib/portuges/portuges.dtx
+++ b/macros/latex/contrib/babel-contrib/portuges/portuges.dtx
@@ -3,10 +3,10 @@
% Copyright 1989-2020 Johannes L. Braams, Javier Bezos, and any
% individual authors listed elsewhere in this file. All rights
% reserved.
-%
+%
% This file is part of the Babel system.
% --------------------------------------
-%
+%
% It may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
% of this license or (at your option) any later version.
@@ -14,20 +14,19 @@
% http://www.latex-project.org/lppl.txt
% and version 1.3 or later is part of all distributions of LaTeX
% version 2003/12/01 or later.
-%
+%
% This work has the LPPL maintenance status "maintained".
-%
+%
% The Current Maintainer of this work is Javier Bezos.
-%
+%
% The list of all files belonging to the Babel system is
% given in the file `manifest.bbl. See also `legal.bbl' for additional
% information.
-%
+%
% The list of derived (unpacked) files belonging to the distribution
% and covered by LPPL is defined by the unpacking scripts (with
% extension .ins) which are part of the distribution.
% \fi
-% \CheckSum{320}
% \iffalse
% Tell the \LaTeX\ system who we are and write an entry on the
% transcript.
@@ -37,7 +36,7 @@
%<code>\ProvidesLanguage{portuges}
%\fi
%\ProvidesFile{portuges.dtx}
- [2020/05/04 v1.2r Portuguese support from the babel system]
+ [2021/02/04 v1.2s Portuguese support from the babel system]
%\iffalse
%% File `portuges.dtx'
%% Babel package for LaTeX version 2e
@@ -80,7 +79,7 @@
% \changes{portuges-1.2g}{1995/06/04}{Enhanced support for brasilian}
% \changes{portuges-1.2j}{1996/07/11}{Replaced \cs{undefined} with
% \cs{@undefined} and \cs{empty} with \cs{@empty} for consistency
-% with \LaTeX}
+% with \LaTeX}
% \changes{portuges-1.2j}{1996/10/10}{Moved the definition of
% \cs{atcatcode} right to the beginning.}
%
@@ -122,7 +121,7 @@
% loaded more than once, checking the category code of the
% \texttt{@} sign, etc.
% \changes{portuges-1.2j}{1996/11/03}{Now use \cs{LdfInit} to perform
-% initial checks}
+% initial checks}
% \begin{macrocode}
%<*code>
\LdfInit\CurrentOption{captions\CurrentOption}
@@ -174,7 +173,7 @@
% loaded for Portuguese or Brasilian use. This can be done by
% checking the contents of |\CurrentOption|. When it doesn't
% contain either `portuges' or `portuguese' we make |\bbl@tempb|
-% empty.
+% empty.
% \begin{macrocode}
\def\bbl@tempa{portuguese}
\ifx\CurrentOption\bbl@tempa
@@ -260,7 +259,7 @@
% \changes{portuges-1.2k}{1997/10/01}{Use \cs{edef} to define
% \cs{today} to save memory}
% \changes{portuges-1.2k}{1998/03/28}{use \cs{def} instead of
-% \cs{edef}}
+% \cs{edef}}
% \changes{portuges-1.2n}{2001/01/27}{Removed spurious space after
% Dezembro}
% \begin{macrocode}
@@ -275,7 +274,7 @@
% \end{macro}
%
% For the Brasilian version of these definitions we just add a
-% ``dialect''.
+% ``dialect''.
% \begin{macrocode}
\expandafter
\adddialect\csname l@\CurrentOption\endcsname\l@portuges
@@ -326,7 +325,7 @@
% \changes{portuges-1.2k}{1997/10/01}{Use \cs{edef} to define
% \cs{today} to save memory}
% \changes{portuges-1.2k}{1998/03/28}{use \cs{def} instead of
-% \cs{edef}}
+% \cs{edef}}
% \changes{portuges-1.2n}{2001/01/27}{Removed spurious space after
% dezembro}
% \begin{macrocode}
@@ -396,9 +395,12 @@
\declare@shorthand{portuges}{""}{\hskip\z@skip}
% \end{macrocode}
% And we want to have a shorthand for disabling a ligature.
+% \changes{portuges-1.2s}{2021/02/06}{Adapted this shorthand to changes in hyperref}
+% To avoid problems in bookmarks the shorthand should be hyperref aware.
% \begin{macrocode}
+\providecommand\texorpdfstring[2]{#1}
\declare@shorthand{portuges}{"|}{%
- \textormath{\discretionary{-}{}{\kern.03em}}{}}
+ \texorpdfstring{\textormath{\discretionary{-}{}{\kern.03em}}{}}{}}
% \end{macrocode}
% \end{macro}
% \end{macro}
@@ -446,7 +448,7 @@
% at |\begin{document}| and resetting the category code of
% \texttt{@} to its original value.
% \changes{portuges-1.2j}{1996/11/03}{ow use \cs{ldf@finish} to wrap
-% up}
+% up}
% \begin{macrocode}
\ldf@finish\CurrentOption
%</code>
diff --git a/macros/latex/contrib/babel-contrib/portuges/portuges.pdf b/macros/latex/contrib/babel-contrib/portuges/portuges.pdf
index cb8bc27062..47d13ed00f 100644
--- a/macros/latex/contrib/babel-contrib/portuges/portuges.pdf
+++ b/macros/latex/contrib/babel-contrib/portuges/portuges.pdf
Binary files differ