get Anki to work with xeLatex
up vote
0
down vote
favorite
I'm trying to get Anki to work with xeLatex.Currently, when I open a flashcard with latex on it I get:
Error executing convert.
Generated file: c:usersadmini~1appdatalocaltempanki_temptmp.tex
Have you installed latex and dvipng?
However, I have already installed Basic-miktex,and customize what Anki does with xeLatex by using the addon Edit LaTeX build process:
# XeLATX compliant setting
newLaTeX =
[
["xelatex", "-interaction=nonstopmode","c:\Users\Administrator\AppData\Local\Temp\anki_temp\tmp.tex"],
["convert", "c:\Users\Administrator\AppData\Local\Temp\anki_temp\tmp.pdf", "c:\Users\Administrator\AppData\Local\Temp\anki_temp\tmp.png"]
]
In fact, The tmp.pdf file is generated in the corresponding directory. It seems that I have to manually use the
'convert -trim -density 300 tmp.pdf tmp.png'
in the cmd window to complete the conversion.
So I need some help. Would anyone know how to make Anki work with xeLatex? Thanks for your help!
xetex
New contributor
add a comment |
up vote
0
down vote
favorite
I'm trying to get Anki to work with xeLatex.Currently, when I open a flashcard with latex on it I get:
Error executing convert.
Generated file: c:usersadmini~1appdatalocaltempanki_temptmp.tex
Have you installed latex and dvipng?
However, I have already installed Basic-miktex,and customize what Anki does with xeLatex by using the addon Edit LaTeX build process:
# XeLATX compliant setting
newLaTeX =
[
["xelatex", "-interaction=nonstopmode","c:\Users\Administrator\AppData\Local\Temp\anki_temp\tmp.tex"],
["convert", "c:\Users\Administrator\AppData\Local\Temp\anki_temp\tmp.pdf", "c:\Users\Administrator\AppData\Local\Temp\anki_temp\tmp.png"]
]
In fact, The tmp.pdf file is generated in the corresponding directory. It seems that I have to manually use the
'convert -trim -density 300 tmp.pdf tmp.png'
in the cmd window to complete the conversion.
So I need some help. Would anyone know how to make Anki work with xeLatex? Thanks for your help!
xetex
New contributor
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm trying to get Anki to work with xeLatex.Currently, when I open a flashcard with latex on it I get:
Error executing convert.
Generated file: c:usersadmini~1appdatalocaltempanki_temptmp.tex
Have you installed latex and dvipng?
However, I have already installed Basic-miktex,and customize what Anki does with xeLatex by using the addon Edit LaTeX build process:
# XeLATX compliant setting
newLaTeX =
[
["xelatex", "-interaction=nonstopmode","c:\Users\Administrator\AppData\Local\Temp\anki_temp\tmp.tex"],
["convert", "c:\Users\Administrator\AppData\Local\Temp\anki_temp\tmp.pdf", "c:\Users\Administrator\AppData\Local\Temp\anki_temp\tmp.png"]
]
In fact, The tmp.pdf file is generated in the corresponding directory. It seems that I have to manually use the
'convert -trim -density 300 tmp.pdf tmp.png'
in the cmd window to complete the conversion.
So I need some help. Would anyone know how to make Anki work with xeLatex? Thanks for your help!
xetex
New contributor
I'm trying to get Anki to work with xeLatex.Currently, when I open a flashcard with latex on it I get:
Error executing convert.
Generated file: c:usersadmini~1appdatalocaltempanki_temptmp.tex
Have you installed latex and dvipng?
However, I have already installed Basic-miktex,and customize what Anki does with xeLatex by using the addon Edit LaTeX build process:
# XeLATX compliant setting
newLaTeX =
[
["xelatex", "-interaction=nonstopmode","c:\Users\Administrator\AppData\Local\Temp\anki_temp\tmp.tex"],
["convert", "c:\Users\Administrator\AppData\Local\Temp\anki_temp\tmp.pdf", "c:\Users\Administrator\AppData\Local\Temp\anki_temp\tmp.png"]
]
In fact, The tmp.pdf file is generated in the corresponding directory. It seems that I have to manually use the
'convert -trim -density 300 tmp.pdf tmp.png'
in the cmd window to complete the conversion.
So I need some help. Would anyone know how to make Anki work with xeLatex? Thanks for your help!
xetex
xetex
New contributor
New contributor
New contributor
asked Nov 13 at 0:28
mcmxciv
133
133
New contributor
New contributor
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
mcmxciv is a new contributor. Be nice, and check out our Code of Conduct.
mcmxciv is a new contributor. Be nice, and check out our Code of Conduct.
mcmxciv is a new contributor. Be nice, and check out our Code of Conduct.
mcmxciv is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f459712%2fget-anki-to-work-with-xelatex%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown