merged changes to my desktop config

This commit is contained in:
Willem van den Ende
2023-01-12 16:51:32 +00:00
parent 777bce8c70
commit bc208a4758
5 changed files with 22 additions and 3 deletions
+1
View File
@@ -1 +1,2 @@
/README.tex
custom.el
+15
View File
@@ -77,6 +77,9 @@ From https://github.com/org-roam/org-roam/issues/1934 by Jethro Kuan
(setq org-roam-preview-function #'my/preview-fetcher)
#+end_quote
=======
Some in file:config.el. Port settings for ~org-roam-server~ are not standard, so need a function. Also some functions for replacing org-roam links with links to their website, for useto export as blog posts.
>>>>>>> 6056fb8 (changes to my desktop config)
* Prerequisites
Doom Emacs installation
@@ -133,6 +136,18 @@ Reason / explanation in https://scripter.co/using-git-delta-with-magit/
Magit does not need line numbers, the line where one can expand/collapse already shows them.
=======
Render to pdf, and open preview : ~SPC m e l o~ (m e - export. l - latex, o - open in pdf viewer)
putting https://so.nwalsh.com/2020/01/05-latex in my config.el on [[file:20201021093300-macos.org][MacOS]]. Looks like fonts need to go in ~$HOME/Library/Fonts~. And then one needs to run ~sudo texhash~ to actually add the fonts. (https://tex.stackexchange.com/questions/93983/xetex-use-otf-font-macports comment by Alan Munn).
Added fonts:
- ET Bembo: https://github.com/DavidBarts/ET_Bembo ([[file:20210510110643-edward_tufte.org][Tufte]] font)
- Raleway: google fonts had it: https://fonts.google.com/specimen/Raleway Readme included https://support.apple.com/en-us/HT201749 documentation on how to install fonts on mac os.
- Operator Mono Ssm - this is not a free font apparently. maybe try Fira code instead.
- replaced with Fira Mono from google fonts, made by mozilla apparently.
* Configuration
# How to configure this module, including common problems and how to address them.
+4 -3
View File
@@ -29,8 +29,11 @@
;; general editor customizations
(setq display-line-numbers-type 'relative)
<<<<<<< HEAD
(setq linum-format "%3d \u2502'")
(global-display-line-numbers-mode)
=======
>>>>>>> 6056fb8 (changes to my desktop config)
;; org-mode customizations
(setq org-superstar-headline-bullets-list '("⁖" "◉" "○" "✸" "✿"))
@@ -186,7 +189,6 @@
;; numbers are disabled. For relative line numbers, set this to `relative'.
(setq display-line-numbers-type `relative)
;; Here are some additional functions/macros that could help you configure Doom:
;;
;; - `load!' for loading external *.el files relative to this one
@@ -215,8 +217,7 @@
;; HACK show small snippets for backlinks preview in roam-buffer
;; there is currently a problem in org-mode that shows an error
;; org-element--cache: Unregistered buffer modifications detected. Resetting.
;; but this also happens without this function, it appears to be an interaction between org-roam and changes in orgmode.
;; org-element--cache: Unregistered buffer modifications detected. Resetting. but this also happens without this function, it appears to be an interaction between org-roam and changes in orgmode.
(defun qwan/brief-preview ()
(let* ((elem (org-element-context))
(parent (org-element-property :parent elem)))
+1
View File
@@ -150,6 +150,7 @@
;;nix ; I hereby declare "nix geht mehr!"
;;ocaml ; an objective camel
(org +gnuplot +pretty +roam2 +download-dnd) ; organize your plain life in plain text
(org +pretty +roam2 +download-dnd) ; organize your plain life in plain text
;;php ; perl's insecure younger brother
plantuml ; diagrams for confusing people more
purescript ; javascript, but functional
+1
View File
@@ -11,6 +11,7 @@
(package! magit-delta)
(package! diff-hl)
(package! puni)
(package! crux)
;; To install a package directly from a remote git repo, you must specify a
;; `:recipe'. You'll find documentation on what `:recipe' accepts here:
;; https://github.com/raxod502/straight.el#the-recipe-format