summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/bengali
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/bengali')
-rw-r--r--Master/texmf-dist/tex/latex/bengali/beng.sty51
-rw-r--r--Master/texmf-dist/tex/latex/bengali/ubn.fd36
-rw-r--r--Master/texmf-dist/tex/latex/bengali/ubnx.fd36
3 files changed, 123 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/bengali/beng.sty b/Master/texmf-dist/tex/latex/bengali/beng.sty
new file mode 100644
index 00000000000..b8ed4a437c9
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/bengali/beng.sty
@@ -0,0 +1,51 @@
+% LaTeX2e package for using "Bengali for TeX".
+% ============================================
+%
+% Sample input .bn file:
+%
+% \documentclass{article}
+% \usepackage{beng}
+% \begin{document}
+% {\bn baa"ngalaa bhaa.saa}
+% \end{document}
+%
+
+%\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+\ProvidesFile{beng.sty}[2002/03/27 v2.0 Bengali for TeX]
+
+% Error message for someone running LaTeX 2.09:
+
+\@ifundefined{selectfont}
+{\@latexerr{This style option may only be used with LaTeX2e.}\@eha
+ \endinput}{}
+%
+
+\DeclareFontSubstitution{U}{bn}{m}{n}
+
+% Define \bn macro:
+
+\DeclareRobustCommand\bn{%
+ \usefont{U}{bn}{m}{n}%
+ \tolerance=10000\pretolerance=10000
+ \emergencystretch=.2\hsize
+ \baselineskip1.30\baselineskip }
+
+% Define counter for Bengali numerals. This allows for the
+% printing of page numbers in Bengali: \pagenumbering{beng}
+
+%\def\@beng#1{{\bn\number #1}}
+
+% Define macros to access characters in font:
+
+\def\3#1z{{\char"#1}}
+\def\4#1z{{\usefont{U}{bnx}{m}{n}#1}}
+
+%\newcommand*\bnnum{\let\nstyle=d}
+%\newcommand*\cmnum{\let\nstyle=r}
+%\cmnum
+%\DeclareRobustCommand*\rn[1]{\if\nstyle r{\rm #1}\else#1\fi}
+
+%\def\@bengali#1{{\bn\number #1}} % allows counters in bengali
+%\def\bengali#1{\expandafter\@bengali\csname c@#1\endcsname}
+
+\endinput
diff --git a/Master/texmf-dist/tex/latex/bengali/ubn.fd b/Master/texmf-dist/tex/latex/bengali/ubn.fd
new file mode 100644
index 00000000000..2ea1b0e10c5
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/bengali/ubn.fd
@@ -0,0 +1,36 @@
+% LaTeX2e font description file for "Bengali for TeX".
+% ====================================================
+%
+% This file contains the font definitions for the BNR family in the U
+% `user-defined / unknown' encoding. It is used by the LaTeX New Font
+% Selection Scheme, which is part of the standard distribution of
+% LaTeX2e.
+
+%\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+\ProvidesFile{ubn.fd}[2002/03/27 v2.0 Bengali font declarations]
+
+\DeclareFontFamily{U}{bn}{}
+
+\DeclareFontShape{U}{bn}{m}{n}{
+ <5><6><7> gen * bnr
+ <8> <9> gen * bnr
+ <10->bnr10 }{}
+
+\DeclareFontShape{U}{bn}{m}{sc}{ <-> ssub * bnr/m/n }{}
+\DeclareFontShape{U}{bn}{m}{it}{ <-> ssub * bnr/m/sl }{}
+\DeclareFontShape{U}{bn}{m}{itsc}{ <-> ssub * bnr/m/n }{}
+
+\DeclareFontShape{U}{bn}{m}{sl}{
+ <5><6><7> gen * bnsl
+ <8> <9> gen * bnsl
+ <10->bnsl10 }{}
+
+\DeclareFontShape{U}{bn}{m}{slsc}{ <-> ssub * bnr/m/sl }{}
+\DeclareFontShape{U}{bn}{bx}{n}{ <-> ssub * bnr/m/n }{}
+\DeclareFontShape{U}{bn}{bx}{sc}{ <-> ssub * bnr/m/n }{}
+\DeclareFontShape{U}{bn}{bx}{it}{ <-> ssub * bnr/m/sl }{}
+\DeclareFontShape{U}{bn}{bx}{itsc}{ <-> ssub * bnr/m/n }{}
+\DeclareFontShape{U}{bn}{bx}{sl}{ <-> ssub * bnr/m/sl }{}
+\DeclareFontShape{U}{bn}{bx}{slsc}{ <-> ssub * bnr/m/n}{}
+
+\endinput
diff --git a/Master/texmf-dist/tex/latex/bengali/ubnx.fd b/Master/texmf-dist/tex/latex/bengali/ubnx.fd
new file mode 100644
index 00000000000..886fe8ba088
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/bengali/ubnx.fd
@@ -0,0 +1,36 @@
+% LaTeX2e font description file for "Bengali for TeX".
+% ====================================================
+%
+% This file contains the font definitions for the xbnrX family in the U
+% `user-defined / unknown' encoding. It is used by the LaTeX New Font
+% Selection Scheme, which is part of the standard distribution of
+% LaTeX2e.
+
+%\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+\ProvidesFile{uas.fd}[2002/03/27 v2.0 Bengali supplemental font declarations]
+
+\DeclareFontFamily{U}{bnx}{}
+
+\DeclareFontShape{U}{bnx}{m}{n}{
+ <5><6><7> gen * xbnr
+ <8> <9> gen * xbnr
+ <10->xbnr10 }{}
+
+\DeclareFontShape{U}{bnx}{m}{sc}{ <-> ssub * xbnr/m/n }{}
+\DeclareFontShape{U}{bnx}{m}{it}{ <-> ssub * xbnr/m/sl }{}
+\DeclareFontShape{U}{bnx}{m}{itsc}{ <-> ssub * xbnr/m/n }{}
+
+\DeclareFontShape{U}{bnx}{m}{sl}{
+ <5><6><7> gen * xbnsl
+ <8> <9> gen * xbnsl
+ <10->xbnsl10 }{}
+
+\DeclareFontShape{U}{bnx}{m}{slsc}{ <-> ssub * xbnr/m/sl }{}
+\DeclareFontShape{U}{bnx}{bx}{n}{ <-> ssub * xbnr/m/n }{}
+\DeclareFontShape{U}{bnx}{bx}{sc}{ <-> ssub * xbnr/m/n }{}
+\DeclareFontShape{U}{bnx}{bx}{it}{ <-> ssub * xbnr/m/sl }{}
+\DeclareFontShape{U}{bnx}{bx}{itsc}{ <-> ssub * xbnr/m/n }{}
+\DeclareFontShape{U}{bnx}{bx}{sl}{ <-> ssub * xbnr/m/sl }{}
+\DeclareFontShape{U}{bnx}{bx}{slsc}{ <-> ssub * xbnr/m/n}{}
+
+\endinput