![Cleveref 无法与 Greek/Xetex 配合使用](https://linux22.com/image/374492/Cleveref%20%E6%97%A0%E6%B3%95%E4%B8%8E%20Greek%2FXetex%20%E9%85%8D%E5%90%88%E4%BD%BF%E7%94%A8.png)
我遇到了一些问题cleveref
;每当我包含它时,它都会引发以下错误:
$ xelatex mwe.tex
...
! Undefined control sequence.
\@begindocumenthook ...sname extras\cref@language
\endcsname }\@ifundefined...
l.16 \begin{document}
梅威瑟:
\documentclass[a4paper,12pt,final]{memoir}
\usepackage[no-math]{fontspec}
\usepackage{csquotes}
\usepackage{polyglossia}
\setmainlanguage[variant=mono]{greek}
\setotherlanguage{english}
%\setmainfont[Mapping=tex-text,Ligatures=TeX,Numbers=OldStyle]{Linux Libertine O}
\usepackage[p,osf]{libertine}
\usepackage{hyperref}
\usepackage{cleveref}
\begin{document}
paok ekdromes ναρκωτικά
\end{document}