Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0e2927f

Browse filesBrowse files
committed
added latex requirements from fedora spec
1 parent a464694 commit 0e2927f
Copy full SHA for 0e2927f

File tree

3 files changed

+38
-67
lines changed
Filter options

3 files changed

+38
-67
lines changed

‎doc/install/dependencies.rst

Copy file name to clipboardExpand all lines: doc/install/dependencies.rst
+35-7Lines changed: 35 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -419,18 +419,46 @@ The documentation requires LaTeX and Graphviz. These are not
419419
Python packages and must be installed separately.
420420

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

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

427459
* `dvipng <https://ctan.org/pkg/dvipng>`_
428-
* `underscore <https://ctan.org/pkg/underscore>`_
429-
* `cm-super <https://ctan.org/pkg/cm-super>`_
430-
* ``collection-fontsrecommended``
460+
* `pgf <https://ctan.org/pkg/pgf>`_ (if using the pgf backend)
431461

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

435463
Optional
436464
^^^^^^^^

‎galleries/examples/text_labels_and_annotations/titles_demo.py

Copy file name to clipboardExpand all lines: galleries/examples/text_labels_and_annotations/titles_demo.py
-59Lines changed: 0 additions & 59 deletions
This file was deleted.

‎lib/matplotlib/testing/__init__.py

Copy file name to clipboardExpand all lines: lib/matplotlib/testing/__init__.py
+3-1Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.