% % dvngcite.sty v2.15 % % LaTeX2e package for Devanagari for TeX system. % Copyright (C) 1991-2006 University of Groningen, The Netherlands % Extension for citations, compatibility package. % % Author : Dominik Wujastyk % Maintainer : Anshuman Pandey % Kevin Carmody % Zdenek Wagner % Revised : 9 March 2008 % % 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. % % ========================================================================= % % The Identification Part % ~~~~~~~~~~~~~~~~~~~~~~~ \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesPackage{dvngcite}[2008/03/09 v2.15 Extension for citations in the nagari text] % % % 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}} }{}