Configureable paths for FFmpeg/LaTeX #2810
naveen521kk
started this conversation in
Suggestions and Proposals
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description of proposed feature
Currently, manim looks in
$PATH
for finding FFmpeg or LaTeX executables and invokes them. Sometimes a wrong executable is executed and people complain something isn't working and ask for help. With this feature, if the paths for FFmpeg/LaTeX aren't set in the config file, manim should interactively ask for whether it can use the executables it finds in$PATH
or ask them to enter the path of the executable.How can the new feature be used?
One can set
ffmpeg_path
in config file likeand Manim will always execute the
config.ffmpeg_path
instead of finding it from$PATH
.Something similar should exist for LaTeX also
and Manim would do the same. The difference from FFmpeg is for other executable and engines (like
dvisvgm
), it should look forPath(config.latex_path).parent / '<executable_name>'
. This should avoid the issue where people usetinytex
but dvisvgm is installed using apt (a very common issue I have seen in the installation-help channel).Beta Was this translation helpful? Give feedback.
All reactions