summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex/velthuis/hindicaptions.sty
blob: d1da83d616164c6f9712258c465fa4a19a76f1bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
%% $Id: hindicaptions.sty,v 1.4 2007-12-31 09:42:14 icebearsoft Exp $
%% This package provides the Hindi caption names for use with XeLaTeX.
%% The captions are already included in Polyglossia, namely in
%% gloss-hindi.ldf, hence you probably do not need this file.

\expandafter\ifx\csname ProvidesPackage\endcsname\relax
% Do nothing if used by babelized plain XeTeX
\else % Identification for XeLaTeX
\ProvidesPackage{hindicaptions}[2019/03/06 v2.17.1 Hindi captions for XeLaTeX]
\RequirePackage{ifxetex}
\RequireXeTeX
\fi

% European style date
\def\datehindi{\def\today{\number\day\space\ifcase\month\or
जनवरी\or
फ़रवरी\or
मार्च\or
अपरैल\or
मई\or
जून\or
जलाई\or
अगस्त\or
सितम्बर\or
अक्तूबर\or
नवम्बर\or
दिसम्बर\fi
\space\number\year}}

% Captions (with variants)
\def\captionshindi{%
\def\abstractname{सारांश}%
\def\appendixname{परिशिष्ट}%
\def\bibname{संदर्भ ग्रन्थ}%
\def\ccname{}%
\def\chaptername{अध्याय}%
\def\contentsname{विषय सूची}%
\def\enclname{}%
\def\figurename{चित्र}% रेखाचित्र
\def\headpagename{पृष्ठ}%
\def\headtoname{}%
\def\indexname{सूची}%
%              सूचक
%              अनुक्रमणिका 
%              अनुक्रमणि
\def\listfigurename{चित्रों की सूची}%
\def\listtablename{तालिकाओं की सूची}%
\def\pagename{पृष्ठ}%
\def\partname{खण्ड}%
\def\prefacename{प्रस्तावना}% प्राक्कथन
\def\refname{हवाले}%
\def\tablename{तालिका}%
\def\seename{देखिए}%
\def\alsoname{और देखिए}%
\def\alsoseename{और देखिए}}

% It is supposed that the modern and traditional variant
% will be switched either by selection of the proper fonts
% or by using font options
\let\datemodernhindi\datehindi
\let\captionsmodernhindi\captionshindi