summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/chhaya/chhaya.sty
blob: 12c8cb5bcd6a3a3ca82f3b16111d0d97c8e6cb66 (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
%%
%% This is file `chhaya.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% chhaya.dtx  (with options: `package')
%% 
%% -------------------------------------------------------------------------
%% आज्ञासंच:      chhaya
%% लेखक:         निरंजन
%% आवृत्ती:       ०.२  (१३ ऑगस्ट, २०२०)
%% माहिती:      भाषावैज्ञानिक छायांगांचे संक्षेप पुरवणारा आज्ञासंच
%% दुवा:    https://gitlab.com/niranjanvikastambe/chhaya
%% अडचणी:    https://gitlab.com/niranjanvikastambe/chhaya/-/issues
%% परवाना:        लाटेक् प्रकल्प परवाना. आवृत्ती १.३सी किंवा त्यापुढील.
%% 
%% अधिक माहितीकरिता chhaya.dtx ही बीज-धारिका पाहा.
%% ---------------------------------------------------------------------------
%% हे काम लाटेक् प्रकल्प परवान्याच्या (१.३सी अथवा त्यापुढील) अटींचे पालन करून वितरित केले जाऊ शकते
%% तसेच सुधारले जाऊ शकते.
%% 
%% ह्या परवान्याची नवीनतम प्रत खालील दुव्यावर उपलब्ध आहे.
%% 
%% http://www.latex-project.org/lppl.txt.
%% 
%% हा आज्ञासंचाची लाटेक् प्रकल्पाच्या नियमांनुसार देखरेख केली जात आहे.
%% 
%% ह्या आज्ञासंचाचा लेखक व पालक निरंजन आहे.
%% 
%% ह्या कामात chhaya.dtx, chhaya.ins तसेच त्यांपासून निर्माण केलेली
%% chhaya.sty ही धारिका समाविष्ट आहे.
%% --------------------------------------------------------------------------
%% Package:      chhaya
%% Author:       Niranjan
%% Version:      0.2  (13 August, 2020)
%% Description:  For linguistic glossing in Marathi language.
%% Repository:   https://gitlab.com/niranjanvikastambe/chhaya
%% Bug tracker:  https://gitlab.com/niranjanvikastambe/chhaya/-/issues
%% License:      The LaTeX Project Public License v1.3c or later.
%% ---------------------------------------------------------------------------
%% 
\ProvidesPackage{chhaya}[2020-08-13 v0.2 भाषावैज्ञानिक छायांगे पुरवणारा आज्ञासंच]
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{fontspec}
\RequirePackage[acronym]{glossaries}
\pgfkeys{
    chhaya/.is family,
    chhaya/.cd,
    समरेखा/.code={\setfontfamily\test@acronymfont[Script=Devanagari,Mapping=devanagarinumerals]{#1}},
    समरेखा=Mukta,
    समरेखा/.default=Shobhika,
}
\DeclareTextFontCommand{\textacronym}{\test@acronymfont}
\def\chhaya@setkey#1{\pgfkeys{chhaya/.cd,#1}}
\DeclareOption*{\expandafter\chhaya@setkey\expandafter{\CurrentOption}}
\ProcessOptions
\newcommand{\छायांग}[2]
{
    \newacronym{#1}{\textacronym{#1}}{#2}
    \expandafter\newcommand\csname#1\endcsname{\acrshort{#1}}
}
\makeglossaries
\input{sankshep.tex}
\providecommand{\छायांगसूची}{
    \printglossary[type=\acronymtype,title={छायांगसूची}]
}
\endinput
%%
%% End of file `chhaya.sty'.