FS#65535 - [python-matplotlib] Add texlive-latexextra as Optional Deps
Attached to Project:
Community Packages
Opened by Ashwin Vishnu (jadelord) - Monday, 17 February 2020, 22:21 GMT
Last edited by Bruno Pagani (ArchangeGabriel) - Wednesday, 04 March 2020, 11:34 GMT
Opened by Ashwin Vishnu (jadelord) - Monday, 17 February 2020, 22:21 GMT
Last edited by Bruno Pagani (ArchangeGabriel) - Wednesday, 04 March 2020, 11:34 GMT
|
Details
Description: Activating usetex `plt.rc("text", usetex=True)`
and plotting with a latex string would spit out an error as
mentioned here:
https://bbs.archlinux.org/viewtopic.php?id=186228
Additional info: * GH issue with error: https://github.com/matplotlib/matplotlib/issues/3410 Therefore please also add texlive-latexextra as an optional dependency. ❯ pacman -F type1cm.sty extra/texlive-latexextra 2019.52575-1 (texlive-most) [installed] usr/share/texmf-dist/tex/latex/type1cm/type1cm.sty |
This task depends upon
Closed by Bruno Pagani (ArchangeGabriel)
Wednesday, 04 March 2020, 11:34 GMT
Reason for closing: Implemented
Additional comments about closing: python-matplotlib 3.2.0-1.
Wednesday, 04 March 2020, 11:34 GMT
Reason for closing: Implemented
Additional comments about closing: python-matplotlib 3.2.0-1.
My opinion on this is people should install the relevant texlive packages depending on what they want to use in matplotlib, because technically all texlive packages could be optdeps if you go this way.
'ghostscript: usetex dependencies'
'texlive-bin: usetex dependencies'
No other preamble is required.
https://github.com/matplotlib/matplotlib/blob/e3177f83220a3cbfdb6984d263bb008279215458/tutorials/text/usetex.py#L123-L126
I would not comment any further. Your call.
I will add 'texlive-latexextra: usetex usage with pdflatex'.