diff options
author | Karl Berry <karl@freefriends.org> | 2021-06-12 21:14:03 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-06-12 21:14:03 +0000 |
commit | 7733c471ba5c293660e25c0f9d6cead156ef1c0e (patch) | |
tree | 03d27a17f9d19e776988d5d3d2fcdd4378467422 /Master/texmf-dist/tex/latex/chhaya/chhaya.sty | |
parent | 02f0ed6606343f8a2ba496ea151952735a9f0189 (diff) |
chhaya (12jun21)
git-svn-id: svn://tug.org/texlive/trunk@59566 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/chhaya/chhaya.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/chhaya/chhaya.sty | 92 |
1 files changed, 50 insertions, 42 deletions
diff --git a/Master/texmf-dist/tex/latex/chhaya/chhaya.sty b/Master/texmf-dist/tex/latex/chhaya/chhaya.sty index 12c8cb5bcd6..880730de91f 100644 --- a/Master/texmf-dist/tex/latex/chhaya/chhaya.sty +++ b/Master/texmf-dist/tex/latex/chhaya/chhaya.sty @@ -5,65 +5,73 @@ %% The original source files were: %% %% chhaya.dtx (with options: `package') -%% -%% ------------------------------------------------------------------------- -%% आज्ञासंच: chhaya -%% लेखक: निरंजन -%% आवृत्ती: ०.२ (१३ ऑगस्ट, २०२०) -%% माहिती: भाषावैज्ञानिक छायांगांचे संक्षेप पुरवणारा आज्ञासंच -%% दुवा: https://gitlab.com/niranjanvikastambe/chhaya -%% अडचणी: https://gitlab.com/niranjanvikastambe/chhaya/-/issues -%% परवाना: लाटेक् प्रकल्प परवाना. आवृत्ती १.३सी किंवा त्यापुढील. -%% -%% अधिक माहितीकरिता chhaya.dtx ही बीज-धारिका पाहा. -%% --------------------------------------------------------------------------- -%% हे काम लाटेक् प्रकल्प परवान्याच्या (१.३सी अथवा त्यापुढील) अटींचे पालन करून वितरित केले जाऊ शकते +%% -------------------------------------------------------------------- +%% आज्ञासंच: chhaya +%% लेखक: निरंजन +%% आवृत्ती: ०.३ (१३ जून, २०२१) +%% माहिती: भाषावैज्ञानिक छायांगांचे संक्षेप पुरवणारा आज्ञासंच +%% दुवा: https://gitlab.com/niruvt/chhaya +%% अडचणी: https://gitlab.com/niruvt/chhaya/-/issues +%% परवाना: आज्ञालेखांकरिता आलोक नित्यमुक्त परवाना (आवृत्ती १.०+) आणि ग्नू पब्लिक परवाना +%% (आवृत्ती ३.०+) व केवळ हस्तपुस्तिकेकरिता ग्नू फ्री डॉक्युमेन्टेशन परवाना (१.३+) +%% दुवे: +%% https://varnamudra.com/aalok/parwana +%% https://www.gnu.org/licenses/gpl-3.0.txt +%% https://www.gnu.org/licenses/fdl-1.3.html +%% -------------------------------------------------------------------- +%% हे काम आलोक नित्यमुक्त परवान्याच्या (आ. १.०+) अटींचे पालन करून वितरित केले जाऊ शकते %% तसेच सुधारले जाऊ शकते. %% %% ह्या परवान्याची नवीनतम प्रत खालील दुव्यावर उपलब्ध आहे. %% -%% http://www.latex-project.org/lppl.txt. -%% -%% हा आज्ञासंचाची लाटेक् प्रकल्पाच्या नियमांनुसार देखरेख केली जात आहे. +%% https://varnamudra.com/aalok/parwana %% %% ह्या आज्ञासंचाचा लेखक व पालक निरंजन आहे. %% %% ह्या कामात chhaya.dtx, chhaya.ins तसेच त्यांपासून निर्माण केलेली %% chhaya.sty ही धारिका समाविष्ट आहे. -%% -------------------------------------------------------------------------- +%% -------------------------------------------------------------------- %% Package: chhaya %% Author: Niranjan -%% Version: 0.2 (13 August, 2020) +%% Version: 0.3 (13 June, 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} +%% Repository: https://gitlab.com/niruvt/chhaya +%% Bug tracker: https://gitlab.com/niruvt/chhaya/-/issues +%% License: `आलोक' copyleft license v1.0+ and GPL v3.0+ for the code. +%% GFDL v1.3+ only for the documentation +%% Links: +%% https://varnamudra.com/aalok/parwana +%% https://www.gnu.org/licenses/gpl-3.0.txt +%% https://www.gnu.org/licenses/fdl-1.3.html +%% -------------------------------------------------------------------- +\ProvidesPackage{chhaya}[2021-06-13 v0.3 भाषावैज्ञानिक छायांगे पुरवणारा आज्ञासंच] +\RequirePackage{marathi} \RequirePackage[acronym]{glossaries} -\pgfkeys{ - chhaya/.is family, - chhaya/.cd, - समरेखा/.code={\setfontfamily\test@acronymfont[Script=Devanagari,Mapping=devanagarinumerals]{#1}}, - समरेखा=Mukta, - समरेखा/.default=Shobhika, +\RequirePackage{xkeyval} +\RequirePackage{iftex} +\दुसराटंक{\छायांगांचाटंक}{Mukta} +\DeclareOptionX{समरेखा}[Shobhika]{% + \renewfontfamily{\छायांगांचाटंक}[% + Script=Devanagari,% + \ifluatex + Renderer=Harfbuzz,% + \else + Mapping=devanagarinumerals + \fi + ]% + {#1}% } -\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}} +\ProcessOptionsX +\DeclareTextFontCommand{\छायांगांच्याटंकाचीआज्ञा}{\छायांगांचाटंक} +\newcommand{\छायांग}[2]% +{% + \newacronym{#1}{\छायांगांच्याटंकाचीआज्ञा{#1}}{#2}% + \expandafter\newcommand\csname#1\endcsname{\acrshort{#1}}% } \makeglossaries \input{sankshep.tex} -\providecommand{\छायांगसूची}{ - \printglossary[type=\acronymtype,title={छायांगसूची}] +\providecommand{\छायांगसूची}[1][छायांगसूची]{ + \printglossary[type=\acronymtype,title={#1}] } \endinput %% |