<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">RD Holkar wrote:<br>
<br>
</div>
<blockquote type="cite"
cite="mid:CALnavrdCbwOSR-WEZBTgFvww5Tiu__nsZpk4kkbVyxoowexfFQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr"><font face="arial, sans-serif">I want to use
package dramatist to write a play in language Marathi. I
am using package polyglossia in XeLaTeX for Marathi. The
package dramatist prints some theatrical terms via some
commands. E.g., the command <code style="margin:0px;padding:1px 5px;border:0px;font-style:inherit;font-variant-caps:inherit;font-stretch:inherit;line-height:19.5px;vertical-align:baseline;box-sizing:inherit;white-space:pre-wrap">\scenename</code> prints
"Scene (and scene number in roman)". I want the word दृश्य
to be printed instead of "Scene", and have the counter set
to Devanagari script. Therefore, following the package
documentation, I use <code style="margin:0px;padding:1px 5px;border:0px;font-style:inherit;font-variant-caps:inherit;font-stretch:inherit;line-height:19.5px;vertical-align:baseline;box-sizing:inherit;white-space:pre-wrap">\renewcommand{\scenename}{दृश्य}</code> in
the preamble. Similarly, I change the counter to
Devanagari script.</font>
<div>
<p style="margin:0px 0px
1em;padding:0px;border:0px;font-stretch:inherit;line-height:inherit;vertical-align:baseline;box-sizing:inherit;clear:both;color:rgb(36,39,41)"><font
face="arial, sans-serif">My question is, how can I add
these translation commands to the ldf (marathi.ldf)
file for language Marathi in package poyloglossia so
that I do not have to keep writing these commands all
the time in the preamble? Thank you in advance.</font></p>
<p style="margin:0px 0px
1em;padding:0px;border:0px;font-stretch:inherit;line-height:inherit;vertical-align:baseline;box-sizing:inherit;clear:both;color:rgb(36,39,41)"><span
style="background-color:rgb(254,254,251)"><font
face="arial, sans-serif">What I really want is the
command in marathi.ldf. I doubt if \renewcommand can
be directly put in the .ldf file, can it be? </font></span></p>
</div>
</div>
</div>
</div>
</blockquote>
<br>
<font face="arial, sans-serif">I can see no reason why not.
Although "marathi.ldf" does not appear to be a part of the TeX
Live 2020 suite, I have looked at what may be a similar file,
"gloss-marathi.ldf" and it looks to me as if additional XeLaTeX
commands could be added at the bottom, provided of course that you
first clone it to TeXMF-Local (or similar) and modify the copy
rather than the original, then re-build the file name database.<br>
<br>
<i>Philip Taylor</i><br>
</font>
</body>
</html>