You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 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.
The text was updated successfully, but these errors were encountered:
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
, andtextcomp
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.
The text was updated successfully, but these errors were encountered: