added citation framework
This commit is contained in:
parent
7e1fc08214
commit
0d247f46c2
2 changed files with 7 additions and 0 deletions
|
@ -4,6 +4,9 @@
|
|||
rm -rf ./public/exocortex-hugo-md/public/*
|
||||
rm -rf ./public/exocortex-hugo-md/content/
|
||||
|
||||
# sync bibtex references
|
||||
rsync -avi ~/projects/thought_garden/References.bib ./public/exocortex-hugo-md/References.bib
|
||||
|
||||
# create hugo md files using ox-hugo
|
||||
emacs -Q --batch -l ox-hugo-exocortex.el
|
||||
|
||||
|
|
|
@ -29,6 +29,10 @@
|
|||
)
|
||||
(setq org-roam-directory "~/projects/thought_garden/")
|
||||
|
||||
;; See https://ox-hugo.scripter.co/doc/org-cite-citations/
|
||||
(with-eval-after-load 'ox-hugo
|
||||
(plist-put org-hugo-citations-plist :bibliography-section-heading "Bibliography"))
|
||||
|
||||
;; modified this function from https://github.com/kaushalmodi/ox-hugo/discussions/585#discussioncomment-2335203
|
||||
(defun ox-hugo/export-all (&optional org-files-root-dir dont-recurse)
|
||||
"Export all Org files (including nested) under ORG-FILES-ROOT-DIR.
|
||||
|
|
Loading…
Add table
Reference in a new issue