make latex to pdf export work for bibtex
This commit is contained in:
parent
54f8b5330d
commit
4797848a1d
16
conf.org
16
conf.org
|
@ -694,9 +694,15 @@ Capture should show up in the bottom of any currently active buffer
|
||||||
(advice-add #'org-mks :around #'nd/org-capture-window-advice)
|
(advice-add #'org-mks :around #'nd/org-capture-window-advice)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** latex
|
** latex
|
||||||
|
The default is XHTML for some reason (which few use and makes certain barbaric word processors complain). Use the much-superior html5.
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(setq org-html-doctype "html5")
|
(setq org-html-doctype "html5")
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
Need to export the bibliography when using org mode. Use =latexmk= instead of =pdflatex= because it is better at handling this.
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(setq org-latex-pdf-process (list "latexmk -shell-escape -bibtex -f -pdf %f"))
|
||||||
|
#+END_SRC
|
||||||
** gtd implementation
|
** gtd implementation
|
||||||
*** todo states
|
*** todo states
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
@ -2032,16 +2038,16 @@ By default mu4e adds breaks after 80-ish chars using auto-fill-mode which makes
|
||||||
:ensure t
|
:ensure t
|
||||||
:after org
|
:after org
|
||||||
:config
|
:config
|
||||||
(setq reftex-default-bibliography "~/BibTeX/master.bib"
|
(setq reftex-default-bibliography (expand-file-name "~/BibTeX/master.bib")
|
||||||
org-ref-bibliography-notes "~/BibTeX/notes.org"
|
org-ref-bibliography-notes (expand-file-name "~/BibTeX/notes.org")
|
||||||
org-ref-default-bibliography "~/BibTeX/master.bib"))
|
org-ref-default-bibliography (expand-file-name "~/BibTeX/master.bib")))
|
||||||
|
|
||||||
(use-package helm-bibtex
|
(use-package helm-bibtex
|
||||||
:ensure t
|
:ensure t
|
||||||
:after helm
|
:after helm
|
||||||
:config
|
:config
|
||||||
(setq bibtex-completion-bibliography "~/BibTeX/master.bib"
|
(setq bibtex-completion-bibliography (expand-file-name "~/BibTeX/master.bib")
|
||||||
bibtex-completion-library-path "~/BibTeX/pdf"
|
bibtex-completion-library-path (expand-file-name "~/BibTeX/pdf")
|
||||||
bibtex-completion-pdf-field "File"))
|
bibtex-completion-pdf-field "File"))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** shell
|
** shell
|
||||||
|
|
Loading…
Reference in New Issue