texlive[59792] Master/texmf-dist: bangla (1jul21)
commits+karl at tug.org
commits+karl at tug.org
Thu Jul 1 23:35:23 CEST 2021
Revision: 59792
http://tug.org/svn/texlive?view=revision&revision=59792
Author: karl
Date: 2021-07-01 23:35:23 +0200 (Thu, 01 Jul 2021)
Log Message:
-----------
bangla (1jul21)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/bangla/README
trunk/Master/texmf-dist/doc/latex/bangla/bangla.pdf
trunk/Master/texmf-dist/doc/latex/bangla/bangla.tex
trunk/Master/texmf-dist/tex/latex/bangla/bangla.sty
Modified: trunk/Master/texmf-dist/doc/latex/bangla/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/bangla/README 2021-07-01 21:34:47 UTC (rev 59791)
+++ trunk/Master/texmf-dist/doc/latex/bangla/README 2021-07-01 21:35:23 UTC (rev 59792)
@@ -1,14 +1,14 @@
----------------------------------------------------------------
bangla package - A Comprehensive Bangla latex package
- E-mail: mailbox.nahid at gmail.com / nahid at cse.uiu.ac.bd
+ E-mail: nahid at cse.uiu.ac.bd / mailbox.nahid at 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 at gmail.com
+ Copyright (C) 2021 by Nahid Hossain nahid at cse.uiu.ac.bd
This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License (LPPL), either
Modified: trunk/Master/texmf-dist/doc/latex/bangla/bangla.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/bangla/bangla.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/bangla/bangla.tex 2021-07-01 21:34:47 UTC (rev 59791)
+++ trunk/Master/texmf-dist/doc/latex/bangla/bangla.tex 2021-07-01 21:35:23 UTC (rev 59792)
@@ -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 at cse.uiu.ac.bd\\mailbox.nahid at gmail.com\\ \textbf{Version 1.8}}
+\author{Nahid Hossain \\Assistant Professor, United International University\\Bangladesh\\nahid at cse.uiu.ac.bd\\mailbox.nahid at 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 @@
\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 @@
\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 at cse.uiu.ac.bd or mailbox.nahid at 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.\\
Modified: trunk/Master/texmf-dist/tex/latex/bangla/bangla.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bangla/bangla.sty 2021-07-01 21:34:47 UTC (rev 59791)
+++ trunk/Master/texmf-dist/tex/latex/bangla/bangla.sty 2021-07-01 21:35:23 UTC (rev 59792)
@@ -1,18 +1,16 @@
% Copyright at Nahid Hossain , Asst. Professor, UIU
% nahid at cse.uiu.ac.bd / mailbox.nahid at 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 at end#1\@bengalinum at 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 at end#1\@bengalialpha at 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}
-
-
More information about the tex-live-commits
mailing list.