[latex3-commits] [git/LaTeX3-latex3-babel] main: Ethiopic calendar. Date in superessive case in hu. (10cf139)
Javier
email at dante.de
Tue Aug 30 12:16:32 CEST 2022
Repository : https://github.com/latex3/babel
On branch : main
Link : https://github.com/latex3/babel/commit/10cf139a81b57558e64e6d07fad4dfd4ac525ae8
>---------------------------------------------------------------
commit 10cf139a81b57558e64e6d07fad4dfd4ac525ae8
Author: Javier <email at localhost>
Date: Tue Aug 30 12:16:32 2022 +0200
Ethiopic calendar. Date in superessive case in hu.
>---------------------------------------------------------------
10cf139a81b57558e64e6d07fad4dfd4ac525ae8
README.md | 10 +++++++---
babel.dtx | 30 +++++++++++++++++++++++-------
babel.ins | 3 ++-
babel.pdf | Bin 883632 -> 884327 bytes
bbcompat.dtx | 2 +-
locale/hu/babel-hu.ini | 36 ++++++++++++++++++++++++++++++++----
6 files changed, 65 insertions(+), 16 deletions(-)
diff --git a/README.md b/README.md
index 8f8cc38..a51ba85 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-## Babel 3.79
+## Babel 3.79.2845
This package manages culturally-determined typographical (and other)
rules, and hyphenation patterns for a wide range of languages. Many
@@ -8,9 +8,9 @@ is a set of ini files for about 250 languages.
The latest stable version is available on <https://ctan.org/pkg/babel>.
-Changes in version 3.79 are described in:
+Changes in version 3.80 are described in:
-https://latex3.github.io/babel/news/whats-new-in-babel-3.79.html
+https://latex3.github.io/babel/news/whats-new-in-babel-3.80.html
Apart from the manual, you can find information on some aspects of babel at:
@@ -46,6 +46,10 @@ respective authors.
### Summary of latest changes
```
+3.80 (dev)
+ * Ethiopic calendar.
+ * Hungarian date in the superessive case.
+
3.79 2022-08-29
* Fixes:
- Issues of tcolorbox in RTL (graphics layout), thanks to Salim
diff --git a/babel.dtx b/babel.dtx
index 1e7004c..83895e2 100644
--- a/babel.dtx
+++ b/babel.dtx
@@ -32,7 +32,7 @@
%
% \iffalse
%<*filedriver>
-\ProvidesFile{babel.dtx}[2022/08/29 v3.79 The Babel package]
+\ProvidesFile{babel.dtx}[2022/08/30 v3.79.2845 The Babel package]
\documentclass{ltxdoc}
\GetFileInfo{babel.dtx}
\usepackage{fontspec}
@@ -5175,8 +5175,8 @@ help from Bernd Raichle, for which I am grateful.
% \section{Tools}
%
% \begin{macrocode}
-%<<version=3.79>>
-%<<date=2022/08/29>>
+%<<version=3.79.2845>>
+%<<date=2022/08/30>>
% \end{macrocode}
%
% \textbf{Do not use the following macros in \texttt{ldf} files. They
@@ -5944,12 +5944,13 @@ help from Bernd Raichle, for which I am grateful.
%
% For the option safe we use a different approach -- |\bbl at opt@safe|
% says which macros are redefined (B for bibs and R for refs). By
-% default, both are set.
+% default, both are currently set, but in a future release it will be set to
+% |none|.
%
% \begin{macrocode}
\ifx\bbl at opt@safe\@undefined
\def\bbl at opt@safe{BR}
- % \let\bbl at opt@safe\@empty % -- By September
+ % \let\bbl at opt@safe\@empty % Pending of \cite
\fi
% \end{macrocode}
%
@@ -23167,10 +23168,11 @@ Babel.cjk_breaks = {
%</ca-persian>
% \end{macrocode}
%
-% \section{Coptic}
+% \section{Coptic and Ethiopic}
%
% Adapted from \texttt{jquery.calendars.package-1.1.4}, written by Keith
-% Wood, 2010. Dual license: GPL and MIT.
+% Wood, 2010. Dual license: GPL and MIT. The only difference is the
+% epoch.
%
% \begin{macrocode}
%<*ca-coptic>
@@ -23187,6 +23189,20 @@ Babel.cjk_breaks = {
\edef#6{\fp_eval:n{\bbl at tempc - (#5 - 1) * 30 + 1}}}
\ExplSyntaxOff
%</ca-coptic>
+%<*ca-ethiopic>
+\ExplSyntaxOn
+<@Compute Julian day@>
+\def\bbl at ca@ethiopic#1-#2-#3\@@#4#5#6{%
+ \edef\bbl at tempd{\fp_eval:n{floor(\bbl at cs@jd{#1}{#2}{#3}) + 0.5}}%
+ \edef\bbl at tempc{\fp_eval:n{\bbl at tempd - 1724220.5}}%
+ \edef#4{\fp_eval:n{%
+ floor((\bbl at tempc - floor((\bbl at tempc+366) / 1461)) / 365) + 1}}%
+ \edef\bbl at tempc{\fp_eval:n{%
+ \bbl at tempd - (#4-1) * 365 - floor(#4/4) - 1724220.5}}%
+ \edef#5{\fp_eval:n{floor(\bbl at tempc / 30) + 1}}%
+ \edef#6{\fp_eval:n{\bbl at tempc - (#5 - 1) * 30 + 1}}}
+\ExplSyntaxOff
+%</ca-ethiopic>
% \end{macrocode}
%
% \section{Buddhist}
diff --git a/babel.ins b/babel.ins
index e33a43e..83bc133 100644
--- a/babel.ins
+++ b/babel.ins
@@ -26,7 +26,7 @@
%% and covered by LPPL is defined by the unpacking scripts (with
%% extension .ins) which are part of the distribution.
%%
-\def\filedate{2022/08/29}
+\def\filedate{2022/08/30}
\def\batchfile{babel.ins}
\input docstrip.tex
@@ -137,6 +137,7 @@
\file{nil.ldf}{\from{babel.dtx}{nil}}
\file{babel-ca-buddhist.tex}{\from{babel.dtx}{ca-buddhist}}
\file{babel-ca-coptic.tex}{\from{babel.dtx}{ca-coptic}}
+ \file{babel-ca-ethiopic.tex}{\from{babel.dtx}{ca-ethiopic}}
\file{babel-ca-hebrew.tex}{\from{babel.dtx}{ca-hebrew}}
\file{babel-ca-islamic.tex}{\from{babel.dtx}{ca-islamic}}
\file{babel-ca-persian.tex}{\from{babel.dtx}{ca-persian}}
diff --git a/babel.pdf b/babel.pdf
index d742702..8c747d0 100644
Binary files a/babel.pdf and b/babel.pdf differ
diff --git a/bbcompat.dtx b/bbcompat.dtx
index 95360a3..162a9f1 100644
--- a/bbcompat.dtx
+++ b/bbcompat.dtx
@@ -30,7 +30,7 @@
%
% \iffalse
%<*dtx>
-\ProvidesFile{bbcompat.dtx}[2022/08/29 v3.79]
+\ProvidesFile{bbcompat.dtx}[2022/08/30 v3.79.2845]
%</dtx>
%
%% File 'bbcompat.dtx'
diff --git a/locale/hu/babel-hu.ini b/locale/hu/babel-hu.ini
index c3b8ff0..5819098 100644
--- a/locale/hu/babel-hu.ini
+++ b/locale/hu/babel-hu.ini
@@ -9,8 +9,8 @@
[identification]
charset = utf8
-version = 1.5
-date = 2022-07-28
+version = 1.6
+date = 2022-08-30
name.local = magyar
name.english = Hungarian
name.babel = hungarian magyar
@@ -53,7 +53,6 @@ also = lásd még
proof = Bizonyítás
glossary = Szójegyzék
-
[captions.licr]
preface = El\H osz\'o
ref = Hivatkoz\'asok
@@ -150,6 +149,36 @@ months.wide.10 = okt\'ober
months.wide.11 = november
months.wide.12 = december
+[date.gregorian.Superessive]
+date.long = [y].[ ][MMMM] [d|date.onday]
+months.wide.1 = január
+months.wide.2 = február
+months.wide.3 = március
+months.wide.4 = április
+months.wide.5 = május
+months.wide.6 = június
+months.wide.7 = július
+months.wide.8 = augusztus
+months.wide.9 = szeptember
+months.wide.10 = október
+months.wide.11 = november
+months.wide.12 = december
+
+[date.gregorian.Superessive.licr]
+date.long = [y].[ ][MMMM] [d|date.onday]
+months.wide.1 = janu\'ar
+months.wide.2 = febru\'ar
+months.wide.3 = m\'arcius
+months.wide.4 = \'aprilis
+months.wide.5 = m\'ajus
+months.wide.6 = j\'unius
+months.wide.7 = j\'ulius
+months.wide.8 = augusztus
+months.wide.9 = szeptember
+months.wide.10 = okt\'ober
+months.wide.11 = november
+months.wide.12 = december
+
[time.gregorian]
time.medium = [H]:[mm]:[ss]
time.short = [H]:[mm]
@@ -208,4 +237,3 @@ digraphs.hyphen.3.1 = {}
digraphs.hyphen.3.2 = { pre = {2}-, data = 1 }
digraphs.hyphen.3.3 = {}
digraphs.hyphen.3.4 = {}
-
More information about the latex3-commits
mailing list.