运行报错,提示少 expl3 这个包
MIktex package manager里还检索不到,逼得我都去下载Texkive了,
准备试试看手动下载这个包,在CTAN上能够检索到expl3.
点击下载发现文件名不是 expl3,而是l3kernel,遂尝试在miktex package manager检索
果然有!安装之,再此点运行。后面就顺畅了,miktex会自动下载其他缺失的包。
miktex 可能会连不上国外的repository,可以将repository设置为国内的镜像
百度一下:XX大学CTAN镜像站,ctrl+c 地址
比如清华的http://mirrors.zju.edu.cn/CTAN/systems/win32/miktex/tm/packages/
在cmd里输入 mpm.exe --set-repository=http://mirrors.zju.edu.cn/CTAN/systems/win32/miktex/tm/packages/
完事。
https://blog.csdn.net/w_chaoqi/article/details/80872950
https://blog.csdn.net/u010270086/article/details/78993883?utm_source=blogxgwz0
TeXworks 配置: