Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Add TinyTex installation instructions (#1239)

sparshg64cbcd525624
diff --git a/docs/source/installation/linux.rst b/docs/source/installation/linux.rst
index 4be06abbe..8e53f8ac9 100644
--- a/docs/source/installation/linux.rst
+++ b/docs/source/installation/linux.rst
@@ -39,6 +39,7 @@ To install ffmpeg:
sudo apt install ffmpeg
To install LaTeX:
+(For minimal LaTeX installation, see `TinyTex Installation`_)
.. code-block:: bash
@@ -87,6 +88,7 @@ Install python development headers in order to successfully build pycairo wheel:
sudo dnf install python3-devel
To install LaTeX:
+(For minimal LaTeX installation, see `TinyTex Installation`_)
.. code-block:: bash
@@ -121,6 +123,7 @@ To install ffmpeg:
sudo pacman -S ffmpeg
To install LaTeX:
+(For minimal LaTeX installation, see `TinyTex Installation`_)
.. code-block:: bash
@@ -137,6 +140,23 @@ If you don't have python-pip installed, install it:
distributions or distributions that use the ``pacman`` package
manager.
+TinyTex Installation
+********************
+
+If you do not want to install full LaTeX (~2GB), you can install TinyTex (~500MB)
+and some extra packages for a minimal LaTeX installation. This is what done for
+choco ``manim-latex`` package for Windows.
+
+Install `TinyTex`_ and make sure to add ``bin`` folder created in your home
+directory to your ``PATH``.
+
+For extra packages, see "Files > tools\chocolateyinstall.ps1" `here`_ and
+find ``tlmgr install ...`` command. Run that in terminal and
+finally ``tlmgr path add`` to add all the symlinks correctly.
+
+.. _TinyTex: https://yihui.org/tinytex/#for-other-users
+.. _here: https://community.chocolatey.org/packages/manim-latex#files
+
Certifying a clean install
**************************