diff --git a/.gitignore b/.gitignore index 34ddf86..00ea8bc 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /README.tex +custom.el diff --git a/README.org b/README.org index 56d934e..e8c19ae 100644 --- a/README.org +++ b/README.org @@ -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. diff --git a/config.el b/config.el index 629bd39..6897ba3 100644 --- a/config.el +++ b/config.el @@ -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))) diff --git a/init.el b/init.el index 8f8a070..fe13dbd 100644 --- a/init.el +++ b/init.el @@ -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 diff --git a/packages.el b/packages.el index 1b4593f..a489a97 100644 --- a/packages.el +++ b/packages.el @@ -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