8000 added latex requirements from fedora spec · matplotlib/matplotlib@6fdd534 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6fdd534

Browse files
committed
added latex requirements from fedora spec
1 parent 3edda65 commit 6fdd534

File tree

3 files changed

+38
-67
lines changed

3 files changed

+38
-67
lines changed

doc/install/dependencies.rst

Lines changed: 35 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -413,18 +413,46 @@ The documentation requires LaTeX and Graphviz. These are not
413413
Python packages and must be installed separately.
414414

415415
* `Graphviz <http://www.graphviz.org/download>`_
416-
* a minimal working LaTeX distribution, e.g. `TeX Live <https://www.tug.org/texlive/>`_ or
416+
* LaTeX distribution, e.g. `TeX Live <https://www.tug.org/texlive/>`_ or
417417
`MikTeX <https://miktex.org/>`_
418418

419-
The following LaTeX packages:
419+
420+
When using tex-live, the following collections must be installed. If you cannot install
421+
the collections, for example when using a different distribution, then you must ensure
422+
that the following packages from each collection are installed:
423+
424+
* collection-basic
425+
* `cm <https://ctan.org/pkg/cm>`_
426+
* luahbtex
427+
* collection-fontsrecommended
428+
* `cm-super <https://ctan.org/pkg/cm-super>`_
429+
* `lm <https://ctan.org/pkg/lm>`_
430+
* `txfonts <https://ctan.org/pkg/txfonts>`_
431+
* collection-latex
432+
* `latex <https://ctan.org/pkg/latex>`_
433+
* latex-bin
434+
* `psnfss <https://ctan.org/pkg/psnfss>`_
435+
* collection-latexextra
436+
* `import <https://ctan.org/pkg/import>`_
437+
* `sfmath <https://ctan.org/pkg/sfmath>`_
438+
* `type1cm <https://ctan.org/pkg/type1cm>`_
439+
* collection-latexrecommended
440+
* `fontspec <https://ctan.org/pkg/fontspec>`_
441+
* `lwarp <https://ctan.org/pkg/lwarp>`_
442+
* `underscore <https://ctan.org/pkg/underscore>`_
443+
* collection-xetex
444+
* `xetex <https://ctan.org/pkg/xetex>`_
445+
* xetex-bin
446+
447+
Note you may need to install some packages in collection-basic that are not listed here.
448+
The complete version of many LaTex distribution installers, e.g. "texlive-full" or
449+
"texlive-all", will often automatically include these collections.
450+
451+
The following packages must also installed:
420452

421453
* `dvipng <https://ctan.org/pkg/dvipng>`_
422-
* `underscore <https://ctan.org/pkg/underscore>`_
423-
* `cm-super <https://ctan.org/pkg/cm-super>`_
424-
* ``collection-fontsrecommended``
454+
* `pgf <https://ctan.org/pkg/pgf>`_ (if using the pgf backend)
425455

426-
The complete version of many LaTex distribution installers, e.g.
427-
"texlive-full" or "texlive-all", will often automatically include these packages.
428456

429457
Optional
430458
^^^^^^^^

galleries/examples/text_labels_and_annotations/titles_demo.py

Lines changed: 0 additions & 59 deletions
This file was deleted.

lib/matplotlib/testing/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,9 @@ def _check_for_pgf(texsystem):
168168
subprocess.check_call(
169169
[texsystem, "-halt-on-error", str(tex_path)], cwd=tmpdir,
170170
stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
171-
except (OSError, subprocess.CalledProcessError):
171+
except (OSError, subprocess.CalledProcessError) as e:
172+
print(e)
173+
print(tex_path.exists())
172174
return False
173175
return True
174176

0 commit comments

Comments
 (0)
0