-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Replace miktex with pylatex #23
Comments
I don't think this will be possible or desired. It seems to me that PyLaTeX does not have support for the packages that manim imports. Regardless, MikTeX is of manageable size; TeXLive is the issue. However, it is quite hard to replace it for our purposes. |
Am I wrong in thinking that a majority of potential users of manim (who are, presumably, knowledgeable in math), already have some sort of latex distribution on their machines and thus would not care about texlive? |
Probably (this was my case at least; already had it installed) |
Fair. So if we want to use LaTeX, we will depend on a LaTeX distribution, such as TeXLive. So there is literally nothing to be done here it seems? |
For now, seems like it, yes If there's something we can do, is make such installation optional, that way users can restrict themselves to Text if needed |
Yes. It seems any LaTeX distribution will work, as long as certain package requirements are fulfilled. |
I'm all for small latex distributions, as long as we can guarantee that they are installable in Windows/MacOS/Linux. Also, very much agree that LaTeX should be optional. This should go in the README somewhere. |
Okay: I've been using BasicTeX on MacOS for almost the entire time I've been using Manim on MacOS and it works flawlessly, except for a few missing packages here or there that were manually installed. @eulertour 's website has a documentation page that shows install instructions for Linux.
Which seem to be enough for Manim. IMHO, MiKTeX is the best LaTeX distro on Windows for now, as it is the only one with truly automated on the fly package installations. |
@leotrs Unfortunately, many people who are new to Manim haven't even used the command line before. (Source: past and some current GitHub issues in the 3blue1brown/manim repo) |
After some investigation of the PyLaTeX repo, you'd still have to have a LaTeX compiler installed on your machine. It looks like PyLaTeX is just a way of communicating, not necessarily compiling LaTeX without any external dependencies. Edit: source JelteF/PyLaTeX#278 |
Yeah that's fair. I think there's a deeper debate here about what is the target audience of manim. I would love to encourage people with zero technical background to create math videos and content, but at this stage that seems near impossible. |
What about this: #24 (comment) For those who don’t want to install LaTeX, maybe it is a good choice to use online rendering. |
@tony031218 I was thinking about that, but then you'd have to have an internet connection every time you want to render a new LaTeX document. But if we do go with server-side rendering, there is this: |
Indeed, this would require a ton of requests (one for each TexMobject!), plus people would end up installing BasicTeX or similar simply out of convenience. |
I think this thread went on a tangent for a bit (I think I derailed it?) My current understanding of the "can we replace miktex" issue is: no, unless we make requests to a private server. I think making requests a private server would be very very very bad design. Not to mention the requirement of internet an connection. |
I think we can close this issue in favor of #24 or smth |
Agreed. |
This would reduce the number of non-python dependencies (i.e. packages that cannot be installed via pip and therefore could cause problems during manual installation).
Anyone wants to volunteer?
The text was updated successfully, but these errors were encountered: