1. You have to work on your example because there is too much useless stuff and it's no fun to take a look at the problem with such a start.

Sorry,
here is the minimum I guess:

-------------------------

% Devanāgarī setup
\definefallbackfamily [Roman] [rm] [Adishila San] [range=devanagari,features=devanagari-one]
\definefontfamily     [Roman] [rm] [Minion Pro]
\setupbodyfont [Roman]

\definefontfamily [nagari] [rm] [Adishila San] [features=devanagari-one,rscale=1.9]
\usetransliteration[indic]
\definetransliteration [MyDeva] [lang=sa,vector={iast to deva}]
\startsetups [sanskrit]
  \settransliteration[MyDeva]
  \switchtobodyfont[nagari]
\stopsetups
\setuplanguage [sa] [setups=sanskrit]
\definestartstop [sanskrit] [style={\language[sa]}]
\define[1]\skt{\start\language[sa]#1\stop}

\setupbodyfont[xcharter]

% footnotes
 \setupnotations[alternative=serried]
 \setuplinenumbering[step=5,method=page,style=\tfx,location=outer,align=outer]
 \definelinenote[var][paragraph=yes]

% Test
\startsanskrit
  śrīādi\var{ test}
\stopsanskrit
\stoptext

------------------------


I'll try to append the pdf, but you can see the text, a page number a footnote with only the line number, but no roman text "test". So I guess I have to swich to roman within the footnote, but no combination for \switchtobodyfont and \resettransliteration
has worked.

Thanks!



Try to find fonts which which are either included with a standard Context installation or part of a OS, e.g. Nirmala Text is included on Windows 11.

The font comes out fine, it is the first listed on https://wiki.contextgarden.net/Input_and_compilation/Languages/Indic_scripts and one of the best available. I am not using windows, only Linux, so I do not have the nirmala font.




---

Prof. Dr. Juergen Hanneder
Philipps-Universitaet Marburg
FG Indologie u. Tibetologie
Deutschhausstr.12
35032 Marburg
Germany
Tel. 0049-6421-28-24930
[email protected]

Attachment: Minimal.pdf
Description: Adobe PDF document

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to