diff --git a/lisp/org-html.el b/lisp/org-html.el index 5cecc44a2..1ec0045a0 100644 --- a/lisp/org-html.el +++ b/lisp/org-html.el @@ -653,6 +653,11 @@ postamble DIV." (string :tag " Div for the content:") (string :tag "Div for the postamble:"))) +(defvar org-export-html-date-format-string "%Y-%m-%dT%R%z" + "The string used to format date and time. + +Default is an extended format of the ISO 8601 specification.") + ;;; Hooks (defvar org-export-html-after-blockquotes-hook nil @@ -1285,7 +1290,7 @@ PUB-DIR is set, use this as the publishing directory." ((and date (string-match "%" date)) (setq date (format-time-string date))) (date) - (t (setq date (format-time-string "%Y-%m-%d %T %Z")))) + (t (setq date (format-time-string org-export-html-date-format-string)))) ;; Get the language-dependent settings (setq lang-words (or (assoc language org-export-language-setup) diff --git a/lisp/org-latex.el b/lisp/org-latex.el index 1d71e4b02..509f785c5 100644 --- a/lisp/org-latex.el +++ b/lisp/org-latex.el @@ -671,6 +671,18 @@ This function should accept the file name as its single argument." "bibtex %b" "pdflatex -interaction nonstopmode -output-directory %o %f" "pdflatex -interaction nonstopmode -output-directory %o %f")) + (const :tag "2 runs of xelatex" + ("xelatex -interaction nonstopmode -output-directory %o %f" + "xelatex -interaction nonstopmode -output-directory %o %f")) + (const :tag "3 runs of xelatex" + ("xelatex -interaction nonstopmode -output-directory %o %f" + "xelatex -interaction nonstopmode -output-directory %o %f" + "xelatex -interaction nonstopmode -output-directory %o %f")) + (const :tag "xelatex,bibtex,xelatex,xelatex" + ("xelatex -interaction nonstopmode -output-directory %o %f" + "bibtex %b" + "xelatex -interaction nonstopmode -output-directory %o %f" + "xelatex -interaction nonstopmode -output-directory %o %f")) (const :tag "texi2dvi" ("texi2dvi -p -b -c -V %f")) (const :tag "rubber"