blob: 5556dd10a2e1f57a2b36a7a951c17ff54f722132 (
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
% Translations provided by Abhijit Navale <abhi_navale@live.in>
% TODO implement Hindu calendar (not used in day-to-day practice)
\ProvidesFile{gloss-marathi.ldf}[polyglossia: module for marathi]
\RequirePackage{devanagaridigits}
\makeatletter
\PolyglossiaSetup{marathi}{
script=Devaganari,
scripttag=deva,
langtag=MAR,
hyphennames={marathi},
hyphenmins={2,2},%CHECK
fontsetup=true,
%TODO nouppercase=true,
%TODO localnumber=marathinumber
}
\def\tmp@western{Western}
\newif\ifmarathi@devanagari@numerals
\marathi@devanagari@numeralstrue
\define@key{marathi}{numerals}[Devanagari]{%
\def\@tmpa{#1}%
\ifx\@tmpa\tmp@western
\marathi@devanagari@numeralsfalse
\fi}
\def\marathinumber#1{%
\ifmarathi@devanagari@numerals
\devanagaridigits{\number#1}%
\else
\number#1%
\fi}
\def\captionsmarathi{%
\def\refname{संदर्भ}%
\def\abstractname{सारांश}%
\def\bibname{संदर्भ ग्रंथांची यादी}%
\def\prefacename{प्रस्तावना}%
\def\chaptername{प्रकरण}%
\def\appendixname{परिशिष्ट}%
\def\contentsname{अनुक्रमणिका}%
\def\listfigurename{आक्रुत्यांची यादी}%
\def\listtablename{कॊष्टकांची यादी}%
\def\indexname{सुची}%
\def\figurename{आक्रुती}%
\def\tablename{कोष्टक}%
%\def\thepart{}% TODO
\def\partname{भाग}%
\def\pagename{पान}%
\def\seename{पहा}%
\def\alsoname{हे सुध्दा पहा}%
\def\enclname{समाविष्ट}%
\def\ccname{सि.सि.}%
\def\headtoname{प्रति}%
\def\proofname{कसोटी}%
\def\glossaryname{स्पष्टीकरणकोश}%
}
\def\datemarathi{%
\def\marathimonth{%
\ifcase\month\or
जानेवारी\or
फेब्रुवारी\or
मार्च\or
एप्रिल\or
मे\or
जुन\or
जुलॆ\or
ओगस्ट\or
सप्टेंबर\or
ओक्टोबर\or
नोव्हेंबर\or
डिसेंबर\fi
}%
\def\today{\marathinumber\day\space\marathimonth\space\marathinumber\year}%
}
\endinput
|