Browse Source

Fragtog and w3m

Eiyeron Fulmincendii 4 years ago
parent
commit
0e0ecfc43b
1 changed files with 23 additions and 5 deletions
  1. 23 5
      config.org

+ 23 - 5
config.org

@@ -87,6 +87,18 @@ Experimenting with that package. I might need to fork it in the future to add th
 (package! wikinfo :recipe (:host github :repo "progfolio/wikinfo"))
 (package! wikinfo :recipe (:host github :repo "progfolio/wikinfo"))
 (package! wikinforg :recipe (:host github :repo "progfolio/wikinforg"))
 (package! wikinforg :recipe (:host github :repo "progfolio/wikinforg"))
 #+end_src
 #+end_src
+*** Emacs + W3M
+#+begin_src emacs-lisp
+(package! w3m)
+#+end_src
+*** TODO Fragtog
+I'd like to write math stuff (notably on the computer rendering topic). Why not
+having something that automatically displays the inline previews?
+
+What remains is adding a way to detect the needed executables in the PATH.
+#+begin_src emacs-lisp
+(package! org-fragtog)
+#+end_src
 * TODO Config variables to make stuff easily tweakable
 * TODO Config variables to make stuff easily tweakable
 * Helper functions
 * Helper functions
 I had issues before dealing with specific patterns at configuration time. At
 I had issues before dealing with specific patterns at configuration time. At
@@ -276,10 +288,7 @@ expands some configured variable at initialization (for instance the capture
 file locations are derived from the org directory), so the ~after!~ hook won't
 file locations are derived from the org directory), so the ~after!~ hook won't
 update those variables.
 update those variables.
 #+BEGIN_SRC emacs-lisp
 #+BEGIN_SRC emacs-lisp
-(use-package! org
-  :after doom
-  :init
-  (let ((base-folder-name "Notes"))
+(let ((base-folder-name "Notes"))
     (when (eq system-type 'windows-nt)
     (when (eq system-type 'windows-nt)
       ;; HACK I usually have two disk drives
       ;; HACK I usually have two disk drives
       (if (file-directory-p (concat "C:/" base-folder-name))
       (if (file-directory-p (concat "C:/" base-folder-name))
@@ -292,7 +301,7 @@ update those variables.
                            base-folder-name)))
                            base-folder-name)))
         (if (file-directory-p notes-folder)
         (if (file-directory-p notes-folder)
             (setq org-directory notes-folder)
             (setq org-directory notes-folder)
-          (message "Can't find the org note folder."))))))
+          (message "Can't find the org note folder.")))))
 #+END_SRC
 #+END_SRC
 *** Org-Attach location
 *** Org-Attach location
 Instead of having a global attachment dir, I'm going to use multiple folders as I have multiple org base folders
 Instead of having a global attachment dir, I'm going to use multiple folders as I have multiple org base folders
@@ -522,6 +531,15 @@ Here's some keybindings vaguely inspired from my experience with Spacemacs.
 (use-package! wikinforg
 (use-package! wikinforg
   :after wikinfo)
   :after wikinfo)
 #+end_src
 #+end_src
+** TODO Fragtog
+Yay $\LaTeX$!
+
+#+begin_src emacs-lisp
+(use-package! org-fragtog
+  :after org
+  :config
+  (add-hook 'org-mode-hook #'org-fragtog-mode))
+#+end_src
 * Pico-8
 * Pico-8
 Using that [[https://github.com/Kaali/pico8-mode][pico-8 mode]] for Emacs might be fun. It even includes an overlay to
 Using that [[https://github.com/Kaali/pico8-mode][pico-8 mode]] for Emacs might be fun. It even includes an overlay to
 display the GFX and label as pictures in the code. Fancy!
 display the GFX and label as pictures in the code. Fancy!