xelatex -interaction=nonstopmode -output-driver='xdvipdfmx -z3' main.tex