Comments (1)
问题解决了,就是在Texstudio中编译时候,在xelatex 后面要加上“-shell-escape”(单纯在后面加上这个参数没有用,必须放在所有其它参数前面,并且多加个‘-’才行,不知道为什么。)。我把这个参数放在所有参数最前面“--shell-escape”并且多加了一个“-”号,就可以成功编译。
同时我用vim,利用vimtex插件,在.vimrc中下面的参数中
let g:vimtex_compiler_latexmk = {
\ 'build_dir' : '',
\ 'callback' : 1,
\ 'continuous' : 1,
\ 'executable' : 'latexmk',
\ 'hooks' : [],
\ 'options' : [
\ '-verbose',
\ '-file-line-error',
\ '-synctex=1',
\ '-interaction=nonstopmode',
\ '-shell-escape'
\ ],
}
也加上 '-shell-escape'这条就可以在vim里面直接编译了。
估计不加上这个参数,就没法调用pygmentize。
谢谢!
from latex-document.
Related Issues (5)
- 欢迎在这里提交模板问题 ! HOT 8
- 矩阵虚线问题
- 新手踩坑【已解决】 HOT 3
- 编译时出现如下问题
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from latex-document.