diff --git a/manimlib/constants.py b/manimlib/constants.py index 005bc31c..a1a01e06 100644 --- a/manimlib/constants.py +++ b/manimlib/constants.py @@ -29,7 +29,7 @@ def initialize_directories(config): "Dropbox (3Blue1Brown)/3Blue1Brown Team Folder" ) if not os.path.isdir(MEDIA_DIR): - MEDIA_DIR = "./media" + MEDIA_DIR = os.path.join(os.getcwd(), "media") print( f"Media will be written to {MEDIA_DIR + os.sep}. You can change " "this behavior with the --media_dir flag." diff --git a/manimlib/ctex_template.tex b/manimlib/ctex_template.tex index 41edd968..016bc3cc 100644 --- a/manimlib/ctex_template.tex +++ b/manimlib/ctex_template.tex @@ -1,4 +1,5 @@ \documentclass[preview]{standalone} +\usepackage[UTF8]{ctex} \usepackage[english]{babel} \usepackage{amsmath} @@ -16,7 +17,6 @@ \usepackage{xcolor} \usepackage{microtype} %\DisableLigatures{encoding = *, family = * } -\usepackage[UTF8]{ctex} \linespread{1} \begin{document}