Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • 1
    It looks like you are trying to compile the file with pdfTeX instead of luaTeX. Commented Aug 7, 2020 at 13:19
  • 3
    You need to change your compiler to LuaLaTeX, see overleaf.com/learn/how-to/Changing_compiler for how to do that. Note that since Lua(La)TeX handles fonts very differently from pdf(La)TeX there are a few packages you should not load with LuaLaTeX (cf. tex.stackexchange.com/q/28642/35864, some of the advice there is outdated, babel for example works fine with modern LuaLaTeX): Do not load inputenc and fontenc with LuaLaTeX. Commented Aug 7, 2020 at 13:23
  • 2
    With LuaLaTeX you'll want to drop \usepackage[T1]{fontenc} and \usepackage[utf8]{inputenc}. No matter what compiler you use you should make sure that hyperref is the last package you load (save for a few exceptions). There is little point in loading \usepackage{url} if you also load \usepackage{hyperref} (since the latter loads the former), especially if you do it after loading hyperref. (These hints won't help with the error message you posted, but they are still relevant for your document.) Commented Aug 7, 2020 at 13:33
  • @moewe: Thank you. Changing to LuaLaTeX helped. But dropping '\usepackage[T1]{fontenc}' generated hundreds of warnings like Package microtype Warning: Unknown slot number of character \r A' in font encoding TU' in inheritance list `microtype.cfg/358(protrusion)'. and it lost the styles for the large and bold font for section titles. Commented Aug 7, 2020 at 13:40
  • As I said, the way fonts are handled in pdf(La)TeX and Lua(La)TeX is quite different. So it may not be enough to just drop \usepackage[T1]{fontenc}. See for example tex.stackexchange.com/q/243482/35864. In any case \usepackage[T1]{fontenc} is detrimental with LuaLaTeX as explained in tex.stackexchange.com/q/470976/35864 (compile \documentclass[ngerman]{article} \usepackage[T1]{fontenc} \begin{document} Grüße \end{document} with LuaLaTeX to see a very obvious problem) Commented Aug 7, 2020 at 13:47