updating org stuff with bibtex support

This commit is contained in:
Kyle Isom 2025-04-26 15:30:18 -07:00
parent 4db794541f
commit 8e4a460d2d
3 changed files with 13 additions and 9 deletions

View File

@ -11,6 +11,7 @@
'(ag
auto-complete
c-eldoc
ebib
ellama
elpy
exec-path-from-shell

11
init.el
View File

@ -260,13 +260,8 @@ present on disk."
'(ellama-sessions-directory (cache-path "ellama-sessions"))
'(global-font-lock-mode t)
'(org-html-mathjax-template
"<script>\12 window.MathJax = {\12 loader: {load: ['[tex]/physics']},\12 tex: {\12 ams: {\12 multlineWidth: '%MULTLINEWIDTH'\12 },\12 packages: {'[+]': ['physics']},\12 tags: '%TAGS',\12 tagSide: '%TAGSIDE',\12 tagIndent: '%TAGINDENT'\12 },\12 chtml: {\12 scale: %SCALE,\12 displayAlign: '%ALIGN',\12 displayIndent: '%INDENT'\12 },\12 svg: {\12 scale: %SCALE,\12 styles: {\12 color: \"#002266\",\12 },\12 displayAlign: '%ALIGN',\12 displayIndent: '%INDENT'\12 },\12 output: {\12 font: '%FONT',\12 displayOverflow: '%OVERFLOW'\12 }\12 };\12</script>\12\12<script\12 id=\"MathJax-script\"\12 async\12 src=\"/s/mathjax.js\">\12</script>")
'(package-selected-packages
'(ag auto-complete c-eldoc ellama elpy exec-path-from-shell geiser
go-mode gruvbox-theme keychain-environment lua-mode luarocks
magit markdown-mode mwim nix-mode nix-modeline nix-ts-mode
nixos-options org-journal org-roam paredit pelican-mode
projectile racket-mode scpaste slime undo-tree))))
"<script>\12 window.MathJax = {\12 loader: {load: ['[tex]/physics']},\12 tex: {\12 ams: {\12 multlineWidth: '%MULTLINEWIDTH'\12 },\12 packages: {'[+]': ['physics']},\12 tags: '%TAGS',\12 tagSide: '%TAGSIDE',\12 tagIndent: '%TAGINDENT'\12 },\12 chtml: {\12 scale: %SCALE,\12 displayAlign: '%ALIGN',\12 displayIndent: '%INDENT'\12 },\12 svg: {\12 scale: %SCALE,\12 styles: {\12 color: \"#002266\",\12 },\12 displayAlign: '%ALIGN',\12 displayIndent: '%INDENT'\12 },\12 output: {\12 font: '%FONT',\12 displayOverflow: '%OVERFLOW'\12 }\12 };\12</script>\12\12<script\12 id=\"MathJax-script\"\12 async\12 src=\"/s/mathjax.js\">\12</script>"))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
@ -289,7 +284,7 @@ present on disk."
(put 'downcase-region 'disabled nil)
;;;; org-mode publishing
(load (emacs-path "publish.el"))
(load (emacs-path "org.el"))
(defvar *host-font-size*
#s(hash-table

View File

@ -3,6 +3,14 @@
;;;
;;; publishing my notes docs
(use-package org-ref
:ensure t
:config
(setq org-ref-bibliography-files '("~/org/references.bib")
org-ref-default-bibliography "~/org/references.bib"
org-ref-pdf-directory "~/org/"
org-ref-notes-directory "~/org/"))
(use-package org-roam
:after org
:custom
@ -12,7 +20,7 @@
'(("d" "default" plain "%?"
:target (file+head "%<%Y%m%d%H%M%S>-${slug}.org"
"#+title: ${title}\n#+date: %U\n#+options: toc:nil num:nil\n#+filetags:\n\n")
:unnarrowed t)
:unnarrowed t)
("a" "article" plain "- Source: [[%^{Url}][%^{Title}]]\n- Author: /%^{Author}/\n- Year: /%^{Year}/\n\n* Highlights / Notes\n"
:target (file+head "%<%Y%m%d%H%M%S>-${slug}.org"
"#+title: ${title}\n#+date: %U\n#+options: toc:nil num:nil\n#+filetags: article:\n\n")