             (defvar modi/ox-latex-use-minted t
               "Use `minted' package for listings.")
 
+            (setq org-latex-compiler "xelatex") ; introduced in org 9.0
+
             (setq org-latex-prefer-user-labels t) ; org-mode version 8.3+
 
             ;; ox-latex patches

            ;; Below will output tex files with
            ;;   \usepackage[FIRST STRING IF NON-EMPTY]{SECOND STRING}
            ;; The org-latex-packages-alist is a list of cells of the format:
            ;;   ("options" "package" SNIPPET-FLAG)
            ;; SNIPPET-FLAG is non-nil by default. So unless this flag is set
            ;; to nil, that package will be used even when previewing latex
            ;; fragments using the `C-c C-x C-l' binding
            (setq org-latex-packages-alist
                  '(
                    ;; % 0 paragraph indent, adds vertical space between paragraphs

            ;; automatically to resolve the cross-references.
            ;; (setq org-latex-pdf-process '("latexmk -xelatex -quiet -shell-escape -f %f"))

            ;; Below value of `org-latex-pdf-process' with %latex will work in org 9.0+
            ;; (setq org-latex-pdf-process
            ;;       ;; `-shell-escape' is required when using the `minted' package
            ;;       '("%latex -interaction nonstopmode -shell-escape -output-directory %o %f"
