After upgrading from a very old Version to Tex Live 2019/Debian I cannot render my "tufte style book" with Sanskrit fonts anymore. In the old version I was able to render with "Quick Build" in my TexMaker Engine. Now I have to render Sanskrit with XeLaTex, otherwise I get "fontspec Error". But with XeLaTeX I cannot render "tufte style".

Any suggestion how to solve this? Is it possible to use Sanskrit fonts without fontspec?

This is apart of the code I use:

\documentclass{tufte-book} % Use the tufte-book class which in turn uses the tufte-common class
\hypersetup{colorlinks} % Comment this line if you don't wish to have colored links
    \newfontfamily\devanagarifont{Sanskrit 2003}
  • Maybe tex.stackexchange.com/questions/202142/… could help here (see the newest answer from September 2020 at the end)?
    – Marijn
    Jan 13 '21 at 18:05
  • Es I understood, I have to add after fontspec has been loaded: \renewcommand\allcapsspacing[1]{{\addfontfeature{LetterSpace=15}#1}} \renewcommand\smallcapsspacing[1]{{\addfontfeature{LetterSpace=10}#1}} In the old version of my texlive that was the solution. But now it does not work...
    – Denis
    Jan 13 '21 at 20:02
  • I tried your code (earlier I just looked up the related question) and it works for me with XeLaTeX (after adding \begin{document} abc \textsanskrit{उदु ज्योतिरमृतं विश्वजन्यं विश्वानरः सविता देवो अश्रेत्} \end{document} to make a complete document). I also use TeX Live 2019/Debian. What error do you get exactly?
    – Marijn
    Jan 13 '21 at 20:26
  • Thank you. Yes, in this short preamble it works. Then the error is somewhere else. I will anyway change the whole project.
    – Denis
    Jan 14 '21 at 6:07
  • ok, I have vote to close the question as "needs more detail", which means in this case "the error is somewhere else" :)
    – Marijn
    Jan 14 '21 at 7:35

Browse other questions tagged or ask your own question.