summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-04-28 20:04:56 +0000
committerKarl Berry <karl@freefriends.org>2024-04-28 20:04:56 +0000
commitedfe42b3f24160eb707c68fe26eff93df78d8dfe (patch)
tree01c5b25c412e39daddb15aae11986a75625f4ea7 /Master/texmf-dist/tex
parentcd24c5c226baafd699ee26156dd016aad834df7e (diff)
babel-latvian (28apr24)
git-svn-id: svn://tug.org/texlive/trunk@71108 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/generic/babel-latvian/latvian.ldf12
1 files changed, 7 insertions, 5 deletions
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}.}