Skip to content

Commit 97de346

Browse files
authored
docs: add manim latex chocolatey package (#490)
* docs: add manim latex chocolatey package * docs: typo
1 parent b711ec5 commit 97de346

File tree

1 file changed

+17
-21
lines changed

1 file changed

+17
-21
lines changed

docs/source/installation/win.rst

Lines changed: 17 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,23 @@ Sox installation (optional)
7777

7878
LaTeX Installation
7979
******************
80-
You can install latex by either of the two methods below. MiKTex is very large (2 GB) while TinyTex is small (500Mb).
80+
You can install latex by either of the two methods below. MiKTex is very large (2 GB) while ManimLaTeX is small (500Mb).
81+
82+
Using a custom distribution for Manim based on Texlive
83+
------------------------------------------------------
84+
85+
This is the smallest latex distribution just enough to run Manim. Extra latex packages for fonts can be
86+
installed using ``tlmgr``. See https://www.tug.org/texlive/tlmgr.html for more information.
87+
88+
1. Install chocolatey if you haven't already.
89+
90+
2. Run the following command
91+
92+
.. code-block:: powershell
93+
94+
choco install manim-latex
95+
96+
3. Finally, check whether it installed properly by running an example scene.
8197

8298
Using MiKTex
8399
------------
@@ -92,26 +108,6 @@ Using MiKTex
92108
2. You can check if you did it right by running ``refreshenv`` to update your
93109
environment variable and running ``latex``.
94110

95-
Using TinyTex
96-
-------------
97-
98-
1. Save the batch file `install-windows.bat
99-
<https://yihui.org/gh/tinytex/tools/install-windows.bat>`_. (open this link and press Ctrl + S).
100-
101-
.. note:: Please note that it requires PowerShell (at least version 3.0).
102-
103-
2. Double click the file and it opens a command prompt. There might be an error
104-
dialog or two about ``luatex.dll`` during the installation `(like this)
105-
<https://db.yihui.org/images/install-tl-win-lua.png>`_, but that does not seem to hurt, and click “OK”. The installation directory is ``%APPDATA%/TinyTeX``, where APPDATA is an environment variable that typically points to the path ``C:\Users\Your Name\AppData\Roaming``
106-
107-
3.Finally, close the terminal and open a new one and type the below commands.
108-
109-
.. code-block:: bash
110-
111-
tlmgr install standalone preview doublestroke ms setspace rsfs relsize ragged2e fundus-calligra microtype wasysym physics dvisvgm jknapltx wasy cm-super babel-english
112-
113-
4. Finally, check whether it installed properly by running an example scene.
114-
115111
Certifying a clean install
116112
**************************
117113

0 commit comments

Comments
 (0)