Closed astecker closed 3 years ago
I do not have Texlive 2021 in my repositories, however I was able to reproduce that in Texlive 2020 as well. Your problem is related to argument escaping. You need to do a little change in your code and remove the unnecessary quotes. In your case, the correct line would be:
:arguments => ['-etex', '-shell-escape', '-interaction=batchmode', '-output-driver=xdvipdfmx -i dvipdfmx-unsafe.cfg -q -E'],
Please, let me know if that helps.
that works! thank you very much. i copied the line with the " over from the texlive bug list and thought those ".." maybe needed to keep it together as one parameter, not interpreting the following -i as a parameter to the xelatex call. but what do i know :)
switching to Textlive 2021 i had to add the parameter -output-driver="xdvipdfmx -i dvipdfmx-unsafe.cfg -q -E" to my xelatex call. (https://www.tug.org/texlive/bugs.html , dvipdfmx)
while this testrun on the console works:
xelatex -etex -shell-escape -interaction=batchmode -output-driver="xdvipdfmx -i dvipdfmx-unsafe.cfg -E" eti2.tex
changing my rails-latex config to
results in the following error:
the produced log file is incomplete (looks like it aborted in the middle of the run). running with the -output-driver parameter seems to omit the output on the console as well. maybe gets forked or something?