The following code doesn't compile.
% !TeX program = lualatex
\documentclass{article}
\usepackage{accents}
\usepackage{luatexko}
\begin{document}
hello
\end{document}
What can I do to remove the conflict?
A more minimal example is
\documentclass{article}
\usepackage{accents}
\usepackage{fontspec}
\begin{document}
hello
\end{document}
You can solve this by loading fontspec
with the no-math
option:
\documentclass{article}
\usepackage{accents}
\usepackage[no-math]{fontspec}
\usepackage{luatexko}
\begin{document}
hello
\end{document}
\acute
(and other accents) do you want\acute
to be the accents package or luatexko package version (it can be either, but not both at the same time)luatexko
to be the luatex version ofkotex
. If I replaceluatexko
withkotex
and compile usingpdflatex
it compiles fine.