diff options
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/velthuis/devanagari.sty | 23 | ||||
-rw-r--r-- | Master/texmf-dist/tex/plain/velthuis/dnmacs.tex | 19 |
2 files changed, 37 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/velthuis/devanagari.sty b/Master/texmf-dist/tex/latex/velthuis/devanagari.sty index 3e9207f3d97..6a8be09c07e 100644 --- a/Master/texmf-dist/tex/latex/velthuis/devanagari.sty +++ b/Master/texmf-dist/tex/latex/velthuis/devanagari.sty @@ -8,7 +8,7 @@ % Maintainer : Anshuman Pandey <apandey@u.washington.edu> % Kevin Carmody <i@kevincarmody.com> % Zdenek Wagner <zdenek.wagner@gmail.com> -% Revised : 18 January 2007 +% Revised : 8 February 2009 % % 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 @@ -42,7 +42,7 @@ % The Identification Part % ~~~~~~~~~~~~~~~~~~~~~~~ \NeedsTeXFormat{LaTeX2e}[1995/12/01] -\ProvidesPackage{devanagari}[2008/03/09 v2.15 LaTeX macros for Velthuis Devanagari] +\ProvidesPackage{devanagari}[2009/02/09 v2.15 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 @@ -293,10 +293,17 @@ \DeclareRobustCommand\|{\svarita}% \DeclareRobustCommand\~{\padasep}} % +\DeclareRobustCommand\dnvedatrans{% + \DeclareRobustCommand\_{\underline}% + \DeclareRobustCommand\|{\svaritatrans}}% +% \DeclareRobustCommand\dnsamaveda{% \DeclareRobustCommand\^{\samatone}% \DeclareRobustCommand\@{\vedicanusvara}} % +\DeclareRobustCommand\dnsamavedatrans{% + \DeclareRobustCommand\^{\samatonetrans}} +% \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}% @@ -310,6 +317,10 @@ \llap{\raise5.7ex\hbox{\vrule height2.5ex width0.08em}% \hbox{\phantom{\vrule height2.5ex width0.15em}}}} % +\DeclareRobustCommand*\svaritatrans[1]{\leavevmode\hbox{#1}% + \llap{\raise1.7ex\hbox{\vrule height0.8ex width0.08em}% + \hbox{\phantom{\vrule height0.8ex width0.08em}}}} +% \DeclareRobustCommand\padasep{\leavevmode\hbox{% \kern-0.15em\raise2.42ex\hbox{\char255}% \kern-0.15em\raise2.42ex\hbox{\char255}% @@ -322,6 +333,8 @@ \DeclareRobustCommand\vedicanusvara{\leavevmode{\kern1.0ex\lower1.5ex\hbox{\char32}}% \kern-2.0ex\raise3.7ex\llap{\char94}\kern3.8ex} % +\DeclareRobustCommand*\samatonetrans[1]{\(^{#1}\)} +% % Macro for selection of Sama Veda tone font \dn@tf % \def\dn@tf{% @@ -539,6 +552,10 @@ Here is the log file, created by RCS. (Log from dev.sty is also kept here.) % $Log: devanagari.sty,v $ +% Revision 1.13 2009-02-09 10:11:56 icebearsoft +% Fix by Kevin Carmody: Use \dnveda only for Devanagari, and use a new command, \dnvedatrans, for +% transliteration. +% % Revision 1.12 2008-03-09 15:58:00 icebearsoft % Citation macros moved to a separate package. Switch \ifdnmode implemented. Email address corrected. % @@ -690,7 +707,7 @@ Here is the log file, created by RCS. (Log from dev.sty is also kept here.) % o Moved RCS log entries to after \endinput. % % Revision 1.11 1998/06/22 12:11:17 UCGADKW -% o added $Revision: 1.12 $ to \ProvidesFile; +% o added $Revision: 1.13 $ to \ProvidesFile; % o moved RCS log to after \endinput. % % Revision 1.10 1998/06/22 12:10:00 UCGADKW diff --git a/Master/texmf-dist/tex/plain/velthuis/dnmacs.tex b/Master/texmf-dist/tex/plain/velthuis/dnmacs.tex index 50c05ba72dc..ce93534e4e5 100644 --- a/Master/texmf-dist/tex/plain/velthuis/dnmacs.tex +++ b/Master/texmf-dist/tex/plain/velthuis/dnmacs.tex @@ -8,7 +8,7 @@ % Maintainer : John Smith <jds10@cam.ac.uk> % Anshuman Pandey <apandey@u.washington.edu> % Kevin Carmody <i@kevincarmody.com> -% Date : 14 March 2005 +% Revised : 8 February 2009 % % 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 @@ -191,6 +191,10 @@ \def\|{\svarita}% \def\~{\padasep}} % +\def\dnvedatrans{\dnvedatransmodetrue% +\def\_{\underbar}% +\def\|{\svaritatrans}} +% \def\dnfixedanudatta{\dnanudattafixedtrue}% \def\dnvariableanudatta{\dnanudattafixedfalse}% % @@ -228,10 +232,17 @@ \hbox{\vrule width\anuwid height0.07em}% \hbox{\phantom{\vrule width0.1em height0.08em}}}\fi} % +\def\dnsamavedatrans{\dnsamavedatransmodetrue% +\def\^{\samatonetrans}} +% \def\svarita#1{\leavevmode\hbox{#1}% \llap{\raise5.7ex\hbox{\vrule height2.5ex width0.08em}% \hbox{\phantom{\vrule height2.5ex width0.15em}}}} % +\def\svaritatrans#1{\leavevmode\hbox{#1}% +\llap{\raise1.7ex\hbox{\vrule height0.8ex width0.08em}% +\hbox{\phantom{\vrule height0.8ex width0.08em}}}} +% \def\padasep{\leavevmode\hbox{% \kern-0.15em\raise2.42ex\hbox{\char255}% \kern-0.15em\raise2.42ex\hbox{\char255}% @@ -244,6 +255,8 @@ \def\vedicanusvara{\leavevmode{\kern1.0ex\lower1.5ex\hbox{\char32}}% \kern-2.0ex\raise3.7ex\llap{\char94}\kern3.8ex} % +\def\samatonetrans#1{$^{#1}$} +% % Macros for selection of Sama Veda tone font \dntf % \def\dnsmalltf{\ifdnpenfont\ifdnbombayfont\let\dntf=\sixdnpbom\else% @@ -466,7 +479,9 @@ \newif\ifdnitalfont \newif\ifdnpenfont \newif\ifdnvedamode +\newif\ifdnvedatransmode \newif\ifdnsamavedamode +\newif\ifdnsamavedatransmode \newif\ifdnsamavedafont \newif\ifdnanudattafixed % @@ -527,4 +542,4 @@ \let\pdnpcal=\dvngpcal \dnblskip=15pt \let\rsize=\rm -\cmnum
\ No newline at end of file +\cmnum |