Commit graph

30 commits

Author SHA1 Message Date
Grant Sanderson
5c0232a5e0 Have LatexError show line of error and the next line
This is where undefined control sequence errors will show up.
2022-12-19 16:20:19 -08:00
Grant Sanderson
ab470c3ee5 Move display_during_exection associated with Latex rendering
Only have it display when a new SVG is being written
2022-12-19 16:19:43 -08:00
YishiMichael
4dfe8aff86
refactor: refactor StringMobject 2022-08-22 21:52:48 +08:00
YishiMichael
19c757ec90
refactor: refactor StringMobject 2022-08-20 13:01:59 +08:00
YishiMichael
bc939fdd5b
Rename font to template 2022-05-28 23:18:56 +08:00
YishiMichael
3faa21cadd
Add blank template 2022-05-28 22:44:30 +08:00
YishiMichael
bf530db2ed
Add ctex_basic template 2022-05-28 22:01:36 +08:00
YishiMichael
f0447d7739
Small refactors on StringMobject and relevant classes 2022-05-28 21:43:37 +08:00
YishiMichael
9386461d27
Add font attribute for Tex 2022-05-22 23:47:45 +08:00
YishiMichael
f0984487ea
Construct TexTemplate class to convert tex to svg 2022-05-21 15:56:03 +08:00
Grant Sanderson
d24b8ff48f
Merge branch 'master' into master 2022-04-20 22:40:11 -07:00
Grant Sanderson
4f2e3456e2 Raise Specific exception type when running into latex errors 2022-04-20 21:53:05 -07:00
YishiMichael
0406ef70bb
Adjust typings for sounds.py and tex_file_writing.py 2022-04-16 14:37:28 +08:00
YishiMichael
9ef9961d0e
Sort imports 2022-04-12 19:19:59 +08:00
YishiMichael
e879da32d5
Specify UTF-8 encoding for tex files (#1748) 2022-02-17 19:09:55 +08:00
YishiMichael
8cac16b452
Update display_during_execution 2022-02-15 21:59:09 +08:00
YishiMichael
3756605a45
Update display_during_execution 2022-02-15 20:55:44 +08:00
TonyCrane
7425057d9f use rich to log 2021-10-07 17:37:10 +08:00
Tony031218
00fe33957c rename custom_defaults -> custom_config defaults -> default_config 2021-02-07 21:38:19 +08:00
Grant Sanderson
42a3c56898 Limit how much is shown in display_during_execution 2021-01-07 16:37:01 -08:00
Grant Sanderson
e5c79cbb90 Directly cache svg file instead of tex, and don't store superfluous files associated with tex rendering 2021-01-03 11:29:09 -08:00
Grant Sanderson
7b3f4d08f5 Replace the progress bar with a simple display of what's being written which then gets deleted 2021-01-02 21:32:48 -08:00
Grant Sanderson
592432611b Remove all configuration from constants.py, and clean up the many files affected by this move 2021-01-02 20:47:51 -08:00
red5h4d0w
e72390bfc4
Update tex_file_writing.py 2019-06-17 15:40:03 -04:00
Grant Sanderson
2cbe19af7c Bug fix for the case when the media_dir has spaces 2019-06-13 16:15:43 -07:00
Devin Neal
f81c275631 make media, tex, and video directories configurable via flags 2019-06-04 20:51:18 -07:00
fwcd
dee8101991 Removed redundant import 2019-01-09 23:53:38 +01:00
fwcd
f48eb6d94e Made sure to always encode written TeX files as UTF-8 2019-01-09 23:44:59 +01:00
Thomas Zhu
47d8caa80e Use os.devnull instead of utils.tex_file_writing.get_null(); also small typos that cause SyntaxError (#382)
* Update tex_file_writing.py

* Change "/dev/null" to os.getnull in utils/sounds.py SoX "play" command

* Fix typo
2018-12-29 09:27:03 -08:00
Devin Neal
3543a750ba move library code into manimlib, replace relative imports with absolute imports 2018-12-26 20:57:01 -08:00
Renamed from utils/tex_file_writing.py (Browse further)