davidcarlisle / dpctex

Assorted TeX packages
93 stars 30 forks source link

mylatex: \makeatletter is considered an undefined control sequence #28

Closed matteocoder closed 3 years ago

matteocoder commented 3 years ago

I was trying to use mylatex, but compilation stops right at the beginning returning an "Undefined control sequence l.126 \makeatletter" error. Here is the mwe:

\documentclass{article}
\usepackage{fontspec}
\usepackage{lipsum,showframe}
\begin{document}
\lipsum
\end{document}

which I tried to compile using lualatex -ini mylatex.ltx mwe. I tried compiling this on Windows 10 Home 64-bit 1909 with TeXLive 2020 updated on the 28th of October.

davidcarlisle commented 3 years ago

You need to load the lualatex format

lualatex -ini "&lualatex" mylatex.ltx mwe
matteocoder commented 3 years ago

@davidcarlisle Thank you for your reply.