diff options
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/bangla/README | 6 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/bangla/bangla.pdf | bin | 87622 -> 88933 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/bangla/bangla.tex | 15 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/bangla/bangla.sty | 24 |
4 files changed, 19 insertions, 26 deletions
diff --git a/Master/texmf-dist/doc/latex/bangla/README b/Master/texmf-dist/doc/latex/bangla/README index 0431e47686a..a6b831cdaeb 100644 --- a/Master/texmf-dist/doc/latex/bangla/README +++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/bangla/bangla.pdf b/Master/texmf-dist/doc/latex/bangla/bangla.pdf Binary files differindex b7be5cac623..70ae83264bc 100644 --- a/Master/texmf-dist/doc/latex/bangla/bangla.pdf +++ b/Master/texmf-dist/doc/latex/bangla/bangla.pdf diff --git a/Master/texmf-dist/doc/latex/bangla/bangla.tex b/Master/texmf-dist/doc/latex/bangla/bangla.tex index e42c6491dca..4b024e162c5 100644 --- a/Master/texmf-dist/doc/latex/bangla/bangla.tex +++ b/Master/texmf-dist/doc/latex/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.\\ 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} |