I am using a linux system. By mistake I issued a command -
sudo apt-get purge python
(I know I've committed a very big mistake :( but now I want everything back to normal.)
As soon as I issued this command my LaTeX (texlive-full) stopped working. I realized that I did not had any version of texlive. I issued this command -
sudo apt-get install texlive-full
I don't know why, but now package polyglossia is not working. eg.
\documentclass{article}
\usepackage{polyglossia}
\setmainlanguage{english}
\begin{document}
abcd
\end{document}
This should have run normally, but I'm getting errors.
This is the log file. Linux users please help me out!
TeX Live 2017/Debian, while current would be TeX live 2019. I think\setdefaultlanguageis a more recent addition topolyglossia, try\setmainlanguageinstead. See https://tex.stackexchange.com/q/394958/35864 – moewe Aug 18 '19 at 08:59polyglossiahas\let\setmainlanguage=\setdefaultlanguage, so I suspect that\setmainlanguageinstead of\setdefaultlanguagein the MWE should give the expected results. – moewe Aug 18 '19 at 09:01setmainlanguageand still I got errors. – Niranjan Aug 18 '19 at 09:07/usr/share/texlive/texmf-dist/tex/latex/polyglossia.styDoes the file look roughly like https://github.com/reutenauer/polyglossia/blob/master/tex/polyglossia.sty? – moewe Aug 18 '19 at 09:08polyglossia.stylook like before you pasted the linked file? – moewe Aug 18 '19 at 09:17