-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Need to re-implement custom LaTeX related methods for current config system. #199
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
Comments
That's bad. I remember having had a discussion with @leotrs about it in the chat....(searching)...on June 4th. It ended with Leo saying
I am currently away, so I won't be able to look into it before more or less the end of July. It might take me some time to dive into the new structures put in place with #98. I would appreciate if @leotrs could have a look. |
At the top of the
There shouldn't be a usage that intentionally fails in the examples folder. May I ask one of @Aathish04 @PhilippImhof to write a test for this instead? (A test that checks that the right exception is thrown.) If you need help, ask @huguesdevimeux. Once the test is merged, please remove this usage from this file.
This works for me with the latest master from today. I can do either
This required a single line change, from Now both seem to work for me. Just pushed my changes. Please pull and confirm, or let me know if I missed anything. |
First of all: Thank you very much for the changes. I have yet to familiarize myself with the new (and improved) structures.
I do not fully agree: People might see the file and try to call run it that way, e.g. run I suggest rewording the text along the lines of: call What do you think? |
The thing is that this should be documented in the documentation, not in the examples file. For now, since there is no central documentation, I'd suggest at least changing the name of the class from
|
Demo time: Like I have done previously for 3b1bmanim, I have added support in manimcommunity for all tex fonts. code to include is here: code together with example scene that renders the above video is here: |
@cobordism |
As of now, both
ExampleClassScene
andExampleFileScene
inexample_scenes/customtex.py
fail, throwing aLaTex error converting to DVI
each time.I believe this is because of the removal of
register_tex_template
andinitialize_tex
fromconfig.py
when the config system was revamped.These methods need to be reimplemented, and
customtex.py
needs to be edited accordingly to fit the new config system.Mentioning @leotrs since he rewrote config.
Mentioning @PhilippImhof and @cobordism for the LaTeX part.
The text was updated successfully, but these errors were encountered: