![](https://secure.gravatar.com/avatar/5955e8e90611e77ccbfc7721b6112027.jpg?s=120&d=mm&r=g)
On 8/8/24 13:07, Jürgen Hanneder via ntg-context wrote:
The text below works, thanks for the help!
But there is one more problem.
I could not find an elegant method to set the language of the document to English without disabling Nagari. If one adds \setupbodyfont[minion] the Nagari parts disappear.
Default language is US English. I mean, this is already set. For other languages, \mainlanguage[de] (as an example). As for the fonts, you need a fallback typeface: \definefallbackfamily [nagari] [rm] [adishila] [range={devanagari, devanagariextendeda, devanagariextendeda}, force=yes, features=devanagari-one] \definefontfamily [nagari] [rm] [Minion Pro] \setupbodyfont[nagari]
The normal scenario would be a document in English with Sanskrit as a secondary language, to one switches with a command that changes font, language and activates the transliteration mechanism.
\starttransliteration[MyDeva] does not do this as soon as one sets the roman font.
Adding the above commands, it should work. There is an issue with language, but I’m opening a new thread. I hope it helps, Pablo