mirror of
https://github.com/3b1b/manim.git
synced 2025-08-02 19:46:21 +08:00
fix bugs on Windows and ctex
This commit is contained in:
@ -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."
|
||||
|
@ -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}
|
||||
|
Reference in New Issue
Block a user