texlive[71108] Master/texmf-dist: babel-latvian (28apr24)

commits+karl at tug.org commits+karl at tug.org
Sun Apr 28 22:04:56 CEST 2024


Revision: 71108
          https://tug.org/svn/texlive?view=revision&revision=71108
Author:   karl
Date:     2024-04-28 22:04:56 +0200 (Sun, 28 Apr 2024)
Log Message:
-----------
babel-latvian (28apr24)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/generic/babel-latvian/README.md
    trunk/Master/texmf-dist/doc/generic/babel-latvian/latvian.pdf
    trunk/Master/texmf-dist/source/generic/babel-latvian/latvian.dtx
    trunk/Master/texmf-dist/tex/generic/babel-latvian/latvian.ldf

Modified: trunk/Master/texmf-dist/doc/generic/babel-latvian/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/generic/babel-latvian/README.md	2024-04-28 16:42:32 UTC (rev 71107)
+++ trunk/Master/texmf-dist/doc/generic/babel-latvian/README.md	2024-04-28 20:04:56 UTC (rev 71108)
@@ -1,9 +1,15 @@
-## Latvian 2.0b
+## Latvian 2.0c
 
 This is the babel style for Latvian. It bears the version number 2.0
 because there were a 1.x, by Andris Lasis. Version 2.0 is heavily
 based on the latter.
 
+### Changes 2.0c
+
+```
+* Fix an incompatibility with titlesec.
+```
+
 ### Changes 2.0b
 
 ```
@@ -17,5 +23,3 @@
 * Modififier t1composite, which redefines some T1 'composite commands'
   related to the cedilla.
 ```  
-
-2018-02-19
\ No newline at end of file

Modified: trunk/Master/texmf-dist/doc/generic/babel-latvian/latvian.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/generic/babel-latvian/latvian.dtx
===================================================================
--- trunk/Master/texmf-dist/source/generic/babel-latvian/latvian.dtx	2024-04-28 16:42:32 UTC (rev 71107)
+++ trunk/Master/texmf-dist/source/generic/babel-latvian/latvian.dtx	2024-04-28 20:04:56 UTC (rev 71108)
@@ -1,6 +1,6 @@
 % \iffalse meta-comment
 %
-% Copyright 1999 - 2000 Andris Lasis, 2014-2018 Javier Bezos and any
+% Copyright 1999 - 2000 Andris Lasis, 2014-2024 Javier Bezos and any
 % individual authors listed elsewhere in this file.  All rights
 % reserved.
 % 
@@ -37,8 +37,8 @@
 %</dtx>
 %<code>\ProvidesLanguage{latvian}
 % \fi
-% \ProvidesLanguage{latvian}
-        [2018/02/19 v2.0b Latvian support from the babel system]
+% \ProvidesFile{latvian}
+        [2024/04/27 v2.0c Latvian support from the babel system]
 % \iffalse
 %<*filedriver>
 \documentclass{ltxdoc}
@@ -58,7 +58,7 @@
 % \section{The Latvian Language}
 %
 % The file \textsf{latvian.ldf}\footnote{The file described in this
-% section has version number 2.0a and was last revised on 2018/02/19.}
+% section has version number 2.0c and was last revised on 2024/04/27.}
 % defines the language definition macros for the Latvian language. It
 % is heavily based on the work by Andris Lasis, and this file just
 % cleans the code up and adapts it to babel 3.9.
@@ -192,11 +192,13 @@
 %
 %    \begin{macrocode}
 \gdef\the at chapter{%
-  \ifx\chapter\undefined\relax\else
-  \ifnum\c at chapter>\z@\thechapter\fi\fi}
+  \ifx\c at chapter\@undefined\else
+    \ifnum\c at chapter>\z@\thechapter\fi
+  \fi}
 \def\thechapter{%
-  \ifx\chapter\undefined\relax\else
-  \arabic{chapter}.\fi}
+  \ifx\c at chapter\@undefined\else
+    \arabic{chapter}.%
+  \fi}
 \def\thesection{\the at chapter\arabic{section}.}
 \def\thesubsection{\thesection\arabic{subsection}.}
 \def\thesubsubsection{\thesubsection\arabic{subsubsection}.}

Modified: trunk/Master/texmf-dist/tex/generic/babel-latvian/latvian.ldf
===================================================================
--- trunk/Master/texmf-dist/tex/generic/babel-latvian/latvian.ldf	2024-04-28 16:42:32 UTC (rev 71107)
+++ trunk/Master/texmf-dist/tex/generic/babel-latvian/latvian.ldf	2024-04-28 20:04:56 UTC (rev 71108)
@@ -37,7 +37,7 @@
 %% and covered by LPPL is defined by the unpacking scripts (with
 %% extension .ins) which are part of the distribution.
 \ProvidesLanguage{latvian}
-        [2018/02/19 v2.0b Latvian support from the babel system]
+        [2024/04/27 v2.0c Latvian support from the babel system]
 \LdfInit{latvian}\captionslatvian
 \ifx\l at latvian\@undefined
   \@nopatterns{Latvian}
@@ -109,11 +109,13 @@
 
 \EndBabelCommands
 \gdef\the at chapter{%
-  \ifx\chapter\undefined\relax\else
-  \ifnum\c at chapter>\z@\thechapter\fi\fi}
+  \ifx\c at chapter\@undefined\else
+    \ifnum\c at chapter>\z@\thechapter\fi
+  \fi}
 \def\thechapter{%
-  \ifx\chapter\undefined\relax\else
-  \arabic{chapter}.\fi}
+  \ifx\c at chapter\@undefined\else
+    \arabic{chapter}.%
+  \fi}
 \def\thesection{\the at chapter\arabic{section}.}
 \def\thesubsection{\thesection\arabic{subsection}.}
 \def\thesubsubsection{\thesubsection\arabic{subsubsection}.}



More information about the tex-live-commits mailing list.