Compare commits
2 Commits
2adc03c10d
...
72ec0bbcca
| Author | SHA1 | Date | |
|---|---|---|---|
| 72ec0bbcca | |||
| 51149a1c62 |
3
init.el
3
init.el
@@ -4,6 +4,7 @@
|
|||||||
;; embedded in literate Org files.
|
;; embedded in literate Org files.
|
||||||
|
|
||||||
(setq straight-check-for-modifications '(check-on-save find-when-checking))
|
(setq straight-check-for-modifications '(check-on-save find-when-checking))
|
||||||
|
|
||||||
(defvar bootstrap-version)
|
(defvar bootstrap-version)
|
||||||
(let ((bootstrap-file
|
(let ((bootstrap-file
|
||||||
(expand-file-name
|
(expand-file-name
|
||||||
@@ -22,6 +23,8 @@
|
|||||||
|
|
||||||
(setq straight-vc-git-default-clone-depth '(1 single-branch)) ;; instead of the default 'full
|
(setq straight-vc-git-default-clone-depth '(1 single-branch)) ;; instead of the default 'full
|
||||||
|
|
||||||
|
;; prebuild is broken in org-mode (TODO: FIX)
|
||||||
|
;; (straight-override-recipe '(org :local-repo "/Users/universelaptop/tmp/org"))
|
||||||
(straight-use-package 'org)
|
(straight-use-package 'org)
|
||||||
|
|
||||||
(setq dotfiles-dir (file-name-directory (or (buffer-file-name) load-file-name)))
|
(setq dotfiles-dir (file-name-directory (or (buffer-file-name) load-file-name)))
|
||||||
|
|||||||
42
main.org
42
main.org
@@ -449,8 +449,8 @@ conflict with the builtin version of Org)
|
|||||||
(when (not (file-exists-p org-directory)) (mkdir org-directory))
|
(when (not (file-exists-p org-directory)) (mkdir org-directory))
|
||||||
(set-fill-column 100)
|
(set-fill-column 100)
|
||||||
(setq org-src-fontify-natively t
|
(setq org-src-fontify-natively t
|
||||||
org-confirm-babel-evaluate nil
|
org-confirm-babel-evaluate nil
|
||||||
org-src-preserve-indentation t))
|
org-src-preserve-indentation t))
|
||||||
;; (tempo-define-template "Fig. Caption"
|
;; (tempo-define-template "Fig. Caption"
|
||||||
;; '("" (P "Image: " image t)
|
;; '("" (P "Image: " image t)
|
||||||
;; (P "Caption: " caption t)
|
;; (P "Caption: " caption t)
|
||||||
@@ -523,26 +523,19 @@ We really do require latex
|
|||||||
(setq org-latex-listings 'minted)
|
(setq org-latex-listings 'minted)
|
||||||
|
|
||||||
(add-to-list 'org-latex-classes
|
(add-to-list 'org-latex-classes
|
||||||
'("labtemplate" "\\documentclass{labtemplate}"
|
'("labtemplate" "\\documentclass{labtemplate}"
|
||||||
("\\section{%s}" . "\\section*{%s}")
|
("\\section{%s}" . "\\section*{%s}")
|
||||||
("\\subsection{%s}" . "\\subsection*{%s}")
|
("\\subsection{%s}" . "\\subsection*{%s}")
|
||||||
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
|
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
|
||||||
("\\paragraph{%s}" . "\\paragraph*{%s}")
|
("\\paragraph{%s}" . "\\paragraph*{%s}")
|
||||||
("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
|
("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
|
||||||
(add-to-list 'org-latex-classes
|
(add-to-list 'org-latex-classes
|
||||||
'("thesis" "\\documentclass[11pt]{ut-thesis}"
|
'("thesis" "\\documentclass[11pt]{ut-thesis}"
|
||||||
("\\part{%s}" . "\\part*{%s}")
|
("\\part{%s}" . "\\part*{%s}")
|
||||||
("\\chapter{%s}" . "\\chapter*{%s}")
|
("\\chapter{%s}" . "\\chapter*{%s}")
|
||||||
("\\section{%s}" . "\\section*{%s}")
|
("\\section{%s}" . "\\section*{%s}")
|
||||||
("\\subsection{%s}" . "\\subsection*{%s}")
|
("\\subsection{%s}" . "\\subsection*{%s}")
|
||||||
("\\subsubsection{%s}" . "\\subsubsection*{%s}")))
|
("\\subsubsection{%s}" . "\\subsubsection*{%s}"))))
|
||||||
|
|
||||||
(setq org-latex-pdf-process
|
|
||||||
'("%latex -shell-escape -interaction nonstopmode -output-directory %o %f"
|
|
||||||
"%latex -shell-escape -interaction nonstopmode -output-directory %o %f"
|
|
||||||
"bibtex %b"
|
|
||||||
"%latex -shell-escape -interaction nonstopmode -output-directory %o %f"
|
|
||||||
"%latex -shell-escape -interaction nonstopmode -output-directory %o %f")))
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** HTML Export
|
*** HTML Export
|
||||||
@@ -612,9 +605,9 @@ And in case we want to make some (GNU)?plots?
|
|||||||
|
|
||||||
*** Agenda Location
|
*** Agenda Location
|
||||||
|
|
||||||
# Make it so that all files in the " src_elisp{org-agenda-files} " variable (e.g. "=~/Documents=") will be
|
Make it so that all files in the " src_elisp{org-agenda-files} " variable (e.g. "=~/Documents=") will be
|
||||||
# included in the tablutation and collation of all the dates and todos
|
included in the tablutation and collation of all the dates and todos
|
||||||
# etc.
|
etc.
|
||||||
|
|
||||||
#+begin_src elisp :tangle yes :exports code
|
#+begin_src elisp :tangle yes :exports code
|
||||||
(leaf org-agenda
|
(leaf org-agenda
|
||||||
@@ -717,7 +710,6 @@ taking package.
|
|||||||
:after org-roam org-ref
|
:after org-roam org-ref
|
||||||
:require t
|
:require t
|
||||||
:hook (after-init-hook . org-roam-bibtex-mode))
|
:hook (after-init-hook . org-roam-bibtex-mode))
|
||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Org Babel
|
** Org Babel
|
||||||
|
|||||||
Reference in New Issue
Block a user