Open main menu

Changes

752 bytes added ,  01:51, 31 January 2022
\stoptext
</texcode>
 
== Exceptions ==
 
Sometimes, one might want to leave retain words or phrases in the original script and avoid transliteration. To this end, {{cmd|transliterationexception}} may be used to define such exceptions
* at the level of a transliteration scheme, i.e., per <code>vector</vector> as in:
 
<texcode>
\transliterationexception[deva to iast]{शरीरं}{देहं}
</texcode>
 
* and/or at the instance level, i.e., per transliteration block define with {{cmd|definetransliteration}} as in:
 
<texcode>
\transliterationexception[TrDevaToIAST]{शरीरं}{देहं}
</texcode>
 
When both are defined, the latter overrides the former. Moreover, any derived transliteration instances also inherit the exceptions defined for the parent.
107

edits