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

fontenc package needs special handling #5

Open
kmccurley opened this issue Oct 10, 2022 · 0 comments
Open

fontenc package needs special handling #5

kmccurley opened this issue Oct 10, 2022 · 0 comments

Comments

@kmccurley
Copy link
Member

I am having a hard time understanding it, but apparently there is a blanket recommendation not to use the fontenc package in lualatex, but rather to use fontspec. There is a complicated discussion that points out it's possible to load fontenc multiple times with different character encodings for the output. I think our best bet is to make sure that \usepackage[T1]{fontenc} does not appear in main.tex, because I don't think you can prevent fontenc from being loaded otherwise. Maybe \AtBeginDocument can check if fontenc is loaded and complain in iacrcc.cls, but we would need some tests for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant