                (and tags
                     (format "\\hfill{}\\textsc{%s}"
                             (mapconcat (lambda (tag) (org-latex-plain-text tag info))
-                                       tags ":")))))
-
-            ;; `-shell-escape' is required when converting a .tex file
-            ;; containing `minted' package to a .pdf
-
-            ;; Run pdflatex multiple times to get the cross-references right
-            ;; (setq org-latex-pdf-process '("pdflatex -shell-escape %f"
-            ;;                               "pdflatex -shell-escape %f"
-            ;;                               "pdflatex -shell-escape %f"))
-
-            ;; http://orgmode.org/worg/org-faq.html#using-xelatex-for-pdf-export
-            ;; latexmk runs pdflatex/xelatex (whatever is specified) multiple times
-            ;; automatically to resolve the cross-references.
-            ;; (setq org-latex-pdf-process '("latexmk -xelatex -quiet -shell-escape -f %f"))
-
-            ;; Run xelatex multiple times to get the cross-references right
-            (setq org-latex-pdf-process '("xelatex -shell-escape %f"
-                                          "xelatex -shell-escape %f"
-                                          "xelatex -shell-escape %f"
-                                          "xelatex -shell-escape %f"))))
+                                       tags ":")))))))
 
 ;;;; ox-html - HTML export
         (use-package ox-html

                ;; (add-to-list 'org-latex-packages-alist '("" "color"))
                ))

            ;; Override `org-latex-format-headline-default-function' definition
            ;; so that the TODO keyword in TODO marked headings is exported in
            ;; bold red.

    ;; Allow _ and ^ characters to sub/super-script strings but only when
    ;; string is wrapped in braces
    (setq org-use-sub-superscripts         '{}) ; in-buffer rendering

    ;; Single key command execution when at beginning of a headline
    (setq org-use-speed-commands t) ; ? speed-key opens Speed Keys help
