I have a .tex file that needs to use xelatex to process as there are CJK characters. Launching xelatex however triggered pdflatex first before an error showed up, saying XeTeX is needed and then xelatex was run. Below is shown in the message panel:
Process started: pdflatex.exe -synctex=1 -interaction=nonstopmode "all".tex
Process exited with error(s)
Process started: xelatex.exe -synctex=1 -interaction=nonstopmode "all".tex
...
Can you try whether that happens if options/build/check and update bibliography before compiling is disabled ?
Last edit: Jan Sundermeyer 2017-01-16
Last edit: Jinzhong Niu 2017-01-16
Yes. Disabling that option will fix it. But how this option is related? Is pdflatex used all the time to do the checking and update? I don't recall any issue like this with much earlier versions.
because of a bug, biber/biblatex is always executed and supposedly pdflatex then as well.
is the default compiler set to xelatex ?
No. I still use pdflatex the most. But I do expect both pdflatex and xelatex work without changing anything in the default configuration.
they do, but recompiling for biblatex uses the default compiler. That is how pdflatex is called ...
That's exactly what caused the problem reported here. Instead of using the default compiler, the 'current' compiler should be used. The current implemtation may help pdflatex users a lot, but confuses and gives headache to users of other compilers. You may not want to do that.
the current work flow assumes that a default compiler is used.
A change of this would require major changes in the code.
You can post that wish as a feature request.