summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorROUVREAU Vincent <vincent.rouvreau@inria.fr>2020-08-03 10:48:08 +0200
committerROUVREAU Vincent <vincent.rouvreau@inria.fr>2020-08-03 10:48:08 +0200
commit9b52376e57c784838d07e15343e2a9194aad84cc (patch)
tree602daf7278d9fccea1f0a4232d5f9d09bfb3aff0
parentd9d4bf2ef2c2676389cca4ce4e6595ca2e4ca0b1 (diff)
doc review: specify the error and indicate what to install on Ubuntu
-rw-r--r--src/python/doc/persistence_graphical_tools_user.rst16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/python/doc/persistence_graphical_tools_user.rst b/src/python/doc/persistence_graphical_tools_user.rst
index 5cdc2dca..9954058d 100644
--- a/src/python/doc/persistence_graphical_tools_user.rst
+++ b/src/python/doc/persistence_graphical_tools_user.rst
@@ -98,7 +98,21 @@ By default, persistence graphical tools are using LaTeX support for matplotlib i
`matplotlib text rendering with LaTeX <https://matplotlib.org/3.3.0/tutorials/text/usetex.html>`_).
It also requires `type1cm` LaTeX package (not detected by matplotlib).
-If you are facing issues with LaTeX rendering, you can still deactivate LaTeX rendering by saying:
+If you are facing issues with LaTeX rendering, like this one:
+
+.. code-block:: none
+
+ Traceback (most recent call last):
+ File "/usr/lib/python3/dist-packages/matplotlib/texmanager.py", line 302, in _run_checked_subprocess
+ report = subprocess.check_output(command,
+ ...
+ ! LaTeX Error: File `type1cm.sty' not found.
+ ...
+
+This is because the LaTeX package is not installed on your system. On Ubuntu systems you can install texlive-full
+(for all LaTeX packages), or more specific packages like texlive-latex-extra, cm-super.
+
+You can still deactivate LaTeX rendering by saying:
.. code-block:: python