[XeTeX] Mixed Roman and Indian alphabets for Sanskrit

Dominik Wujastyk wujastyk at gmail.com
Tue Feb 14 00:47:09 CET 2017

So what would be a canonical way to set up \saDev{xxx} for typesetting
Sanskrit in Devanagari, and \saIAST{yyy} for typesetting Sanskrit in Roman
script, with both getting correct Sanskrit hyphenation from the same
hyph-sa.tex file?

Something like this?

{Sanskrit 2003}

\def\saDev{{\devanagarifont #1}}  % type in IAST transliteration and get
Devanagari with Devanagari hyphenation from hyph-sa.tex

{Sanskrit 2003}

\def\saIAST{\emph{{\iastfont #1}}} % type in IAST transliteration and get
Latin script with Sanskrit hyphenation from hyph-sa.tex

Does "Script=Devanagari" turn on the hypy-sa hyphenation file?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20170213/c419bff0/attachment.html>

More information about the XeTeX mailing list