diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-12 23:54:08 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-12 23:54:08 +0000 |
commit | ac62703bb41d6c1d0a42740965c508d0f9db377f (patch) | |
tree | 6cc26b0a4ff6d78b5ed08dad2a6066e5bb6ca8ce | |
parent | 43724ef731bdfccf76819f9a7713ccc2ef605ac0 (diff) |
devanagr
git-svn-id: svn://tug.org/texlive/trunk@821 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/tex/latex/devanagr/captions.dn | 40 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/devanagr/dev.sty | 721 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/devanagr/dev209.sty | 110 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/devanagr/udn.fd | 95 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/devanagr/udnb.fd | 83 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/devanagr/udnc.fd | 83 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/devanagr/udnn.fd | 83 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/devanagr/udnp.fd | 73 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/devanagr/udnpb.fd | 75 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/devanagr/udnpc.fd | 75 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/devanagr/udnpn.fd | 75 |
11 files changed, 1513 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/devanagr/captions.dn b/Master/texmf-dist/tex/latex/devanagr/captions.dn new file mode 100644 index 00000000000..689ca67448f --- /dev/null +++ b/Master/texmf-dist/tex/latex/devanagr/captions.dn @@ -0,0 +1,40 @@ +@modernhindi +\def\datemodernhindi{\def\today{\@datenumeric\day\space\ifcase\month\or +{\dn janavarii}\or +{\dn faravarii}\or +{\dn maarca}\or +{\dn apraila}\or +{\dn maI}\or +{\dn juuna}\or +{\dn julAI}\or +{\dn agasta}\or +{\dn sitambara}\or +{\dn aktuubara (ak.tobara)}\or +{\dn navambara}\or +{\dn disambara}\fi\space\@datenumeric\year}} + +\def\captionsmodernhindi{% +\def\abstractname{{\dn saaraa.m"sa}}% +\def\appendixname{{\dn pari"si.s.ta}}% +\def\bibname{{\dn sa.mdar"sa grantha}}% (?) +\def\ccname{}% +\def\chaptername{{\dn adhyaaya}}% +\def\contentsname{{\dn vi.saya-suucii}}% +\def\enclname{{\dn }}% +\def\figurename{{\dn citra}}% rekhaacitra +\def\headpagename{{\dn p.r.s.tha}}% +\def\headtoname{}% +\def\indexname{{\dn suucii}}% +% suucaka +% anukrama.nikaa +% anukrama.ni +\def\listfigurename{{\dn citro.m kii suucii}}% +\def\listtablename{{\dn taalikaao.m kii suucii}}% +\def\pagename{{\dn p.r.s.tha}}% +\def\partname{{\dn kha.n.da}}% +\def\prefacename{{\dn prastaavanaa}}% praakkathana +\def\refname{{\dn havaale}}% +\def\tablename{{\dn taalikaa}}% +\def\seename{{\dn dekhie}}% +\def\alsoname{{\dn aur dekhie}}% +\def\alsoseename{{\dn aur dekhie}}} diff --git a/Master/texmf-dist/tex/latex/devanagr/dev.sty b/Master/texmf-dist/tex/latex/devanagr/dev.sty new file mode 100644 index 00000000000..f4f58590658 --- /dev/null +++ b/Master/texmf-dist/tex/latex/devanagr/dev.sty @@ -0,0 +1,721 @@ +% +% dev.sty v2.12 +% +% LaTeX2e package for Devanagari for TeX system. +% Copyright (C) 1991-2003 University of Groningen, The Netherlands +% +% Author : Dominik Wujastyk <d.wujastyk@ucl.ac.uk> +% Maintainer : Anshuman Pandey <apandey@u.washington.edu> +% Kevin Carmody <i@kevincarmody.com> +% Revised : 14 March 2005 +% +% This program is free software; you can redistribute it and/or modify +% it under the terms of the GNU General Public License as published by +% the Free Software Foundation. +% +% This program is distributed in the hope that it will be useful, +% but without any warranty; without even the implied warranty of +% merchantability or fitness for a particular purpose. See the +% GNU General Public License for more details. +% +% ========================================================================= +% +% Sample input .dn file: +% +% \documentclass{article} +% \usepackage{dev} +% \begin{document} +% {\dn devaanaa.m priya.h} +% \end{document} +% +% Sample input .dn file with hyphenation: +% +% \documentclass{article} +% \begin{document} +% @hyphen +% {\dn devaanaa.m priya.h} +% \end{document} +% +% +% +% The Identification Part +% ~~~~~~~~~~~~~~~~~~~~~~~ +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesFile{dev.sty}[2004/08/03 $Revision: 1.8 $ LaTeX macros for Velthuis Devanagari] +% +% Error message for someone running LaTeX 2.09: Checks for definition of +% \documentclass; it exists in LaTeX2e, but not in LaTeX 2.09 +% +\@ifundefined{documentclass} +{\@latexerr{This "dev" style option may only be used with LaTeX2e.^^J + Use "dev209.sty" instead.}\@eha + \endinput}{} +% +% Error message for someone running LaTeX2e in 2.09 compatibility mode: +% +\if@compatibility +\PackageError{dev}{% + This `dev' package is only for use with LaTeX2e.\MessageBreak + If you absolutely must use LaTeX 2.09 compatibility mode,\MessageBreak + you could try using the older `dev209.sty' file instead,\MessageBreak + but the results are not predictable}{You will not + get any further with this approach. + Just press "X" and quit now.} +\fi +% +% +% The Declaration of Options +% ~~~~~~~~~~~~~~~~~~~~~~~~~~ +% \DeclareFontEncoding{}{}{} % Already done by standard classes. +% +% Initialize Devanagari font family +\DeclareFontSubstitution{U}{dn}{m}{n} +% +\newcommand{\dnoriginal}{\usefont{U}{dn}{m}{n}} +\newcommand{\dnbombay}{\usefont{U}{dnb}{m}{n}} +\newcommand{\dncalcutta}{\usefont{U}{dnc}{m}{n}} +\newcommand{\dnnepali}{\usefont{U}{dnn}{m}{n}} +\newcommand{\dnpen}{\usefont{U}{dnp}{m}{n}} +\newcommand{\dnpenbombay}{\usefont{U}{dnpb}{m}{n}} +\newcommand{\dnpencalcutta}{\usefont{U}{dnpc}{m}{n}} +\newcommand{\dnpennepali}{\usefont{U}{dnpn}{m}{n}} +% Default dn family +\newcommand{\dnfamilydefault}{dn} +% +% Hyphenation +% ~~~~~~~~~~~ +% The responsibility for hyphenating Devanagari text is taken over +% completely by the preprocessor, devnag.c. The preprocessor inserts +% discretionary hyphenation points (\-) in all the places it thinks are +% appropriate. +% +% In the present style file, therefore, we simply need to do two things. +% First we want to tell TeX where the hyphen is in the font, i.e., at +% position 255. This we do in \DeclareFontFamily macro in the font +% definition file, Udn.fd. +% +% Next, we want to prevent TeX doing any automatic hyphenation except +% where devnag.c inserts discretionary hyphenation points. This is a bit +% tricky: we invoke a special "language" which has been defined not to +% have any hyphenation. This is defined in language.dat as "nohyphenation +% zerohyph.tex", i.e., a hyphenation file without any entries is loaded. +% When the LaTeX2e format is built (initex \dump) usually a file +% hyphen.cfg will be loaded by the main latex.ltx format file. In turn, +% hyphen.cfg loads language.dat. If this little chain of file references +% fails, you can try doing all this manually by adding the following lines +% into your LaTeX format at the time of doing a \dump of the format file: +% +% \newlanguage\l@nohyphenation +% \language\l@nohyphenation +% \begingroup\patterns{}\endgroup % no patterns +% +% Or, since any newly defined language initially has no associated +% hyphenation patterns, it is probably enough just to uncomment the +% following lines in this style file, which saves you having to make a new +% format file: +% +% \newlanguage\l@nohyphenation +% \language\l@nohyphenation +% +% Okay, so here's what we do about disabling automatic hyphenation for the +% present incarnation of dev.sty. We simply say "\language\l@nohyphenation" +% in the main \dn macro. The use of the name \l@nohyphenation is meant to +% be forward-compatible with LaTeX2e's future, so we just do a little check +% here to make sure we can use it, and define it if it doesn't already +% exist: +% +%\@ifundefined{\l@nohyphenation}{\let\l@nohyphenation=\nohyphenation}{\relax} +% +% +% The Main Code Part +% ~~~~~~~~~~~~~~~~~~ +% Now define the main Devanagari macro, \dn. +% +\DeclareRobustCommand\dn{% + \fontencoding{U}\fontfamily{\dnfamilydefault}\selectfont% +% \language=\l@nohyphenation + \renewcommand*{\-}{\@@hyph}% + \hfuzz=4pt + \tolerance=10000\pretolerance=10000 + \emergencystretch=.2\hsize % remove this line if you are not using TeX > 3.0 + \linespread{1.27}\selectfont + \csname really@do@dev@catcodes\endcsname + \let\dn@latex@info\@latex@info \let\@latex@info\@gobble + \dn@commands \let\@latex@info\dn@latex@info + \csname dn@captions\endcsname \cmnum} +% +% Here is the macro \do@dev@catcodes that changes the catcodes +% appropriately for Devanagari. \UnDevCatcodes restores the +% catcodes to original values. It may sometimes be needed. In order +% to prevent errors we wish to define the ranges of the Devanagari +% characters only once. The loop will therefore call an internal +% macro \dev@catcode which will change its definition. +% +\newcount\dev@chnum +% +\def\UnDevCatcodes{} +\def\dev@catcode{\edef\UnDevCatcodes{\UnDevCatcodes + \protect\catcode\the\dev@chnum=\the\catcode\dev@chnum}\catcode\dev@chnum=11 + \show\UnDevCatcodes} + +\newcommand*\do@dev@catcodes{% + \dev@chnum=0 + \loop\dev@catcode + \ifnum\dev@chnum<12 \advance\dev@chnum by1 + \repeat + \dev@chnum=14 + \loop\dev@catcode + \ifnum\dev@chnum<31 \advance\dev@chnum by1 + \repeat + \dev@chnum=127 \dev@catcode} + +\let\@@protect\protect +\let\protect\@unexpandable@protect +\def\dev@catcode{\edef\UnDevCatcodes{\UnDevCatcodes + \protect\catcode\the\dev@chnum=\the\catcode\dev@chnum}} +\do@dev@catcodes +\let\protect\@@protect +\def\dev@catcode{\catcode\dev@chnum=11 } +% +% We execute the macro straight away, which means these catcodes are in +% force throughout the whole document, not just in the Devanagari part +% of the text. This can sometimes cause spurious "Omega" characters if, +% in some special conditions, TeX reads a line feed outside the \dn +% environment, and so forth. +% +% The alternative, i.e., calling the catcodes locally within Devanagari +% text, leads to even worse "illegal character" problems with \chapter +% and \section headings, etc. This dilemma may be soluble in the longer +% run, but is not being addressed in the current release (2004). +% This is, however, in conflict with MusixTeX. Option "nocatcodes" will +% execute the macro only within Devanagari text. +% +% Version 2.02 of the preprocessor was redesigned so that the catcodes +% need not be changed. The change of catcodes may be, however, in rare +% cases necessary (see the manual for details). In such cases you can +% use the "catcodes" option. Option "compat" enters the compatibility +% mode which changes the catcodes within \dn as in the old version. + +\@ifundefined{DevnagVersion}% + {\let\really@do@dev@catcodes\do@dev@catcodes + \let\dn@commands\do@dev@catcodes}% + {\let\dn@commands\relax} + +\DeclareOption{catcodes}{\let\dn@commands\do@dev@catcodes} +\DeclareOption{nocatcodes}{\let\dn@commands\relax} +\DeclareOption{compat}{\let\really@do@dev@catcodes\do@dev@catcodes} + +% Language options: if one of these options is defined, \dn will also +% set corresponding captions and date format + +\DeclareOption{hindi}{\def\dn@captions{\captionshindi \datehindi}} +\DeclareOption{modernhindi}{\def\dn@captions{\captionsmodernhindi \datemodernhindi}} + +% Global definition of the font variant +\DeclareOption{bombay}{\renewcommand{\dnfamilydefault}{dnb}} +\DeclareOption{calcutta}{\renewcommand{\dnfamilydefault}{dnc}} +\DeclareOption{nepali}{\renewcommand{\dnfamilydefault}{dnn}} +\DeclareOption{pen}{\renewcommand{\dnfamilydefault}{dnp}} +\DeclareOption{penbombay}{\renewcommand{\dnfamilydefault}{dnpb}} +\DeclareOption{pencalcutta}{\renewcommand{\dnfamilydefault}{dnpc}} +\DeclareOption{pennepali}{\renewcommand{\dnfamilydefault}{dnpn}} + +\ProcessOptions +\dn@commands +%\typeout{dn@commands were executed} + +% +% Here are the macros that set the particular characters in the font: +% +\newdimen\itdim +\def\dev@three#1w{{\char"#1}}% +% +\DeclareRobustCommand\dn@commands{% +\DeclareRobustCommand*\subscr[1]{\/\itdim=\lastkern + \unkern\kern-\itdim \lower\dp0 \hbox to\itdim{##1\hfil}}% +% +\DeclareRobustCommand*\0{\llap{\char13}}% +\DeclareRobustCommand*\1{\llap{\char32}}% +\DeclareRobustCommand*\2{\llap{\char92}}% +\DeclareRobustCommand\3{\dev@three}% +\DeclareRobustCommand*\4{\llap{\char123}}% +\DeclareRobustCommand*\5{\llap{\char125}}% +\DeclareRobustCommand*\6[1]{\setbox0=\hbox{##1}##1\subscr{\char126}}% +\DeclareRobustCommand*\7[1]{\setbox0=\hbox{##1}##1\subscr{\char0}}% +\DeclareRobustCommand*\8[1]{\setbox0=\hbox{##1}##1\subscr{\char1}}% +\DeclareRobustCommand*\9[1]{\setbox0=\hbox{##1}##1\subscr{\char2}}% +\DeclareRobustCommand*\qa[2]{\setbox0=\hbox{##1}##1\subscr{\char253\kern1.5ex\lower1.25ex + \hbox{\char##2}\kern-1.5ex}}% +\DeclareRobustCommand*\qb[1]{\setbox0=\hbox{##1}##1\subscr{\char253}}% +% New \qc ligature command introduced by devnag version 2: +\DeclareRobustCommand*\qc[2]{\setbox0=\hbox{##1}##1\subscr{\char126\kern1.5ex\lower1.25ex + \hbox{\char##2}\kern-1.5ex}}% +\DeclareRobustCommand*\qq[1]{\setbox0=\hbox{##1}##1\subscr{\char94}}% +\DeclareRobustCommand*\qx[1]{\setbox0=\hbox{##1}##1\subscr{\char14}}% +\DeclareRobustCommand*\qy[1]{\setbox0=\hbox{##1}##1\subscr{\char31}}% +\DeclareRobustCommand*\qz[1]{\setbox0=\hbox{##1}##1\subscr{\char124}}% +\DeclareRobustCommand*\qva{\kern0.5ex\2\kern-0.5ex}% +\DeclareRobustCommand*\qvb{\kern1ex\0\kern-1ex}% +\DeclareRobustCommand*\qvc{\kern1ex\rdt\kern-1ex}% +\DeclareRobustCommand*\?{\llap{\char3}}% +\DeclareRobustCommand*\<{\llap{\char4}}% +\DeclareRobustCommand*\rs{\NormalFont\thinspace}% +\DeclareRobustCommand\re{\thinspace}% +\DeclareRobustCommand*\rdt{\llap{\char19}}% +\DeclareRobustCommand*\dnnum{\let\nstyle=d}% +\DeclareRobustCommand*\cmnum{\let\nstyle=r}% +\DeclareRobustCommand*\rn[1]{\if\nstyle r{\NormalFont ##1}\else##1\fi}% +% Switch to "pen" mode of the current family +\DeclareRobustCommand\pen{\expandafter\dn@penselect\f@family!?}% +\def\dn@penselect##1##2##3##4?{\if##1d\if##2n% Only available for dn* fonts + \if##3p% do nothing, pen already selected + \else\if##3!\fontfamily{dnp}\selectfont % original pen font + \else \fontfamily{##1##2p##3}\selectfont \fi\fi + \fi \fi}% +} % end of \dn@commands +% +% Vedic intonation mark macros (based on Kevin Carmody's code from dnmacs.tex) +% +% Use these macros in DN files to enable and use Vedic intonation macros. +% +\DeclareRobustCommand\dnveda{% + \DeclareRobustCommand\_{\anudattavar}% + \DeclareRobustCommand\={\anudattafix}% + \DeclareRobustCommand\|{\svarita}% + \DeclareRobustCommand\~{\padasep}} +% +\DeclareRobustCommand\dnsamaveda{% + \DeclareRobustCommand\^{\samatone}% + \DeclareRobustCommand\@{\vedicanusvara}} +% +\DeclareRobustCommand*\anudattavar[1]{\leavevmode\setbox0=\hbox{#1}\anudep=\dp0\anuwid=\wd0 + \advance\anudep by 0.7ex\advance\anuwid by -0.1em{#1}\llap{\lower\anudep + \hbox{\vrule width\anuwid height0.07em}% + \hbox{\phantom{\vrule width0.1em height0.08em}}}} +% +\DeclareRobustCommand*\anudattafix[1]{\leavevmode\setbox0=\hbox{#1}\anudep=\dp0\anuwid=\wd0 + \advance\anudep by 0.7ex{#1}\llap{\lower\anudep + \hbox to\anuwid{\hss\vrule width0.5em height0.07em\hss}}} +% +\DeclareRobustCommand*\svarita[1]{\leavevmode\hbox{#1}% + \llap{\raise5.7ex\hbox{\vrule height2.5ex width0.08em}% + \hbox{\phantom{\vrule height2.5ex width0.15em}}}} +% +\DeclareRobustCommand\padasep{\leavevmode\hbox{% + \kern-0.15em\raise2.42ex\hbox{\char255}% + \kern-0.15em\raise2.42ex\hbox{\char255}% + \kern-0.15em\raise2.42ex\hbox{\char255}}} +% +\DeclareRobustCommand*\samatone[2]{\leavevmode\hbox{#1}% + \llap{\raise9.5ex\hbox{\dnnum\dn@tf #2}% + \hbox{\phantom{\vrule height2.5ex width0.15em}}}} +% +\DeclareRobustCommand\vedicanusvara{\leavevmode{\kern1.0ex\lower1.5ex\hbox{\char32}}% + \kern-2.0ex\raise3.7ex\llap{\char94}\kern3.8ex} +% +% Macro for selection of Sama Veda tone font \dn@tf +% +\def\dn@tf{% + \ifdim\f@size\p@<8pt \@tempdima5pt \else + \ifdim\f@size\p@<10pt \@tempdima6pt \else + \ifdim\f@size\p@<11pt \@tempdima7pt \else + \ifdim\f@size\p@<14.4pt \@tempdima8pt \else + \ifdim\f@size\p@<17.2pt \@tempdima10pt \else + \ifdim\f@size\p@<18pt \@tempdima14.4pt \else + \@tempdima .8\f@size \fi \fi \fi \fi \fi \fi + \fontsize\@tempdima\@tempdima\selectfont} +% +% Registers for Vedic intonation marks +% +\newdimen\anudep +\newdimen\anuwid +% +% +% +% Fixes +% ~~~~~ +% Here are some fixes for specific situations, provided by Francois Patte. +% +% Because TeX interprets [ and ] of the biblabel as dn char 133 and +% 135 the package cite is needed to use the command cite in the nagari +% text. This section corrects this behaviour. +% -- F. Patte. +% +\IfFileExists{cite.sty} + {% +\RequirePackage{cite} }% +{ \newcommand\citeleft{}% + \newcommand\citeright{}% + \newcommand\citemid{}% +\typeout{} +\typeout{Package dev Info: Package cite.sty doesn't exist on your + system.^^J +\space\space\space\space\space\space\space\space\space\space +\space\space\space\space\space\space\space + This package is needed if you want to make bibliographies ^^J +\space\space\space\space\space\space\space\space\space\space +\space\space\space\space\space\space\space +within the Devanagari text.} +} +\typeout{} +% +\renewcommand{\citeleft}{{\NormalFont\bfseries [$\!\!$[}} +\renewcommand{\citeright}{{\NormalFont\bfseries ]$\!\!$]}} +\renewcommand\@biblabel[1]{{\NormalFont\bfseries [$\!\!$[}#1{\NormalFont\bfseries ]$\!\!$]}} +\renewcommand\citemid{{\LARGE{\dn\char'24 }}} % +% +% end the cite correction by F. Patte. +% +% +% This section corrects the use of LaTeX commands within the +% Devanagari text for those who want a nagari text with an European +% make-up: e.g. \item in enumerate environment will produce +% the number followed by a danda because the period stands for a danda +% in Velthuis'translation scheme. +% -- F. Patte. +% +\@ifundefined{@dev} + {% + \renewcommand\@biblabel[1]{{\NormalFont\bfseries [$\!\!$[ #1 ]$\!\!$]}} + \renewcommand{\MakeUppercase}{} + \newcommand{\notedn}[1]{\footnote{\dn #1}} +% +\@ifundefined{chapter}{}{% +% +\newcommand{\old@part}{} % Test if \old@part can be used. +\let\old@part\part +% +\renewcommand{\part}{% + \@ifstar{\new@partstar}{% + \@ifnextchar[{\new@partopt}{\new@part}% + }% +} +\newcommand{\new@partstar}[1]{% + \old@part*{#1}% +} +\newcommand{\new@partopt}[2][]{% + \old@part[#1\NormalFont]{#2\NormalFont}% +} +\newcommand{\new@part}[1]{% + \old@part{#1\NormalFont}% +} +% +\newcommand{\old@chapter}{} % Test if \old@chapter can be used. +\let\old@chapter\chapter + +\renewcommand{\chapter}{% + \@ifstar{\new@chapterstar}{% + \@ifnextchar[{\new@chapteropt}{\new@chapter}% + }% +} +\newcommand{\new@chapterstar}[1]{% + \old@chapter*{#1}% +} +\newcommand{\new@chapteropt}[2][]{% + \old@chapter[#1\NormalFont]{#2\NormalFont}% +} +\newcommand{\new@chapter}[1]{% + \old@chapter{#1\NormalFont}% +} +} +\newcommand{\old@starttoc}{} % Test if \old@starttoc can be used (Z. Wagner). +\let\old@starttoc\@starttoc +\renewcommand\@starttoc{\afterassignment\NormalFont\old@starttoc} + \AtBeginDocument{% + \renewcommand\labelenumi{{\NormalFont\theenumi.}}% + \renewcommand\labelenumii{{\NormalFont(\theenumii)}}% + }% +}{} + +\let\NormalFont\normalfont + +% This code makes global nonconflicting robust declarations at the beginning +% of the document + +\def\DeclareDnCommand{\@ifstar{\declare@dn@command}{\declare@dn@command}} + +\def\declare@dn@command#1{% + \ifx#1\@undefined\let#1\relax\else\ifx#1\relax\else + \edef\reserved@a{\string#1}% + \def\reserved@b{#1}% + \edef\reserved@b{\expandafter\strip@prefix\meaning\reserved@b}% + \edef\@tempa{% + \ifx\reserved@a\reserved@b + \noexpand\x@protect + \noexpand#1% + \fi + \noexpand\protect + \expandafter\noexpand\csname + \expandafter\@gobble\string#1 \endcsname + }% + \ifx#1\@tempa \else + \expandafter\let\csname dev@\reserved@a @saved\endcsname#1 + \expandafter\new@command\csname + \expandafter\@gobble\string#1 \endcsname + {\csname dev@\reserved@a @saved\endcsname}% + \fi\fi\fi \let\@tempa\relax \new@command\@tempa +} + +\def\InitialDnDeclaration#1{% +\let\dev@saved\DeclareRobustCommand +\let\DeclareRobustCommand\DeclareDnCommand#1 +\let\DeclareRobustCommand\dev@saved} + +\AtBeginDocument{\InitialDnDeclaration\dn@commands} + +% Devanagari representation of counters (similar as \arabic and \roman) + +\def\devanagari#1{\expandafter\@devanagari\csname c@#1\endcsname} +\def\@devanagari#1{{\dn\number#1}} + +\def\hindidatearabic{\let\@datenumeric\@arabic} +\def\hindidatedevanagari{\let\@datenumeric\@devanagari} +\hindidatedevanagari + +% Captions +% for (partial) compatibility with language switching + +\def\datehindi{\def\today{\@datenumeric\day\space\ifcase\month\or +{\dn jnvrF}\or +{\dn \327wrvrF}\or +{\dn mAc\0}\or +{\dn a\3FEw\4l}\or +{\dn mI}\or +{\dn \8{j}n}\or +{\dn \7{j}lAI}\or +{\dn ag-t}\or +{\dn EstMbr}\or +{\dn a\8{\3C4w}br}\or +{\dn nvMbr}\or +{\dn EdsMbr}\fi\space\@datenumeric\year}} + +\def\captionshindi{% +\def\abstractname{{\dn sArA\2f}}% +\def\appendixname{{\dn pErEf\309wV}}% +\def\bibname{{\dn s\2df\0 g\5\306wT}}% (?) +\def\ccname{}% +\def\chaptername{{\dn a@yAy}}% +\def\contentsname{{\dn Evqy{\rs -\re}\8{s}cF}}% +\def\enclname{{\dn }}% +\def\figurename{{\dn Ec/}}% +\def\headpagename{{\dn \9{p}\309wW}}% +\def\headtoname{}% +\def\indexname{{\dn \8{s}cF}}% +\def\listfigurename{{\dn Ec/o{\qva} kF \8{s}cF}}% +\def\listtablename{{\dn tAElkAao\2 kF \8{s}cF}}% +\def\pagename{{\dn \9{p}\309wW}}% +\def\partname{{\dn K\317wX}}% +\def\prefacename{{\dn \3FEw-tAvnA}}% +\def\refname{{\dn hvAl\?}}% +\def\tablename{{\dn tAElkA}}% +\def\seename{{\dn d\?EKe}}% +\def\alsoname{{\dn aOr d\?EKe}}% +\def\alsoseename{{\dn aOr d\?EKe}}} + +\def\datemodernhindi{\def\today{\@datenumeric\day\space\ifcase\month\or +{\dn jnvrF}\or +{\dn \327wrvrF}\or +{\dn mAc\0}\or +{\dn a\3FEw\4l}\or +{\dn mI}\or +{\dn \8{j}n}\or +{\dn \7{j}lAI}\or +{\dn ag-t}\or +{\dn EstMbr}\or +{\dn a?\8{t}br}\or +{\dn nvMbr}\or +{\dn EdsMbr}\fi\space\@datenumeric\year}} + +\def\captionsmodernhindi{% +\def\abstractname{{\dn sArA\2f}}% +\def\appendixname{{\dn pErEf\309wV}}% +\def\bibname{{\dn s\2df\0 g\5\306wT}}% (?) +\def\ccname{}% +\def\chaptername{{\dn a@yAy}}% +\def\contentsname{{\dn Evqy{\rs -\re}\8{s}cF}}% +\def\enclname{{\dn }}% +\def\figurename{{\dn Ec/}}% +\def\headpagename{{\dn \9{p}\309wW}}% +\def\headtoname{}% +\def\indexname{{\dn \8{s}cF}}% +\def\listfigurename{{\dn Ec/o{\qva} kF \8{s}cF}}% +\def\listtablename{{\dn tAElkAao\2 kF \8{s}cF}}% +\def\pagename{{\dn \9{p}\309wW}}% +\def\partname{{\dn K\317wX}}% +\def\prefacename{{\dn \3FEw-tAvnA}}% +\def\refname{{\dn hvAl\?}}% +\def\tablename{{\dn tAElkA}}% +\def\seename{{\dn d\?EKe}}% +\def\alsoname{{\dn aOr d\?EKe}}% +\def\alsoseename{{\dn aOr d\?EKe}}} + +\providecommand\dateUSenglish{\def\today{\ifcase\month\or + January\or February\or March\or April\or May\or June\or + July\or August\or September\or October\or November\or December\fi + \space\number\day, \number\year}} + +\providecommand\dateenglish{\def\today{\ifcase\day\or + 1st\or 2nd\or 3rd\or 4th\or 5th\or + 6th\or 7th\or 8th\or 9th\or 10th\or + 11th\or 12th\or 13th\or 14th\or 15th\or + 16th\or 17th\or 18th\or 19th\or 20th\or + 21st\or 22nd\or 23rd\or 24th\or 25th\or + 26th\or 27th\or 28th\or 29th\or 30th\or + 31st\fi + ~\ifcase\month\or + January\or February\or March\or April\or May\or June\or + July\or August\or September\or October\or November\or December\fi + \space \number\year}} + +\providecommand\captionsenglish{% +\def\abstractname{Abstract}% +\def\appendixname{Appendix}% +\def\bibname{Bibliography}% +\def\ccname{cc}% +\def\chaptername{Chapter}% +\def\contentsname{Contents}% +\def\enclname{encl}% +\def\figurename{Figure}% +\def\headpagename{Page}% +\def\headtoname{To}% +\def\indexname{Index}% +\def\listfigurename{List of Figures}% +\def\listtablename{List of Tables}% +\def\pagename{Page}% +\def\partname{Part}% +\def\prefacename{Preface}% +\def\prefacename{Preface}% +\def\refname{References}% +\def\tablename{Table}% +\def\seename{see}% +\def\alsoseename{see also}} + +% +% The end. +% ~~~~~~~~ +\endinput + + + +Here is the log file, created by RCS. + +% % $Log: dev.sty,v $ +% % Revision 1.8 2005/03/30 14:24:23 icebearsoft +% % The name of October fixed +% % +% % Revision 1.7 2005/03/30 09:29:15 icebearsoft +% % Added forgotten \dn in the definition of \@devanagari. +% % +% % Revision 1.6 2005/03/29 13:11:42 icebearsoft +% % \devanagari{countername} was implemented similarly as \arabic{countername} or +% % \roman{countername} +% % +% % \captionshindi, \datehindi, \captionsmodernhindi, \datemodernhindi implemented, +% % texts in the original Velthuis transliteration are provided in captions.dn +% % +% % \today in \datehindi and \datemodernhindi (Europian style) displays Devanagari +% % numbers. This can be switched by \hindidatedevanagari and \hindidatearabic, +% % respectively. +% % +% % See the feature tracker for more comments. +% % +% % Revision 1.5 2005/03/15 09:15:29 icebearsoft +% % Nepali added to the \pen macro. +% % +% % Revision 1.4 2005/03/15 07:45:14 apandey +% % Added global option 'pennepali'. +% % +% % Revision 1.3 2005/03/14 08:48:50 icebearsoft +% % New package options bombay. calcutta, nepali, pen, penbombay, pencalcutta for +% % global selection of the font family (it will work with automatically generated +% % captions). If none of them is used, \dnoriginal will be used. +% % +% % New macro \dnfamilydefault which stores the default family of DN fonts. Default +% % depends on the above mentioned package options. The user is allowed to redefine +% % it by \renewcommand. +% % +% % New \pen macro which switches to the "pen" variant of the current family. +% % +% % Vedic intonation marks macros \dnveda and \dnsamaveda implemented according to +% % the code from dnmacs.tex. I do not mind using \= because the \dn macros make +% % already use of \< so that the tabbing environment cannot be used within \dn. +% % +% % Revision 1.2 2005/01/28 04:36:42 wujastyk +% % This is the devnag project as of 1 December 2004. +% % See doc/changes for details. +% % +% % Dominik Wujastyk +% % 28 Jan 2005 +% % +% % Revision 2.11 2003/08/03 23:05:50 APANDEY +% % o Cleaned up comments +% % +% % Revision 2.1a 2003/02/29 22:51:10 APANDEY +% % o Added support for the Bombay, Calcutta, and Nepali font families +% % o Removed generic alternate font families +% % +% % Revision 2.1 2003/07/01 12:45:01 KC +% % o Added alternate, pen, and alternate pen font families. +% % +% % Revision 1.5 2003/04/09 17:15:12 APANDEY +% % o Fixed citation macros to prevent output of double brackets. +% % +% % Revision 1.4 2003/06/09 14:37:34 APANDEY +% % o Incorporated 'nocatcodes' package option, captions, +% % and date macros developed by Zdenek Wagner +% % +% % Revision 1.3 2003/03/13 15:13:43 APANDEY +% % o Tidied up comments +% % +% % Revision 1.2 1999/09/25 15:13:43 APANDEY +% % o Changed use declaration macros to reflect change of +% % font encoding from OT1 to U. +% % +% % Revision 1.14 1998/08/26 17:41:54 UCGADKW +% % o just get the revision numbers back on track. +% % +% % Revision 1.10 1998/08/26 17:30:46 UCGADKW +% % o Changed name of dev2e.sty to dev.sty +% % o Many other changes to make the package more "LaTeX2e-like". +% % o Followed the suggestions of Francois Patte and David Kastrup, +% % to whom many thanks (but no blame for my errors). +% % o Most unsatisfactory change: moved \do@dev@catcodes back into +% % the open, instead of being just active inside {\dn } environments. +% % This was necessary to avoid "illegal character" messages from +% % text inside \section{} arguments, etc. +% % +% % Revision 1.9 1998/06/22 12:19:08 UCGADKW +% % o Corrected \ProvidesFile usage and added "Revision: 1.12" string to it; +% % o Moved RCS log entries to after \endinput. +% % +% % Revision 1.11 1998/06/22 12:11:17 UCGADKW +% % o added $Revision: 1.8 $ to \ProvidesFile; +% % o moved RCS log to after \endinput. +% % +% % Revision 1.10 1998/06/22 12:10:00 UCGADKW +% % o added $Revision $ to \ProvidesFile; +% % o moved RCS Log to after \endinput. +% % +% % Revision 1.9 1998/06/22 12:05:20 UCGADKW +% % o corrected \ProvidesFile argument. +% % +% % Revision 1.8 1998/06/15 12:52:12 dom +% % *** empty log message *** +% % +% % Revision 1.7 1998/06/15 12:50:00 dom +% % o \chyph now referred to from OT1dn.fd; +% % o Tidied up banner message. +% % +% % Revision 1.6 1995/05/26 13:48:56 dom +% % *** empty log message *** +% % +% % Revision 1.5 1995/01/24 12:33:48 dom +% % o replaced \if statements with tokens, +% % o made an official "hyphenate" option. +% % +% Revision 1.2 1994/06/15 16:22:13 Dominik_Wujastyk +% o tidied up comments. +% +% Revision 1.1 1994/06/15 16:15:17 Dominik_Wujastyk +% Initial revision +% diff --git a/Master/texmf-dist/tex/latex/devanagr/dev209.sty b/Master/texmf-dist/tex/latex/devanagr/dev209.sty new file mode 100644 index 00000000000..4aa2baf245a --- /dev/null +++ b/Master/texmf-dist/tex/latex/devanagr/dev209.sty @@ -0,0 +1,110 @@ +% +% dev209.sty v2.0 +% +% LaTeX 2.09 style file for the Devanagari for TeX package +% Copyright (C) 1991-1999 University of Groningen, The Netherlands +% +% Author : Frans J. Velthuis <velthuis@rc.rug.nl> +% Co-author : Dominik Wujastyk <d.wujastyk@ucl.ac.uk> +% +% This program is free software; you can redistribute it and/or modify +% it under the terms of the GNU General Public License as published by +% the Free Software Foundation. +% +% This program is distributed in the hope that it will be useful, +% but without any warranty; without even the implied warranty of +% merchantability or fitness for a particular purpose. See the +% GNU General Public License for more details. +% + +\newcount\chnum +\newdimen\itdim +\newdimen\dnblskip +\newcount\chyph +\chyph=-1 +% +\def\@gdnfont#1#2{\@ifundefined{#1}{\global\expandafter% +\font\csname #1\endcsname=#2% +\global\expandafter% +\hyphenchar\csname #1\endcsname=\chyph}{}\csname #1\endcsname} +% +\def\eightdev{\@gdnfont{dnviii}{dvng8}} +\def\ninedev{\@gdnfont{dnix}{dvng9}} +\def\tendev{\@gdnfont{dnx}{dvng10}} +\def\elevendev{\@gdnfont{dnxi}{dvng10 scaled\magstephalf}} +\def\twelvedev{\@gdnfont{dnxii}{dvng10 scaled\magstep1}} +\def\fourteendev{\@gdnfont{dnxiv}{dvng10 scaled\magstep2}} +\def\seventeendev{\@gdnfont{dnxvii}{dvng10 scaled\magstep3}} +\def\subscr#1{\/\itdim=\lastkern +\unkern\kern-\itdim \lower\dp0 \hbox to\itdim{#1\hfil}} +% +% For the usage of the following \@addfontinfo lines, see LFONTS.TEX +% +\def\dn{ +\chnum=0 +\loop\catcode\chnum=11 +\ifnum\chnum<12\advance\chnum by1 +\repeat +\chnum=14 +\loop\catcode\chnum=11 +\ifnum\chnum<31\advance\chnum by1 +\repeat +\catcode127=11 +\protect\pdn\baselineskip=\dnblskip +\tolerance=10000\pretolerance=10000} +% +\@addfontinfo\@vpt{\def\pdn{\@prtct\@warning{No Devanagari available at this + font size. Substituting eight point font.}\@prtct\eightdev}\dnblskip=13pt} +\@addfontinfo\@vipt{\def\pdn{\@prtct\@warning{No Devanagari available at this + font size. Substituting eight point font.}\@prtct\eightdev}\dnblskip=13pt} +\@addfontinfo\@viipt{\def\pdn{\@prtct\@warning{No Devanagari available at this + font size. Substituting eight point font.}\@prtct\eightdev}\dnblskip=13pt} +\@addfontinfo\@viiipt{\def\pdn{\eightdev}\dnblskip=13pt} +\@addfontinfo\@ixpt{\def\pdn{\ninedev}\dnblskip=14pt} +\@addfontinfo\@xpt{\def\pdn{\tendev}\dnblskip=16pt} +\@addfontinfo\@xipt{\def\pdn{\elevendev}\dnblskip=17pt} +\@addfontinfo\@xiipt{\def\pdn{\twelvedev}\dnblskip=19pt} +\@addfontinfo\@xivpt{\def\pdn{\fourteendev}\dnblskip=23pt} +\@addfontinfo\@xviipt{\def\pdn{\seventeendev}\dnblskip=28pt} +\@addfontinfo\@xxpt{\def\pdn{\@prtct\@warning{No Devanagari available at this + font size. Substituting seventeen point font.}\@prtct\seventeendev} +\dnblskip=28pt} +\@addfontinfo\@xxvpt{\def\pdn{\@prtct\@warning{No Devanagari available at this + font size. Substituting seventeen point font.}\@prtct\seventeendev} +\dnblskip=28pt} +% +\def\0{\llap{\char13}} +\def\1{\llap{\char32}} +\def\2{\llap{\char92}} +\def\3#1w{{\char"#1}} +\def\4{\llap{\char123}} +\def\5{\llap{\char125}} +\def\6#1{\setbox0=\hbox{#1}#1\subscr{\char126}} +\def\7#1{\setbox0=\hbox{#1}#1\subscr{\char0}} +\def\8#1{\setbox0=\hbox{#1}#1\subscr{\char1}} +\def\9#1{\setbox0=\hbox{#1}#1\subscr{\char2}} +\def\qa#1#2{\setbox0=\hbox{#1}#1\subscr{\char253\kern1.5ex\lower1.25ex + \hbox{\char#2}\kern-1.5ex}} +\def\qb#1{\setbox0=\hbox{#1}#1\subscr{\char253}} +\def\qc#1#2{\setbox0=\hbox{#1}#1\subscr{\char126\kern1.5ex\lower1.25ex + \hbox{\char#2}\kern-1.5ex}} +\def\qq#1{\setbox0=\hbox{#1}#1\subscr{\char94}} +\def\qx#1{\setbox0=\hbox{#1}#1\subscr{\char14}} +\def\qy#1{\setbox0=\hbox{#1}#1\subscr{\char31}} +\def\qz#1{\setbox0=\hbox{#1}#1\subscr{\char124}} +\def\qva{\kern0.5ex\2\kern-0.5ex} +\def\qvb{\kern1ex\0\kern-1ex} +\def\qvc{\kern1ex\rdt\kern-1ex} +\def\?{\llap{\char3}} +\def\<{\llap{\char4}} +\def\rs{\rm\thinspace} +\let\re=\thinspace +\def\rdt{\llap{\char19}} +\def\dnnum{\let\nstyle=d} +\def\cmnum{\let\nstyle=r} +\cmnum +\def\rn#1{\if\nstyle r{\rm #1}\else#1\fi} +\def\dohyphen{\chyph=255 + \def\-{\@@hyph} + \hfuzz=8pt} + diff --git a/Master/texmf-dist/tex/latex/devanagr/udn.fd b/Master/texmf-dist/tex/latex/devanagr/udn.fd new file mode 100644 index 00000000000..bc1c0265cd6 --- /dev/null +++ b/Master/texmf-dist/tex/latex/devanagr/udn.fd @@ -0,0 +1,95 @@ +% +% Udn.fd v2.11 +% +% LaTeX2e font description file for the Devanagari font family. +% Copyright (C) 1991-2003 University of Groningen, The Netherlands +% +% Author : Dominik Wujastyk <d.wujastyk@ucl.ac.uk> +% Maintainer : Anshuman Pandey <apandey@u.washington.edu> +% Date : 3 August 2004 +% +% This program is free software; you can redistribute it and/or modify +% it under the terms of the GNU General Public License as published by +% the Free Software Foundation. +% +% This program is distributed in the hope that it will be useful, +% but without any warranty; without even the implied warranty of +% merchantability or fitness for a particular purpose. See the +% GNU General Public License for more details. +% +% Revision 2.11 2004/08/03 Anshuman Pandey +% o Added definitions for font sizes 8 and 9 +% +% Revision 2.1 2003/07/01 Kevin Carmody +% o Standardized header +% +% Revision 1.6 2003/06/09 Anshuman Pandey +% o Added definitions for oblique, bold, and +% bold oblique font shapes +% +% Revision 1.5 1999/09/25 Anshuman Pandey +% o Changed font encoding from OT1 to U +% +% Revision 1.2 1994/06/15 Dominik Wujastyk +% o Tidied up comments +% +% Revision 1.1 1994/06/15 Dominik Wujastyk +% o Initial revision +% +% ===================================================================== +% +% This file contains the font definitions for the Standard Devanagari +% font family in the U encoding. It is used by the LaTeX New Font +% Selection Scheme, which is part of LaTeX2e. The Standard Devanagari +% font was originally devloped by Frans J. Velthuis. +% +\ProvidesFile{Udn.fd}[2004/08/03] +% +\DeclareFontFamily{U}{dn}{\hyphenchar\font=255} +% +\DeclareFontShape{U}{dn}{m}{n}{ + <5><6><7> dvng8% + <8><9> gen * dvng + <10-> dvng10% +}{} +\DeclareFontShape{U}{dn}{m}{sc}{ + <-> ssub * dn/m/n +}{} +\DeclareFontShape{U}{dn}{m}{it}{ + <5><6><7> dvngi8% + <8><9> gen * dvngi + <10->dvngi10% +}{} +\DeclareFontShape{U}{dn}{m}{itsc}{ + <-> ssub * dn/m/it +}{} +\DeclareFontShape{U}{dn}{m}{sl}{ + <-> ssub * dn/m/it +}{} +\DeclareFontShape{U}{dn}{m}{slsc}{ + <-> ssub * dn/m/it +}{} +\DeclareFontShape{U}{dn}{bx}{n}{ + <5><6><7> dvngb8% + <8><9> gen * dvngb + <10->dvngb10% +}{} +\DeclareFontShape{U}{dn}{bx}{sc}{ + <-> ssub * dn/bx/n +}{} +\DeclareFontShape{U}{dn}{bx}{it}{ + <5><6><7> dvngbi8% + <8><9> gen * dvngbi + <10->dvngbi10% +}{} +\DeclareFontShape{U}{dn}{bx}{itsc}{ + <-> ssub * dn/bx/it +}{} +\DeclareFontShape{U}{dn}{bx}{sl}{ + <-> ssub * dn/bx/it +}{} +\DeclareFontShape{U}{dn}{bx}{slsc}{ + <-> ssub * dn/bx/it +}{} +% +\endinput diff --git a/Master/texmf-dist/tex/latex/devanagr/udnb.fd b/Master/texmf-dist/tex/latex/devanagr/udnb.fd new file mode 100644 index 00000000000..2c5a0124ab2 --- /dev/null +++ b/Master/texmf-dist/tex/latex/devanagr/udnb.fd @@ -0,0 +1,83 @@ +% +% Udnb.fd v2.11 +% +% LaTeX2e font description file for the Devanagari Bombay font family. +% Copyright (C) 1991-2003 University of Groningen, The Netherlands +% +% Author : Anshuman Pandey <apandey@u.washington.edu> +% Date : 3 August 2004 +% +% This program is free software; you can redistribute it and/or modify +% it under the terms of the GNU General Public License as published by +% the Free Software Foundation. +% +% This program is distributed in the hope that it will be useful, +% but without any warranty; without even the implied warranty of +% merchantability or fitness for a particular purpose. See the +% GNU General Public License for more details. +% +% Revision 2.11 2004/08/03 Anshuman Pandey +% o Added definitions for font sizes 8 and 9 +% +% Revision 2.1 2004/02/29 Anshuman Pandey +% o Added Bombay-style font +% +% ===================================================================== +% +% This file contains the font definitions for the Bombay Devanagari +% font family in the U encoding. It is used by the LaTeX New Font +% Selection Scheme, which is part of LaTeX2e. The Bombay Devanagari +% font was developed by Anshuman Pandey based on the Standard Devanagari +% font developed by Frans J. Velthuis. The font includes some characters +% initially drawn by Kevin Carmody. +% +\ProvidesFile{Udnb.fd}[2004/08/03] +% +\DeclareFontFamily{U}{dnb}{\hyphenchar\font=255} +% +\DeclareFontShape{U}{dnb}{m}{n}{ + <5><6><7> dvnb8% + <8><9> gen * dvnb + <10-> dvnb10% +}{} +\DeclareFontShape{U}{dnb}{m}{sc}{ + <-> ssub * dnb/m/n +}{} +\DeclareFontShape{U}{dnb}{m}{it}{ + <5><6><7> dvnbi8% + <8><9> gen * dvnbi + <10->dvnbi10% +}{} +\DeclareFontShape{U}{dnb}{m}{itsc}{ + <-> ssub * dnb/m/it +}{} +\DeclareFontShape{U}{dnb}{m}{sl}{ + <-> ssub * dnb/m/it +}{} +\DeclareFontShape{U}{dnb}{m}{slsc}{ + <-> ssub * dnb/m/it +}{} +\DeclareFontShape{U}{dnb}{bx}{n}{ + <5><6><7> dvnbb8% + <8><9> gen * dvnbb + <10->dvnbb10% +}{} +\DeclareFontShape{U}{dnb}{bx}{sc}{ + <-> ssub * dnb/bx/n +}{} +\DeclareFontShape{U}{dnb}{bx}{it}{ + <5><6><7> dvnbbi8% + <8><9> gen * dvnbbi + <10->dvnbbi10% +}{} +\DeclareFontShape{U}{dnb}{bx}{itsc}{ + <-> ssub * dnb/bx/it +}{} +\DeclareFontShape{U}{dnb}{bx}{sl}{ + <-> ssub * dnb/bx/it +}{} +\DeclareFontShape{U}{dnb}{bx}{slsc}{ + <-> ssub * dnb/bx/it +}{} +% +\endinput diff --git a/Master/texmf-dist/tex/latex/devanagr/udnc.fd b/Master/texmf-dist/tex/latex/devanagr/udnc.fd new file mode 100644 index 00000000000..93d7548bc6b --- /dev/null +++ b/Master/texmf-dist/tex/latex/devanagr/udnc.fd @@ -0,0 +1,83 @@ +% +% Udnc.fd v2.11 +% +% LaTeX2e font description file for the Devanagari Calcutta font family. +% Copyright (C) 1991-2003 University of Groningen, The Netherlands +% +% Author : Anshuman Pandey <apandey@u.washington.edu> +% Date : 3 August 2004 +% +% This program is free software; you can redistribute it and/or modify +% it under the terms of the GNU General Public License as published by +% the Free Software Foundation. +% +% This program is distributed in the hope that it will be useful, +% but without any warranty; without even the implied warranty of +% merchantability or fitness for a particular purpose. See the +% GNU General Public License for more details. +% +% Revision 2.11 2004/08/03 Anshuman Pandey +% o Added definitions for font sizes 8 and 9 +% +% Revision 2.1 2004/02/29 Anshuman Pandey +% o Added Bombay-style font +% +% ===================================================================== +% +% This file contains the font definitions for the Calcutta Devanagari +% font family in the U encoding. It is used by the LaTeX New Font +% Selection Scheme, which is part of LaTeX2e. The Calcutta Devanagari +% font was developed by Anshuman Pandey based on the Standard Devanagari +% font developed by Frans J. Velthuis. The font includes some characters +% initially drawn by Kevin Carmody. +% +\ProvidesFile{Udnc.fd}[2004/08/03] +% +\DeclareFontFamily{U}{dnc}{\hyphenchar\font=255} +% +\DeclareFontShape{U}{dnc}{m}{n}{ + <5><6><7> dvnc8% + <8><9> gen * dvnc + <10-> dvnc10% +}{} +\DeclareFontShape{U}{dnc}{m}{sc}{ + <-> ssub * dnc/m/n +}{} +\DeclareFontShape{U}{dnc}{m}{it}{ + <5><6><7> dvnci8% + <8><9> gen * dvnci + <10->dvnci10% +}{} +\DeclareFontShape{U}{dnc}{m}{itsc}{ + <-> ssub * dnc/m/it +}{} +\DeclareFontShape{U}{dnc}{m}{sl}{ + <-> ssub * dnc/m/it +}{} +\DeclareFontShape{U}{dnc}{m}{slsc}{ + <-> ssub * dnc/m/it +}{} +\DeclareFontShape{U}{dnc}{bx}{n}{ + <5><6><7> dvncb8% + <8><9> gen * dvncb + <10->dvncb10% +}{} +\DeclareFontShape{U}{dnc}{bx}{sc}{ + <-> ssub * dnc/bx/n +}{} +\DeclareFontShape{U}{dnc}{bx}{it}{ + <5><6><7> dvncbi8% + <8><9> gen * dvncbi + <10->dvncbi10% +}{} +\DeclareFontShape{U}{dnc}{bx}{itsc}{ + <-> ssub * dnc/bx/it +}{} +\DeclareFontShape{U}{dnc}{bx}{sl}{ + <-> ssub * dnc/bx/it +}{} +\DeclareFontShape{U}{dnc}{bx}{slsc}{ + <-> ssub * dnc/bx/it +}{} +% +\endinput diff --git a/Master/texmf-dist/tex/latex/devanagr/udnn.fd b/Master/texmf-dist/tex/latex/devanagr/udnn.fd new file mode 100644 index 00000000000..86281a53baa --- /dev/null +++ b/Master/texmf-dist/tex/latex/devanagr/udnn.fd @@ -0,0 +1,83 @@ +% +% Udnn.fd v2.11 +% +% LaTeX2e font description file for the Devanagari Calcutta font family. +% Copyright (C) 1991-2003 University of Groningen, The Netherlands +% +% Author : Anshuman Pandey <apandey@u.washington.edu> +% Date : 3 August 2004 +% +% This program is free software; you can redistribute it and/or modify +% it under the terms of the GNU General Public License as published by +% the Free Software Foundation. +% +% This program is distributed in the hope that it will be useful, +% but without any warranty; without even the implied warranty of +% merchantability or fitness for a particular purpose. See the +% GNU General Public License for more details. +% +% Revision 2.11 2004/08/03 Anshuman Pandey +% o Added definitions for font sizes 8 and 9 +% +% Revision 2.1 2004/03/14 Anshuman Pandey +% o Added Nepali-style font +% +% ===================================================================== +% +% This file contains the font definitions for the Nepali Devanagari +% font family in the U encoding. It is used by the LaTeX New Font +% Selection Scheme, which is part of LaTeX2e. The Nepali Devanagari +% font was developed by Anshuman Pandey based on the Standard Devanagari +% font developed by Frans J. Velthuis. The font includes some characters +% initially drawn by Kevin Carmody. +% +\ProvidesFile{Udnn.fd}[2004/08/03] +% +\DeclareFontFamily{U}{dnn}{\hyphenchar\font=255} +% +\DeclareFontShape{U}{dnn}{m}{n}{ + <5><6><7> dvnn8% + <8><9> gen * dvnn + <10-> dvnn10% +}{} +\DeclareFontShape{U}{dnn}{m}{sc}{ + <-> ssub * dnn/m/n +}{} +\DeclareFontShape{U}{dnn}{m}{it}{ + <5><6><7> dvnni8% + <8><9> gen * dvnni + <10->dvnni10% +}{} +\DeclareFontShape{U}{dnn}{m}{itsc}{ + <-> ssub * dnn/m/it +}{} +\DeclareFontShape{U}{dnn}{m}{sl}{ + <-> ssub * dnn/m/it +}{} +\DeclareFontShape{U}{dnn}{m}{slsc}{ + <-> ssub * dnn/m/it +}{} +\DeclareFontShape{U}{dnn}{bx}{n}{ + <5><6><7> dvnnb8% + <8><9> gen * dvnnb + <10->dvnnb10% +}{} +\DeclareFontShape{U}{dnn}{bx}{sc}{ + <-> ssub * dnn/bx/n +}{} +\DeclareFontShape{U}{dnn}{bx}{it}{ + <5><6><7> dvnnbi8% + <8><9> gen * dvnnbi + <10->dvnnbi10% +}{} +\DeclareFontShape{U}{dnn}{bx}{itsc}{ + <-> ssub * dnn/bx/it +}{} +\DeclareFontShape{U}{dnn}{bx}{sl}{ + <-> ssub * dnn/bx/it +}{} +\DeclareFontShape{U}{dnn}{bx}{slsc}{ + <-> ssub * dnn/bx/it +}{} +% +\endinput diff --git a/Master/texmf-dist/tex/latex/devanagr/udnp.fd b/Master/texmf-dist/tex/latex/devanagr/udnp.fd new file mode 100644 index 00000000000..5504f06d0a6 --- /dev/null +++ b/Master/texmf-dist/tex/latex/devanagr/udnp.fd @@ -0,0 +1,73 @@ +% +% Udnp.fd v2.1 +% +% LaTeX2e font description file for the Devanagari Pen font family. +% Copyright (C) 1991-2003 University of Groningen, The Netherlands +% +% Author : Kevin Carmody <i@kevincarmody.com> +% Date : 1 July 2003 +% +% This program is free software; you can redistribute it and/or modify +% it under the terms of the GNU General Public License as published by +% the Free Software Foundation. +% +% This program is distributed in the hope that it will be useful, +% but without any warranty; without even the implied warranty of +% merchantability or fitness for a particular purpose. See the +% GNU General Public License for more details. +% +% Revision 2.1 2003/07/01 Kevin Carmody +% o Added pen font, standardized header +% +% ===================================================================== +% +% This file contains the font definitions for the Pen Devanagari +% font family in the U encoding. It is used by the LaTeX New Font +% Selection Scheme, which is part of LaTeX2e. The Pen Devanagari +% font was developed by Tom Ridgeway based on the Devanagari +% font originally devloped by Frans J. Velthuis. +% +\ProvidesFile{Udnp.fd}[2003/07/01] +% +\DeclareFontFamily{U}{dnp}{\hyphenchar\font=255} +% +\DeclareFontShape{U}{dnp}{m}{n}{ + <5><6><7> dvpn8% + <8><9> gen * dvpn + <10-> dvpn10% +}{} +\DeclareFontShape{U}{dnp}{m}{sc}{ + <-> ssub * dnp/m/n +}{} +\DeclareFontShape{U}{dnp}{m}{it}{ + <-> ssub * dnp/m/n +}{} +\DeclareFontShape{U}{dnp}{m}{itsc}{ + <-> ssub * dnp/m/n +}{} +\DeclareFontShape{U}{dnp}{m}{sl}{ + <-> ssub * dnp/m/n +}{} +\DeclareFontShape{U}{dnp}{m}{slsc}{ + <-> ssub * dnp/m/n +}{} +\DeclareFontShape{U}{dnp}{bx}{n}{ + <-> ssub * dnp/m/n +}{} +\DeclareFontShape{U}{dnp}{bx}{sc}{ + <-> ssub * dnp/m/n +}{} +\DeclareFontShape{U}{dnp}{bx}{it}{ + <-> ssub * dnp/m/n +}{} +\DeclareFontShape{U}{dnp}{bx}{itsc}{ + <-> ssub * dnp/m/n +}{} +\DeclareFontShape{U}{dnp}{bx}{sl}{ + <-> ssub * dnp/m/n +}{} +\DeclareFontShape{U}{dnp}{bx}{slsc}{ + <-> ssub * dnp/m/n +}{} +% +\endinput diff --git a/Master/texmf-dist/tex/latex/devanagr/udnpb.fd b/Master/texmf-dist/tex/latex/devanagr/udnpb.fd new file mode 100644 index 00000000000..6aae92f8561 --- /dev/null +++ b/Master/texmf-dist/tex/latex/devanagr/udnpb.fd @@ -0,0 +1,75 @@ +% +% Udnpb.fd v2.1 +% +% LaTeX2e font description file for the Devanagari Bombay Pen font family. +% Copyright (C) 1991-2003 University of Groningen, The Netherlands +% +% Author : Anshuman Pandey <apandey@u.washington.edu> +% Date : 29 February 2004 +% +% This program is free software; you can redistribute it and/or modify +% it under the terms of the GNU General Public License as published by +% the Free Software Foundation. +% +% This program is distributed in the hope that it will be useful, +% but without any warranty; without even the implied warranty of +% merchantability or fitness for a particular purpose. See the +% GNU General Public License for more details. +% +% Revision 2.1 2004/02/29 Anshuman Pandey +% o Added Bombay-style pen font +% +% ===================================================================== +% +% This file contains the font definitions for the Bombay Pen Devanagari +% font family in the U encoding. It is used by the LaTeX New Font +% Selection Scheme, which is part of LaTeX2e. The Bombay Pen Devanagari +% font was developed by Anshuman Pandey based on the Pen Devanagari font +% developed by Tom Ridgeway and on the Devanagari font originally +% developed by Frans J. Velthuis. The font includes some characters +% initially drawn by Kevin Carmody. +% +\ProvidesFile{Udnpb.fd}[2004/02/29] +% +\DeclareFontFamily{U}{dnpb}{\hyphenchar\font=255} +% +\DeclareFontShape{U}{dnpb}{m}{n}{ + <5><6><7> dvpb8% + <8><9> gen * dvpb + <10-> dvpb10% +}{} +\DeclareFontShape{U}{dnpb}{m}{sc}{ + <-> ssub * dnpb/m/n +}{} +\DeclareFontShape{U}{dnpb}{m}{it}{ + <-> ssub * dnpb/m/n +}{} +\DeclareFontShape{U}{dnpb}{m}{itsc}{ + <-> ssub * dnpb/m/n +}{} +\DeclareFontShape{U}{dnpb}{m}{sl}{ + <-> ssub * dnpb/m/n +}{} +\DeclareFontShape{U}{dnpb}{m}{slsc}{ + <-> ssub * dnpb/m/n +}{} +\DeclareFontShape{U}{dnpb}{bx}{n}{ + <-> ssub * dnpb/m/n +}{} +\DeclareFontShape{U}{dnpb}{bx}{sc}{ + <-> ssub * dnpb/m/n +}{} +\DeclareFontShape{U}{dnpb}{bx}{it}{ + <-> ssub * dnpb/m/n +}{} +\DeclareFontShape{U}{dnpb}{bx}{itsc}{ + <-> ssub * dnpb/m/n +}{} +\DeclareFontShape{U}{dnpb}{bx}{sl}{ + <-> ssub * dnpb/m/n +}{} +\DeclareFontShape{U}{dnpb}{bx}{slsc}{ + <-> ssub * dnpb/m/n +}{} +% +\endinput diff --git a/Master/texmf-dist/tex/latex/devanagr/udnpc.fd b/Master/texmf-dist/tex/latex/devanagr/udnpc.fd new file mode 100644 index 00000000000..70f5635c748 --- /dev/null +++ b/Master/texmf-dist/tex/latex/devanagr/udnpc.fd @@ -0,0 +1,75 @@ +% +% Udnpc.fd v2.1 +% +% LaTeX2e font description file for the Devanagari Calcutta Pen font family. +% Copyright (C) 1991-2003 University of Groningen, The Netherlands +% +% Author : Anshuman Pandey <apandey@u.washington.edu> +% Date : 29 February 2004 +% +% This program is free software; you can redistribute it and/or modify +% it under the terms of the GNU General Public License as published by +% the Free Software Foundation. +% +% This program is distributed in the hope that it will be useful, +% but without any warranty; without even the implied warranty of +% merchantability or fitness for a particular purpose. See the +% GNU General Public License for more details. +% +% Revision 2.1 2004/02/29 Anshuman Pandey +% o Added Calcutta-style pen font +% +% ===================================================================== +% +% This file contains the font definitions for the Calcutta Pen Devanagari +% font family in the U encoding. It is used by the LaTeX New Font +% Selection Scheme, which is part of LaTeX2e. The Calcutta Pen Devanagari +% font was developed by Anshuman Pandey based on the Pen Devanagari font +% developed by Tom Ridgeway and on the Devanagari font originally +% developed by Frans J. Velthuis. The font includes some characters +% initially drawn by Kevin Carmody. +% +\ProvidesFile{Udnpc.fd}[2004/02/29] +% +\DeclareFontFamily{U}{dnpc}{\hyphenchar\font=255} +% +\DeclareFontShape{U}{dnpc}{m}{n}{ + <5><6><7> dvpc8% + <8><9> gen * dvpc + <10-> dvpc10% +}{} +\DeclareFontShape{U}{dnpc}{m}{sc}{ + <-> ssub * dnpc/m/n +}{} +\DeclareFontShape{U}{dnpc}{m}{it}{ + <-> ssub * dnpc/m/n +}{} +\DeclareFontShape{U}{dnpc}{m}{itsc}{ + <-> ssub * dnpc/m/n +}{} +\DeclareFontShape{U}{dnpc}{m}{sl}{ + <-> ssub * dnpc/m/n +}{} +\DeclareFontShape{U}{dnpc}{m}{slsc}{ + <-> ssub * dnpc/m/n +}{} +\DeclareFontShape{U}{dnpc}{bx}{n}{ + <-> ssub * dnpc/m/n +}{} +\DeclareFontShape{U}{dnpc}{bx}{sc}{ + <-> ssub * dnpc/m/n +}{} +\DeclareFontShape{U}{dnpc}{bx}{it}{ + <-> ssub * dnpc/m/n +}{} +\DeclareFontShape{U}{dnpc}{bx}{itsc}{ + <-> ssub * dnpc/m/n +}{} +\DeclareFontShape{U}{dnpc}{bx}{sl}{ + <-> ssub * dnpc/m/n +}{} +\DeclareFontShape{U}{dnpc}{bx}{slsc}{ + <-> ssub * dnpc/m/n +}{} +% +\endinput diff --git a/Master/texmf-dist/tex/latex/devanagr/udnpn.fd b/Master/texmf-dist/tex/latex/devanagr/udnpn.fd new file mode 100644 index 00000000000..4cdf9ec5446 --- /dev/null +++ b/Master/texmf-dist/tex/latex/devanagr/udnpn.fd @@ -0,0 +1,75 @@ +% +% Udnpn.fd v2.1 +% +% LaTeX2e font description file for the Devanagari Nepali Pen font family. +% Copyright (C) 1991-2003 University of Groningen, The Netherlands +% +% Author : Anshuman Pandey <apandey@u.washington.edu> +% Date : 14 March 2005 +% +% This program is free software; you can redistribute it and/or modify +% it under the terms of the GNU General Public License as published by +% the Free Software Foundation. +% +% This program is distributed in the hope that it will be useful, +% but without any warranty; without even the implied warranty of +% merchantability or fitness for a particular purpose. See the +% GNU General Public License for more details. +% +% Revision 2.1 2005/03/14 Anshuman Pandey +% o Added Nepali-style pen font +% +% ===================================================================== +% +% This file contains the font definitions for the Nepali Pen Devanagari +% font family in the U encoding. It is used by the LaTeX New Font +% Selection Scheme, which is part of LaTeX2e. The Nepali Pen Devanagari +% font was developed by Anshuman Pandey based on the Pen Devanagari font +% developed by Tom Ridgeway and on the Devanagari font originally +% developed by Frans J. Velthuis. The font includes some characters +% initially drawn by Kevin Carmody. +% +\ProvidesFile{Udnpn.fd}[2005/03/14] +% +\DeclareFontFamily{U}{dnpn}{\hyphenchar\font=255} +% +\DeclareFontShape{U}{dnpn}{m}{n}{ + <5><6><7> dvpnn8% + <8><9> gen * dvpnn + <10-> dvpnn10% +}{} +\DeclareFontShape{U}{dnpn}{m}{sc}{ + <-> ssub * dnpn/m/n +}{} +\DeclareFontShape{U}{dnpn}{m}{it}{ + <-> ssub * dnpn/m/n +}{} +\DeclareFontShape{U}{dnpn}{m}{itsc}{ + <-> ssub * dnpn/m/n +}{} +\DeclareFontShape{U}{dnpn}{m}{sl}{ + <-> ssub * dnpn/m/n +}{} +\DeclareFontShape{U}{dnpn}{m}{slsc}{ + <-> ssub * dnpn/m/n +}{} +\DeclareFontShape{U}{dnpn}{bx}{n}{ + <-> ssub * dnpn/m/n +}{} +\DeclareFontShape{U}{dnpn}{bx}{sc}{ + <-> ssub * dnpn/m/n +}{} +\DeclareFontShape{U}{dnpn}{bx}{it}{ + <-> ssub * dnpn/m/n +}{} +\DeclareFontShape{U}{dnpn}{bx}{itsc}{ + <-> ssub * dnpn/m/n +}{} +\DeclareFontShape{U}{dnpn}{bx}{sl}{ + <-> ssub * dnpn/m/n +}{} +\DeclareFontShape{U}{dnpn}{bx}{slsc}{ + <-> ssub * dnpn/m/n +}{} +% +\endinput |