From edfe42b3f24160eb707c68fe26eff93df78d8dfe Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 28 Apr 2024 20:04:56 +0000 Subject: babel-latvian (28apr24) git-svn-id: svn://tug.org/texlive/trunk@71108 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/doc/generic/babel-latvian/README.md | 10 +++++++--- .../doc/generic/babel-latvian/latvian.pdf | Bin 267036 -> 282377 bytes .../source/generic/babel-latvian/latvian.dtx | 18 ++++++++++-------- .../tex/generic/babel-latvian/latvian.ldf | 12 +++++++----- 4 files changed, 24 insertions(+), 16 deletions(-) (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/doc/generic/babel-latvian/README.md b/Master/texmf-dist/doc/generic/babel-latvian/README.md index dc9d7d99e91..6edd83b2a0c 100644 --- a/Master/texmf-dist/doc/generic/babel-latvian/README.md +++ b/Master/texmf-dist/doc/generic/babel-latvian/README.md @@ -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 @@ based on the latter. * Modififier t1composite, which redefines some T1 'composite commands' related to the cedilla. ``` - -2018-02-19 \ No newline at end of file diff --git a/Master/texmf-dist/doc/generic/babel-latvian/latvian.pdf b/Master/texmf-dist/doc/generic/babel-latvian/latvian.pdf index fce2fa13956..2897bcc5a7b 100644 Binary files a/Master/texmf-dist/doc/generic/babel-latvian/latvian.pdf and b/Master/texmf-dist/doc/generic/babel-latvian/latvian.pdf differ diff --git a/Master/texmf-dist/source/generic/babel-latvian/latvian.dtx b/Master/texmf-dist/source/generic/babel-latvian/latvian.dtx index 82c44e2980b..39555f81c4e 100644 --- a/Master/texmf-dist/source/generic/babel-latvian/latvian.dtx +++ b/Master/texmf-dist/source/generic/babel-latvian/latvian.dtx @@ -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 @@ % %\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@chapter{% - \ifx\chapter\undefined\relax\else - \ifnum\c@chapter>\z@\thechapter\fi\fi} + \ifx\c@chapter\@undefined\else + \ifnum\c@chapter>\z@\thechapter\fi + \fi} \def\thechapter{% - \ifx\chapter\undefined\relax\else - \arabic{chapter}.\fi} + \ifx\c@chapter\@undefined\else + \arabic{chapter}.% + \fi} \def\thesection{\the@chapter\arabic{section}.} \def\thesubsection{\thesection\arabic{subsection}.} \def\thesubsubsection{\thesubsection\arabic{subsubsection}.} diff --git a/Master/texmf-dist/tex/generic/babel-latvian/latvian.ldf b/Master/texmf-dist/tex/generic/babel-latvian/latvian.ldf index 9f516acf0e1..6f8602c7ff3 100644 --- a/Master/texmf-dist/tex/generic/babel-latvian/latvian.ldf +++ b/Master/texmf-dist/tex/generic/babel-latvian/latvian.ldf @@ -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@latvian\@undefined \@nopatterns{Latvian} @@ -109,11 +109,13 @@ \EndBabelCommands \gdef\the@chapter{% - \ifx\chapter\undefined\relax\else - \ifnum\c@chapter>\z@\thechapter\fi\fi} + \ifx\c@chapter\@undefined\else + \ifnum\c@chapter>\z@\thechapter\fi + \fi} \def\thechapter{% - \ifx\chapter\undefined\relax\else - \arabic{chapter}.\fi} + \ifx\c@chapter\@undefined\else + \arabic{chapter}.% + \fi} \def\thesection{\the@chapter\arabic{section}.} \def\thesubsection{\thesection\arabic{subsection}.} \def\thesubsubsection{\thesubsection\arabic{subsubsection}.} -- cgit v1.2.3