mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
fix bugs on Windows and ctex
This commit is contained in:
parent
38b293c204
commit
23af9c6c9c
2 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ def initialize_directories(config):
|
||||||
"Dropbox (3Blue1Brown)/3Blue1Brown Team Folder"
|
"Dropbox (3Blue1Brown)/3Blue1Brown Team Folder"
|
||||||
)
|
)
|
||||||
if not os.path.isdir(MEDIA_DIR):
|
if not os.path.isdir(MEDIA_DIR):
|
||||||
MEDIA_DIR = "./media"
|
MEDIA_DIR = os.path.join(os.getcwd(), "media")
|
||||||
print(
|
print(
|
||||||
f"Media will be written to {MEDIA_DIR + os.sep}. You can change "
|
f"Media will be written to {MEDIA_DIR + os.sep}. You can change "
|
||||||
"this behavior with the --media_dir flag."
|
"this behavior with the --media_dir flag."
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
\documentclass[preview]{standalone}
|
\documentclass[preview]{standalone}
|
||||||
|
\usepackage[UTF8]{ctex}
|
||||||
|
|
||||||
\usepackage[english]{babel}
|
\usepackage[english]{babel}
|
||||||
\usepackage{amsmath}
|
\usepackage{amsmath}
|
||||||
|
@ -16,7 +17,6 @@
|
||||||
\usepackage{xcolor}
|
\usepackage{xcolor}
|
||||||
\usepackage{microtype}
|
\usepackage{microtype}
|
||||||
%\DisableLigatures{encoding = *, family = * }
|
%\DisableLigatures{encoding = *, family = * }
|
||||||
\usepackage[UTF8]{ctex}
|
|
||||||
\linespread{1}
|
\linespread{1}
|
||||||
|
|
||||||
\begin{document}
|
\begin{document}
|
||||||
|
|
Loading…
Add table
Reference in a new issue