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

Modern defaults for pylatex.Document #343

Open
Erotemic opened this issue Dec 18, 2021 · 1 comment
Open

Modern defaults for pylatex.Document #343

Erotemic opened this issue Dec 18, 2021 · 1 comment

Comments

@Erotemic
Copy link
Contributor

I just spent some time debugging an issue that ultimately stems from pylatex.Document defaults that don't seem to be needed with modern latex distributions.

The lovely people on Tex Stack Exchange helped me a lot in figuring this out:
https://tex.stackexchange.com/questions/627493/latex-rendering-unicode-plus-minus-%c2%b1-symbol-incorrectly

The gist as far as I understand it, is that inputenc, lmodern, and textcomp are no longer needed. In fact, they can produce incorrect results if they are loaded (see the above issue).

It might make sense to either change their defaults or detect if a modern latex compiler is used and warn if these packages exist in the document.

@rmattes
Copy link

rmattes commented Nov 6, 2023

Any news on this? This is biting me as well.

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

2 participants