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
{{ message }}
Repository navigation
type1ec.sty needed for TeX output of plots. Not a standard texlive #16911
type1ec.sty not found. I have never encountered this before v3.2.1. Standard texlive (apt install texlive-latex-extra) does not come with this (only type1cm.sty).
Expected no problems with plotting. `fontsize=12` runs on some choices of label. Labels with a single character also produce no error...
Fix
on linux: apt install cm-super.
Is it now necessary to have cm-supper for plotting TeX?
Matplotlib version
Operating system: Linux (Ubuntu 19.10)
Matplotlib version: 3.2.1
Matplotlib backend (print(matplotlib.get_backend())): module://ipykernel.pylab.backend_inline (seems strange to me)
Python version: 3.7.6
Jupyter version (if applicable): 6.0.3
Other libraries:
Reacted by Michael Aye, Carl.Q, Alkis Gotovos, egstatsml, Jensen Zhou, Aidan Gomez, Javier Martínez, Fynn Lyte, Jens Egholm Pedersen, Joël Abrahams and 83 more
Reacted by Paul Mennig
Reacted by Horace He
Reacted by Joseph Azevedo, David Ignacio Cortes, Nere0s, Aidan Gomez, Thiago Matheus, random_walk, gebawe, Thales Carl Lavoratti, Peter Siegel, Rocky and 8 more
i solved this bug on ubuntu by adding the cm-super. but the same bug appears on mac.
I solved using tlmgr in OSX:
sudo tlmgr install cm-super
Reacted by Frank Luan, Matteo Pompili, Christian Buus Michelsen, Vini Salazar, Alejo BS, Hantao Cui, Alexandros Tsamopoulos, nikezono, Ethan Wu, William Miller and 4 more
In Fedora 35, I kept having the "not found" error for type1ec.sty and type1cm.sty although both were installed. I was able to solve it installing texlive-psutils with dnf.
Activity
anntzer commentedon Mar 26, 2020
Yes, this has been made necessary so that unicode input works (#14146 and linked issues).
LRydin commentedon Mar 26, 2020
Wonderful, thanks. If not included in the documentation, I would say it is helpful to do so :)
Cheers
Adding cm-super apt get following this maptlotlib unicode issue: matp…
RiteshBhola commentedon Nov 16, 2020
Thank you
It solved my issue.
zhu00ling commentedon May 26, 2021
i solved this bug on ubuntu by adding the cm-super. but the same bug appears on mac.
sanurielf commentedon Sep 12, 2021
I solved using tlmgr in OSX:
sudo tlmgr install cm-superale-munozarancibia commentedon Jul 28, 2023
In Fedora 35, I kept having the "not found" error for type1ec.sty and type1cm.sty although both were installed. I was able to solve it installing texlive-psutils with dnf.
shikhar-saxena commentedon Aug 13, 2023
I keep getting the "not found" error too. And I couldn't fix it, despite installing
cm-super?RiteshBhola commentedon Aug 13, 2023
shikhar-saxena commentedon Aug 13, 2023
Yeah I have installed both of them but it doesn't work for some reason.
OleHolmNielsen commentedon Aug 1, 2024
We struggled with finding an appropriate RPM package for RockyLinux 9 (clone of RHEL 9), and found that this package needs to be installed:
dnf install texlive-type1cm
CI: LaTeX: added cm-super. (Only 3.14 for now).