File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
crazy_functions/latex_fns Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -373,7 +373,7 @@ def check_if_need_xelatex(tex_path):
373
373
# 根据编译器类型返回编译命令
374
374
def get_compile_command (compiler , filename ):
375
375
compile_command = f'{ compiler } -interaction=batchmode -file-line-error { filename } .tex'
376
- logger .info ('Latex 编译指令: ' , compile_command )
376
+ logger .info ('Latex 编译指令: ' + compile_command )
377
377
return compile_command
378
378
379
379
# 确定使用的编译器
Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ FROM fuqingxu/11.3.1-runtime-ubuntu20.04-with-texlive:latest
5
5
6
6
# edge-tts需要的依赖,某些pip包所需的依赖
7
7
RUN apt update && apt install ffmpeg build-essential -y
8
+ RUN apt-get install -y fontconfig
9
+ RUN ln -s /usr/local/texlive/2023/texmf-dist/fonts/truetype /usr/share/fonts/truetype/texlive
10
+ RUN fc-cache -fv
8
11
RUN apt-get clean
9
12
10
13
# use python3 as the system default python
You can’t perform that action at this time.
0 commit comments