8000 Small fixes to latex-related docs. by anntzer · Pull Request #20024 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Small fixes to latex-related docs. #20024

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

Merged
merged 1 commit into from
Apr 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions doc/devel/development_setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -112,24 +112,24 @@ Additional external dependencies
--------------------------------
Required:

* a minimal working LaTeX distribution
* `Graphviz <http://www.graphviz.org/download>`_
* the LaTeX packages *cm-super* and *dvipng*. If your OS bundles ``TexLive``,
then often the "complete" version of the installer will automatically include
these packages (e.g. "texlive-full" or "texlive-all").
* a minimal working LaTeX distribution
* `Graphviz <http://www.graphviz.org/download>`_
* the LaTeX packages *cm-super* and *dvipng* (if your OS bundles TeXLive, the
"complete" version of the installer, e.g. "texlive-full" or "texlive-all",
will often automatically include these packages)

Optional, but recommended:

* `Inkscape <https://inkscape.org>`_
* `optipng <http://optipng.sourceforge.net>`_
* the font "Humor Sans" (aka the "XKCD" font), or the free alternative
`Comic Neue <http://comicneue.com/>`_.
* the font "Times New Roman"
* `Inkscape <https://inkscape.org>`_
* `optipng <http://optipng.sourceforge.net>`_
* the font "Humor Sans" (aka the "XKCD" font), or the free alternative
`Comic Neue <http://comicneue.com/>`_
* the font "Times New Roman"

.. note::

The documentation will not build without LaTeX and Graphviz. These are not
Python packages and must be installed separately. The documentation can be
built without Inkscape and optipng, but the build process will raise various
warnings. If the build process warns that you are missing fonts, make sure
your LaTeX distribution bundles cm-super or install it separately.
your LaTeX distribution bundles cm-super or install it separately.
8 changes: 4 additions & 4 deletions tutorials/text/usetex.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,13 @@

* On Ubuntu and Gentoo, the base texlive install does not ship with
the type1cm package. You may need to install some of the extra
packages to get all the goodies that come bundled with other latex
packages to get all the goodies that come bundled with other LaTeX
distributions.

* Some progress has been made so matplotlib uses the dvi files
directly for text layout. This allows latex to be used for text
* Some progress has been made so Matplotlib uses the dvi files
directly for text layout. This allows LaTeX to be used for text
layout with the pdf and svg backends, as well as the \*Agg and PS
backends. In the future, a latex installation may be the only
backends. In the future, a LaTeX installation may be the only
external dependency.

.. _usetex-troubleshooting:
Expand Down
0