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\setdefaultlanguage
is a more recent addition topolyglossia
, try\setmainlanguage
instead. See tex.stackexchange.com/q/394958/35864 – moewe Aug 18 '19 at 8:59polyglossia
has\let\setmainlanguage=\setdefaultlanguage
, so I suspect that\setmainlanguage
instead of\setdefaultlanguage
in the MWE should give the expected results. – moewe Aug 18 '19 at 9:01setmainlanguage
and still I got errors. – Niranjan Aug 18 '19 at 9:07/usr/share/texlive/texmf-dist/tex/latex/polyglossia.sty
Does the file look roughly like github.com/reutenauer/polyglossia/blob/master/tex/…? – moewe Aug 18 '19 at 9:08