summaryrefslogtreecommitdiff
path: root/language
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-06-13 03:03:20 +0000
committerNorbert Preining <norbert@preining.info>2021-06-13 03:03:20 +0000
commit2ba4b1ac7860085c0b259aacb0d99bd2c730edbc (patch)
tree45f851c69d035dca1793ce55cce4783eb52b1dea /language
parent73dcf554624f325ec90d02815c36d92a33c2667f (diff)
CTAN sync 202106130303
Diffstat (limited to 'language')
-rw-r--r--language/bengali/bangla/README4
-rw-r--r--language/bengali/bangla/bangla.pdfbin88226 -> 89448 bytes
-rw-r--r--language/bengali/bangla/bangla.sty43
-rw-r--r--language/bengali/bangla/bangla.tex36
-rw-r--r--language/bengali/bangla/banglamap.tex (renamed from language/bengali/bangla/b-map.tex)0
-rw-r--r--language/bengali/bangla/fontkalpurush.ttf (renamed from language/bengali/bangla/kalpurush.ttf)bin314592 -> 314592 bytes
-rw-r--r--language/bengali/bangla/fontshimanto.ttfbin0 -> 259680 bytes
-rw-r--r--language/bengali/bangla/solaimanlipi.ttfbin249532 -> 0 bytes
-rw-r--r--language/bengali/bangla/vrinda.ttfbin259520 -> 0 bytes
9 files changed, 49 insertions, 34 deletions
diff --git a/language/bengali/bangla/README b/language/bengali/bangla/README
index b5ee8a73ff..0431e47686 100644
--- a/language/bengali/bangla/README
+++ b/language/bengali/bangla/README
@@ -1,10 +1,10 @@
----------------------------------------------------------------
- bangla package - Comprehensive Bangla latex package
+ bangla package - A Comprehensive Bangla latex package
E-mail: mailbox.nahid@gmail.com / nahid@cse.uiu.ac.bd
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 tools geared primarily towards LaTeX
+The bangla package is a programming tool geared primarily towards LaTeX
class and package authors. It provides all necessary LaTeX frontends for Bangla
language.
------------------------------------------------------------------
diff --git a/language/bengali/bangla/bangla.pdf b/language/bengali/bangla/bangla.pdf
index dd936466af..fa531971ed 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 0d30055aa2..2ad61d1bce 100644
--- a/language/bengali/bangla/bangla.sty
+++ b/language/bengali/bangla/bangla.sty
@@ -1,3 +1,5 @@
+% Copyright at Nahid Hossain
+% nahid@cse.uiu.ac.bd / mailbox.nahid@gmail.com
\NeedsTeXFormat{LaTeX2e}[1994/06/01]
\ProvidesPackage{bangla}[2021/05/13]
\RequirePackage{fontspec}
@@ -25,7 +27,7 @@
\csname B-#1\endcsname
\xgenerateTransliteration}
\expandafter\def\csname B-@\endcsname#1{}
-\input{b-map}
+\input{banglamap}
\makeatother
\makeatletter
@@ -235,32 +237,41 @@
\ExplSyntaxOff
\newtoggle{langen}
-\DeclareOption{vrinda}{\newcommand{\fooA}{font1}}
-\DeclareOption{kalpurush}{\newcommand{\fooA}{font2}}
-\DeclareOption{solaimanlipi}{\newcommand{\fooA}{font3}}
+\DeclareOption{shimanto}{\newcommand{\fooA}{font1}}
+\DeclareOption{notosansbengali}{\newcommand{\fooA}{font2}}
+\DeclareOption{notoserifbengali}{\newcommand{\fooA}{font3}}
+\DeclareOption{kalpurush}{\newcommand{\fooA}{font4}}
\ProcessOptions
\ifdefstring{\fooA}{font1}{
-\newfontface{\banglatext}{vrinda.ttf}
-\newfontfamily{\banglabold}{vrinda.ttf}[FakeBold=4.0]
-\newfontfamily{\banglaitalic}{vrinda.ttf}[FakeSlant=0.2]
+\newfontface{\banglatext}{fontshimanto.ttf}
+\newfontfamily{\banglabold}{fontshimanto.ttf}[FakeBold=4.0]
+\newfontfamily{\banglaitalic}{fontshimanto.ttf}[FakeSlant=0.2]
}
{
\ifdefstring{\fooA}{font2}{
- \newfontface{\banglatext}{kalpurush.ttf}
- \newfontfamily{\banglabold}{kalpurush.ttf}[FakeBold=4.0]
- \newfontfamily{\banglaitalic}{kalpurush.ttf}[FakeSlant=0.2]
+ \newfontface\banglatext{Noto Sans Bengali}
+ \newfontfamily{\banglabold}{Noto Sans Bengali}[FakeBold=4.0]
+ \newfontfamily{\banglaitalic}{Noto Sans Bengali}[FakeSlant=0.2]
}
{
\ifdefstring{\fooA}{font3}{
- \newfontface{\banglatext}{solaimanlipi.ttf}
- \newfontfamily{\banglabold}{solaimanlipi.ttf}[FakeBold=4.0]
- \newfontfamily{\banglaitalic}{solaimanlipi.ttf}[FakeSlant=0.2]
+ \newfontface\banglatext{Noto Serif Bengali}
+ \newfontfamily{\banglabold}{Noto Serif Bengali}[FakeBold=4.0]
+ \newfontfamily{\banglaitalic}{Noto Serif Bengali}[FakeSlant=0.2]
}
{
- \newfontface{\banglatext}{kalpurush.ttf}
- \newfontfamily{\banglabold}{kalpurush.ttf}[FakeBold=4.0]
- \newfontfamily{\banglaitalic}{kalpurush.ttf}[FakeSlant=0.2]
+ \ifdefstring{\fooA}{font4}{
+ \newfontface{\banglatext}{fontkalpurush.ttf}
+ \newfontfamily{\banglabold}{fontkalpurush.ttf}[FakeBold=4.0]
+ \newfontfamily{\banglaitalic}{fontkalpurush.ttf}[FakeSlant=0.2]
+ }
+ {
+ \newfontface{\banglatext}{fontkalpurush.ttf}
+ \newfontfamily{\banglabold}{fontkalpurush.ttf}[FakeBold=4.0]
+ \newfontfamily{\banglaitalic}{fontkalpurush.ttf}[FakeSlant=0.2]
+ }
+
}
}
diff --git a/language/bengali/bangla/bangla.tex b/language/bengali/bangla/bangla.tex
index 495f8d94b1..bb68020681 100644
--- a/language/bengali/bangla/bangla.tex
+++ b/language/bengali/bangla/bangla.tex
@@ -9,15 +9,15 @@
\title{The \texttt{bangla} Package}
-\author{Nahid Hossain \\Assistant Professor, United International University\\Bangladesh\\nahid@cse.uiu.ac.bd\\mailbox.nahid@gmail.com}
+\author{Nahid Hossain \\Assistant Professor, United International University\\Bangladesh\\nahid@cse.uiu.ac.bd\\mailbox.nahid@gmail.com\\ \textbf{Version 1.5}}
-\date{June 7, 2021}
+\date{June 12, 2021}
\maketitle
\tableofcontents
\section{Introduction}
\subsection{About \texttt{bangla} Package}
-The \texttt{bangla} package is a programming tools 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 class and package 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.
@@ -28,31 +28,33 @@ The basic command to use the package is-\\ \\
\subsection{Font Selection}
-\textbf{The default font of the \texttt{bangla} package is \texttt{Kalpurush}}. However, an author can easily change the font using the parameter of the \texttt{usepackage} command.
+\textbf{The default font of the \texttt{bangla} package is \texttt{Kalpurush}. If you do not mention any font name in the parameter, the Kalpurush will be your default font.} However, an author can easily change the font using the parameter of the \texttt{usepackage} command.
\\ \\
\com{usepackage}{[<font name>]\{bangla\}}
\\
-For example, if an author wants \texttt{Vrinda} as his default font for the whole article, he can write-
+For example, if an author wants \texttt{Noto Serif Bengali} as the font for the whole article, he can write-
\\ \\
-\com{usepackage}{[vrinda]\{bangla\}}
+\com{usepackage}{[notoserifbengali]\{bangla\}}
\\
-The following fonts are currently associated with the \texttt{bangla} package-
+The following SIL Open Font Licence(OFL) Bangla fonts are currently associated with the \texttt{bangla} package-
\begin{table}[H]
\centering
-\begin{tabular}{|c|c|}
+\begin{tabular}{|c|c|c|}
+\hline
+\textbf{Font Name} & \textbf{Command Keyword} & \textbf{Licence} \\
+\hline
+Kalpurush & \textcolor{blue}{\texttt{kalpurush}} & SIL OFL\\
\hline
-\textbf{Font Name} & \textbf{Command Keyword} \\
+Shimanto & \textcolor{blue}{\texttt{shimanto}} & SIL OFL \\
\hline
-Vrinda & \textcolor{blue}{\texttt{vrinda}}\\
+Noto Sans Bengali & \textcolor{blue}{\texttt{notosansbengali}} & SIL OFL\\
+\hline
+Noto Serif Bengali & \textcolor{blue}{\texttt{notoserifbengali}} & SIL OFL\\
\hline
-Kalpurush & \textcolor{blue}{\texttt{kalpurush}} \\
-\hline
-Solaiman Lipi & \textcolor{blue}{\texttt{solaimanlipi}} \\
-\hline
\end{tabular}
\end{table}
@@ -164,7 +166,9 @@ Put \texttt{banglafigure} command before \textbackslash begin\{document\} comman
\section{Reporting issues}
-To report any error or issue please send an email to nahid@cse.uiu.ac.bd or mailbox.nahid@gmail.com.
+To report any error or issue please send an email at nahid@cse.uiu.ac.bd or mailbox.nahid@gmail.com.
\section{Revision History}
-This is version 1.0 and it has no revision history yet.
+Version 1.5 solved font licence issues and fixed some bugs.\\
+Version 1.0 primary version.\\
+
\end{document}
diff --git a/language/bengali/bangla/b-map.tex b/language/bengali/bangla/banglamap.tex
index 3c3c1e8c95..3c3c1e8c95 100644
--- a/language/bengali/bangla/b-map.tex
+++ b/language/bengali/bangla/banglamap.tex
diff --git a/language/bengali/bangla/kalpurush.ttf b/language/bengali/bangla/fontkalpurush.ttf
index 537cf8da5b..537cf8da5b 100644
--- a/language/bengali/bangla/kalpurush.ttf
+++ b/language/bengali/bangla/fontkalpurush.ttf
Binary files differ
diff --git a/language/bengali/bangla/fontshimanto.ttf b/language/bengali/bangla/fontshimanto.ttf
new file mode 100644
index 0000000000..12a7edff34
--- /dev/null
+++ b/language/bengali/bangla/fontshimanto.ttf
Binary files differ
diff --git a/language/bengali/bangla/solaimanlipi.ttf b/language/bengali/bangla/solaimanlipi.ttf
deleted file mode 100644
index 7e58d118bc..0000000000
--- a/language/bengali/bangla/solaimanlipi.ttf
+++ /dev/null
Binary files differ
diff --git a/language/bengali/bangla/vrinda.ttf b/language/bengali/bangla/vrinda.ttf
deleted file mode 100644
index bdef0c8f36..0000000000
--- a/language/bengali/bangla/vrinda.ttf
+++ /dev/null
Binary files differ