Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
test for Devanagari in Context MkIV (ad
\definefont [DevaOne] [file:chandas.ttf*devanagari-one at 18pt]
\definefont [DevaTwo] [file:uttara.ttf*devanagari-two at 18pt]
\def \devanagaritest #1{%
\detokenize {#1}:\crlf
श्रेयो हि ज्ञानमभ्यासाज्ज्ञानाद्ध्यानं विशिष्यते । \crlf
ध्यानात्कर्मफलत्यागस्त्यागाच्छन्तिरनन्तरम् ॥
\blank [2*line]
\devanagaritest \DevaOne
\devanagaritest \DevaTwo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.