- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Option clash for package textcomp #4727
Comments
It seems your project uses On the other hand, Sphinx also uses @jfbu could you check this please? |
@ricpelo can you try adding this key to latex_elements in your conf.py:
does this fix your issue ? I will make a PR to address this premptively. |
Some packages loaded from user customized 'fontpkg' key may load textcomp with no option, clashing with sphinx.sty which comes later and wants it with "warn" option. This makes sure textcomp receives always "warn" option, even if loaded prior to sphinx. modified: CHANGES modified: sphinx/templates/latex/latex.tex_t modified: sphinx/texinputs/sphinx.sty
@jfbu Yes, adding that line fix the issue! Thank you very much! |
Fix #4727: Option clash for package textcomp
Fixed at 87e8dd1 . With 1.7.2 you can remove the extra latex_elements key, but leaving it should cause no harm. Thanks for report. |
Thanks to you! |
Problem
Trying to create a PDF version of my book I get the following error:
Procedure to reproduce the problem
$ git clone https://github.com/ricpelo/libro-dwese.git $ cd libro-dwese $ pip install -r requirements.txt $ make latexpdf
Error logs / results
Expected results
No errors and PDF generated successfully.
Reproducible project / your project
https://github.com/ricpelo/libro-dwese
Environment info
The text was updated successfully, but these errors were encountered: