[XeTeX] Polyglossia and Sanskrit
Yves Codet
ycodet at club-internet.fr
Thu Mar 20 09:05:40 CET 2008
Hello.
I have a question about Sanskrit. The following preamble gives the
expected result:
\documentclass[a4paper,12pt]{article}
\usepackage{polyglossia}
\usepackage{fontspec}
\setdefaultlanguage{french}
\setotherlanguage{sanskrit}
\setmainfont{Charis SIL}
\newfontfamily\sanskritfont[Script=Devanagari]{Sanskrit 2003}
\newcommand{\skt}[1]{{\begin{sanskrit}#1\end{sanskrit}}}
%\newcommand{\skt}[1]{\localsanskrit{#1}}
But if I use the commented out command instead of the preceding one
Charis is used for Sanskrit and of course nothing appears in the
ouput. Is this command wrong?
Kind regards,
Yves
-------------- next part --------------
A non-text attachment was scrubbed...
Name: essai.tex
Type: application/octet-stream
Size: 1488 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20080320/5d1f1d77/attachment.obj
-------------- next part --------------
More information about the XeTeX
mailing list