From 9ac4f2988bb1315a7c8265118d1f9eeea205b96a Mon Sep 17 00:00:00 2001 From: J S Date: Wed, 22 Nov 2023 11:33:53 -0500 Subject: [PATCH] feat[editorconfig]: Updated editorconfig list packate[heatmap]: Removed org-heatmap feat[latex]: Updated turabian template to function --- config.org | 36 +++++++++++++++++------------------- 1 file changed, 17 insertions(+), 19 deletions(-) diff --git a/config.org b/config.org index 2c732c6..373e814 100644 --- a/config.org +++ b/config.org @@ -394,9 +394,11 @@ We want to show images when loading a file, and also after evaluating code block *** Org-agenda deadlines I don't like agenda nagging me about upcoming events. It causes a lot of duplication! +#+begin_comment #+begin_src emacs-lisp (setq org-deadline-warning-days 0) #+end_src +#+end_comment Turn it off with this snippet. ** Org-drill Set some good keybinds for quick access: @@ -435,11 +437,6 @@ Edna allows better dependency handling for todos and the like. (org-edna-mode) #+end_src ** Org-habit -#+begin_src emacs-lisp :tangle "packages.el" -(package! org-heatmap - :recipe (:host github :type git :repo "aspiers/org-heatmap")) -#+end_src - #+begin_src emacs-lisp (use-package org-habit @@ -449,10 +446,6 @@ Edna allows better dependency handling for todos and the like. (org-habit-following-days 1) (org-habit-show-habits-only-for-today nil)) -(use-package! org-heatmap -:after (org) -:config -(org-heatmap-mode)) #+end_src ** Org-archive with structure @@ -472,6 +465,15 @@ Many thanks to Mark Edigmar's [[https://gist.github.com/edgimar/072d99d8650abe81 (package! calfw :recipe (:host github :type git :repo "haji-ali/emacs-calfw")) #+end_src +* Programming Items +** Editorconfig +I need to make sure some different files work with +#+begin_src emacs-lisp +(after! editorconfig-mode +(add-to-list 'editorconfig-mode-alist + '(cpp-mode . "cpp"))) +#+end_src + * Website ** Capture template @@ -757,8 +759,7 @@ Let's use a package or two to set a decent document class: (add-to-list 'org-latex-classes '("student-apa7" "\\documentclass[stu]{apa7} -\\hypersetup{hidelinks} -\\usepackage{times} +\\usepackage{mathptmx} [NO-DEFAULT-PACKAGES] [NO-PACKAGES]" ("\\section{%s}" . "\\section*{%s}") @@ -770,9 +771,9 @@ Let's use a package or two to set a decent document class: (add-to-list 'org-latex-classes '("student-turabian" "\\documentclass{turabian-researchpaper} -\\usepackage{times} -[NO-DEFAULT-PACKAGES] -[NO-PACKAGES]" +\\usepackage{mathptmx} +[NO-PACKAGES] +" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}") @@ -827,7 +828,7 @@ Org-roam enables features essential to a Zettelkasten such as inter-ID linking. :target (file+head "%<%Y%m%d-%H%M%S>.org" "#+TITLE: ${title} ,#+LATEX_CLASS: student-apa7 -,#+LATEX_OPTIONS: stu,hidelinks +,#+LATEX_OPTIONS: stu ,#+LATEX_HEADER: \\course{} ,#+LATEX_HEADER:\\authorsnames{Judah Sotomayor} ,#+LATEX_HEADER: \\authorsaffiliations{} @@ -1205,12 +1206,9 @@ set palette defined ( 0 '%s',\ (defun +org-plot-gnuplot-term-properties (_type) (format "background rgb '%s' size %s,%s" (doom-color 'bg) (car +org-plot-term-size) (cdr +org-plot-term-size))) -#+end_src - -Now use the preamble we created: -#+begin_src emacs-lisp (setq org-plot/gnuplot-script-preamble #'+org-plot-generate-theme) (setq org-plot/gnuplot-term-extra #'+org-plot-gnuplot-term-properties)) + #+end_src ** Mermaid.js