mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2024-07-18 08:53:47 +02:00
Fixed doc creation
This commit is contained in:
parent
0f15844bf3
commit
dca597a3ab
@ -2,9 +2,36 @@
|
|||||||
;; https://emacs.stackexchange.com/questions/38437/org-mode-batch-export-missing-syntax-highlighting
|
;; https://emacs.stackexchange.com/questions/38437/org-mode-batch-export-missing-syntax-highlighting
|
||||||
|
|
||||||
(package-initialize)
|
(package-initialize)
|
||||||
|
(add-to-list 'package-archives
|
||||||
|
'("gnu" . "https://elpa.gnu.org/packages/"))
|
||||||
|
(add-to-list 'package-archives
|
||||||
|
'("melpa-stable" . "https://stable.melpa.org/packages/"))
|
||||||
|
(add-to-list 'package-archives
|
||||||
|
'("melpa" . "https://melpa.org/packages/"))
|
||||||
|
(setq package-archive-priorities '(("melpa-stable" . 100)
|
||||||
|
("melpa" . 50)
|
||||||
|
("gnu" . 10)))
|
||||||
|
|
||||||
|
|
||||||
(require 'htmlize)
|
(require 'htmlize)
|
||||||
(require 'font-lock)
|
(require 'font-lock)
|
||||||
(require 'subr-x) ;; for `when-let'
|
(require 'subr-x) ;; for `when-let'
|
||||||
|
(setq org-confirm-babel-evaluate nil)
|
||||||
|
(global-font-lock-mode t)
|
||||||
|
|
||||||
|
(org-babel-do-load-languages
|
||||||
|
'org-babel-load-languages
|
||||||
|
'(
|
||||||
|
(emacs-lisp . t)
|
||||||
|
(shell . t)
|
||||||
|
(python . t)
|
||||||
|
(C . t)
|
||||||
|
(org . t)
|
||||||
|
(makefile . t)
|
||||||
|
))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
(unless (boundp 'maximal-integer)
|
(unless (boundp 'maximal-integer)
|
||||||
(defconst maximal-integer (lsh -1 -1)
|
(defconst maximal-integer (lsh -1 -1)
|
||||||
|
@ -30,7 +30,6 @@ cd $TMPDIR
|
|||||||
emacs --batch \
|
emacs --batch \
|
||||||
--load ${QMCKL_ROOT}/docs/htmlize.el \
|
--load ${QMCKL_ROOT}/docs/htmlize.el \
|
||||||
--load ${QMCKL_ROOT}/docs/config.el \
|
--load ${QMCKL_ROOT}/docs/config.el \
|
||||||
--load ${QMCKL_ROOT}/tools/init.el \
|
|
||||||
$INPUT -f org-html-export-to-html
|
$INPUT -f org-html-export-to-html
|
||||||
|
|
||||||
if [[ $? -eq 0 ]]
|
if [[ $? -eq 0 ]]
|
||||||
|
Loading…
Reference in New Issue
Block a user