diff options
author | Karl Berry <karl@freefriends.org> | 2021-07-01 21:35:23 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-07-01 21:35:23 +0000 |
commit | 9e9b733d390ae0d05732f156066fd5d628462fd9 (patch) | |
tree | 40b5850a9a00a76fe7a535d6aa440bb70134b236 /Master/texmf-dist/tex/latex/bangla | |
parent | 711a230d2183b475863c7180ca3897cd3cf8eed2 (diff) |
bangla (1jul21)
git-svn-id: svn://tug.org/texlive/trunk@59792 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/bangla')
-rw-r--r-- | Master/texmf-dist/tex/latex/bangla/bangla.sty | 24 |
1 files changed, 6 insertions, 18 deletions
diff --git a/Master/texmf-dist/tex/latex/bangla/bangla.sty b/Master/texmf-dist/tex/latex/bangla/bangla.sty index 2f9dd257fed..a3a8cf1d80a 100644 --- a/Master/texmf-dist/tex/latex/bangla/bangla.sty +++ b/Master/texmf-dist/tex/latex/bangla/bangla.sty @@ -1,18 +1,16 @@ % Copyright at Nahid Hossain , Asst. Professor, UIU % nahid@cse.uiu.ac.bd / mailbox.nahid@gmail.com \NeedsTeXFormat{LaTeX2e}[1994/06/01] -\ProvidesPackage{bangla}[2021/06/20] +\ProvidesPackage{bangla}[2021/07/01] \RequirePackage{fontspec} \RequirePackage{etoolbox} \RequirePackage{polyglossia} -\RequirePackage{charissil} - +\RequirePackage{CharisSIL} \setmainlanguage{english} \setotherlanguage{bengali} \newfontface\translitfont{CharisSIL-R.ttf} \newfontface\banglaipafont{CharisSIL-R.ttf} -%Doulos_SIL_Regular.ttf \makeatletter \def\zztable#1{#1} \def\zzrow#1#2{\expandafter\gdef\csname B-#2\endcsname{#1}} @@ -31,7 +29,6 @@ \expandafter\def\csname B-@\endcsname#1{} \input{banglamap} \makeatother - \makeatletter \long\def\@gobbletorelax#1\relax{} \newcommand\bengalinum[1]{\expandafter\@bengalinum\csname c@#1\endcsname} @@ -59,14 +56,12 @@ \def\@bengalinum@end#1\@bengalinum@digit#2{} \makeatother \newcommand{\banglapage}{\renewcommand\thepage{\bengalinum{page}}} -\newcommand{\banglasection}{\renewcommand*\thesection{\bengalinum{section}} -\renewcommand*\thesubsection{\thesection.\bengalinum{subsection}}} - +\newcommand{\banglasection}{\renewcommand\thesection{\bengalinum{section}} +\renewcommand\thesubsection{\thesection.\bengalinum{subsection}} +\renewcommand\thesubsubsection{\thesubsection.\bengalinum{subsubsection}}} \newcommand{\banglaequation}{\renewcommand\theequation{\bengalinum{equation}}} - \newcommand{\banglatable}{\renewcommand\thetable{\bengalinum{table}}} \newcommand{\banglafigure}{\renewcommand\thefigure{\bengalinum{figure}}} - \makeatletter \long\def\@gobbletorelax#1\relax{} \newcommand\bengalialpha[1]{\expandafter\@bengalialpha\csname c@#1\endcsname} @@ -94,13 +89,7 @@ } \def\@bengalialpha@end#1\@bengalialpha@digit#2{} \makeatother - \newcommand{\banglaenumerate}{\renewcommand\theenumi{\bengalinum{enumi}}\renewcommand\theenumii{\bengalialpha{enumii}}} - - -%\newcommand{\banglasubsectionnum}{\renewcommand\thesection{\bengalinumeral{section}}} - - \ExplSyntaxOn \tl_new:N \l_mytrans_tl @@ -278,6 +267,5 @@ } } - - +\newcommand{\banglaallcounters}{\banglapage \banglasection \banglaenumerate \banglaequation \banglatable \banglafigure} |