summaryrefslogtreecommitdiff
path: root/language
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-07-02 03:02:09 +0000
committerNorbert Preining <norbert@preining.info>2021-07-02 03:02:09 +0000
commitc4d400d058136a9045857b99d816595e7a655125 (patch)
treec94ed379e2025f98ef92962c8aedaaa4f207a96c /language
parentc840f97520ba98156a0ed525d6b5d05ab6a324f6 (diff)
CTAN sync 202107020302
Diffstat (limited to 'language')
-rw-r--r--language/bengali/bangla/README6
-rw-r--r--language/bengali/bangla/bangla.pdfbin87622 -> 88933 bytes
-rw-r--r--language/bengali/bangla/bangla.sty24
-rw-r--r--language/bengali/bangla/bangla.tex15
4 files changed, 19 insertions, 26 deletions
diff --git a/language/bengali/bangla/README b/language/bengali/bangla/README
index 0431e47686..a6b831cdae 100644
--- a/language/bengali/bangla/README
+++ b/language/bengali/bangla/README
@@ -1,14 +1,14 @@
----------------------------------------------------------------
bangla package - A Comprehensive Bangla latex package
- E-mail: mailbox.nahid@gmail.com / nahid@cse.uiu.ac.bd
+ E-mail: nahid@cse.uiu.ac.bd / mailbox.nahid@gmail.com
Released under the LaTeX Project Public License v1.3c or later
See http://www.latex-project.org/lppl.txt
----------------------------------------------------------------
The bangla package is a programming tool geared primarily towards LaTeX
-class and package authors. It provides all necessary LaTeX frontends for Bangla
+document authors. It provides all necessary LaTeX frontends for Bangla
language.
------------------------------------------------------------------
- Copyright (C) 2021 by Nahid Hossain mailbox.nahid@gmail.com
+ Copyright (C) 2021 by Nahid Hossain nahid@cse.uiu.ac.bd
This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License (LPPL), either
diff --git a/language/bengali/bangla/bangla.pdf b/language/bengali/bangla/bangla.pdf
index b7be5cac62..70ae83264b 100644
--- a/language/bengali/bangla/bangla.pdf
+++ b/language/bengali/bangla/bangla.pdf
Binary files differ
diff --git a/language/bengali/bangla/bangla.sty b/language/bengali/bangla/bangla.sty
index 2f9dd257fe..a3a8cf1d80 100644
--- a/language/bengali/bangla/bangla.sty
+++ b/language/bengali/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}
diff --git a/language/bengali/bangla/bangla.tex b/language/bengali/bangla/bangla.tex
index e42c6491dc..4b024e162c 100644
--- a/language/bengali/bangla/bangla.tex
+++ b/language/bengali/bangla/bangla.tex
@@ -4,20 +4,19 @@
\usepackage{listings}
\usepackage{float}
\newcommand{\com}[2]{\textcolor{blue}{\textbackslash\texttt{#1}}\texttt{#2}}
-
\begin{document}
\title{The \texttt{bangla} Package}
-\author{Nahid Hossain \\Assistant Professor, United International University\\Bangladesh\\nahid@cse.uiu.ac.bd\\mailbox.nahid@gmail.com\\ \textbf{Version 1.8}}
+\author{Nahid Hossain \\Assistant Professor, United International University\\Bangladesh\\nahid@cse.uiu.ac.bd\\mailbox.nahid@gmail.com\\ \textbf{Version 1.9}}
-\date{June 20, 2021}
+\date{July 1, 2021}
\maketitle
\tableofcontents
\section{Introduction}
\subsection{About \texttt{bangla} Package}
-The \texttt{bangla} package is a programming tool geared primarily towards LaTeX class and package authors. It provides all necessary LaTeX frontends for Bangla language.
+The \texttt{bangla} package is a programming tool geared primarily towards LaTeX document authors. It provides all necessary LaTeX frontends for Bangla language.
\subsection{Licence}
Copyright © 2021 Nahid Hossain. Permission is granted to copy, distribute and/or modify this software under the terms of the LaTeX Project Public License, version 1.3c or later.
@@ -137,7 +136,7 @@ Put \texttt{banglapage} command before \textbackslash begin\{document\} command.
\subsubsection{\com{banglasection}{}}
-\texttt{banglasection} produces bangla numbering for all sections in the article including all subsections. \texttt{banglasection} does not need any parameters.
+\texttt{banglasection} produces bangla numbering for all sections in the article including all subsections and subsubsections. \texttt{banglasection} does not need any parameters.
Put \texttt{banglasection} command before \textbackslash begin\{document\} command. Such as:\\
\com{banglasection}{}
@@ -165,9 +164,15 @@ Put \texttt{banglafigure} command before \textbackslash begin\{document\} comman
\com{banglafigure}{}
+\subsubsection{\com{banglaallcounters}{}}
+\texttt{banglaallcounters} produces bangla numbering for everything in the whole article. \texttt{banglaallcounters} does not need any parameters.
+Put \texttt{banglaallcounters} command before \textbackslash begin\{document\} command. Such as:\\
+\com{banglaallcounters}{}
+
\section{Reporting issues}
To report any error or issue please send an email at nahid@cse.uiu.ac.bd or mailbox.nahid@gmail.com.
\section{Revision History}
+Version 1.9 new command added. minor bug fixed.\\
Version 1.8 bug fixed.\\
Version 1.7 bug fixed.\\
Version 1.6 a new OFL SIL font added. bug fixed.\\