Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fontspec cannot be loaded after babel any longer #312

Closed
ralessi opened this issue Nov 6, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@ralessi
Copy link

commented Nov 6, 2017

With the latest versions of both babel and fontspec, this mwe compiled with lualatex:

\documentclass{article}
\usepackage[english]{babel}

\usepackage{fontspec}

\begin{document}
Hello world.
\end{document}

gives me this error:

ERROR: LaTeX error: "kernel/command-already-defined"

--- TeX said ---
! 
! Control sequence \latinencoding already defined.
! 
! See the LaTeX3 documentation for further information.
! 
! For immediate help type H <return>.
!...............................................  
                                                  
l.121 \tl_new:N \latinencoding

pointing to l. 121 of fontspec-luatex.sty

If fontspec is loaded before babel, the mwe compiles. Are we now supposed to mind the load order of the two packages?

@wspr

This comment has been minimized.

Copy link
Owner

commented Nov 6, 2017

@ralessi

This comment has been minimized.

Copy link
Author

commented Nov 6, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.