# After upgrade of texlive I cannot integrate Sanskrit fonts in Tufte book style anymore [closed]

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
\usepackage{microtype}
\usepackage{booktabs}
\usepackage{graphicx}
\usepackage{fancyvrb}
\usepackage{polyglossia}
\setmainlanguage{english}
\setotherlanguage{sanskrit}
\newfontfamily\devanagarifont{Sanskrit 2003}

• Maybe tex.stackexchange.com/questions/202142/… could help here (see the newest answer from September 2020 at the end)? – Marijn 2 days ago
• 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 2 days ago
• Thank you. Yes, in this short preamble it works. Then the error is somewhere else. I will anyway change the whole project. – Denis 2 days ago
• ok, I have vote to close the question as "needs more detail", which means in this case "the error is somewhere else" :) – Marijn 2 days ago