diff options
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/xepersian/xepersian-persiancal.sty')
-rw-r--r-- | Master/texmf-dist/tex/xelatex/xepersian/xepersian-persiancal.sty | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-persiancal.sty b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-persiancal.sty index 0e8ee2ba3b0..d120b5e1b13 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-persiancal.sty +++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-persiancal.sty @@ -9,7 +9,7 @@ %% __________________________________________________ %% Vafa Khalighi %% -%% Copyright (c) 2008--2024 Vafa Khalighi +%% Copyright (c) 2008--2025 Vafa Khalighi %% Copyright (c) 2018--2020 bidi-tex GitHub Organization %% %% It may be distributed and/or modified under the LaTeX Project Public License, @@ -20,7 +20,7 @@ %% by Vafa Khalighi. %% %% -%% \CheckSum{10981} +%% \CheckSum{10999} %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z @@ -38,7 +38,7 @@ %% Right brace \} Tilde \~} %% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{xepersian-persiancal}[2012/07/25 v0.2 provides Persian calendar] +\ProvidesPackage{xepersian-persiancal}[2025/01/01 v0.3 provides Persian calendar] \newif\ifXePersian@leap \newif\ifXePersian@kabiseh \newcount\XePersian@i \newcount\XePersian@y \newcount\XePersian@m \newcount\XePersian@d @@ -208,6 +208,12 @@ آبان\or آذر\or دی\or بهمن\or اسفند\fi} + +\newcommand*{\persianseason}{% + \ifcase\persianmonth\or + بهار\or بهار\or بهار\or تابستان\or تابستان\or تابستان\or + پاییز\or پاییز\or پاییز\or زمستان\or زمستان\or زمستان\fi +} \endinput %% %% End of file `xepersian-persiancal.sty'. |