From 74dcee46e1c59efa5216f13dd6c9bf4374054350 Mon Sep 17 00:00:00 2001 From: Marius Peter Date: Sat, 14 Aug 2021 21:45:45 -0700 Subject: Miscellaneous. --- smart-documents.org | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/smart-documents.org b/smart-documents.org index f9dabfe..f5b49dd 100644 --- a/smart-documents.org +++ b/smart-documents.org @@ -861,6 +861,8 @@ Python is included by default on most Linux distributions. ** File formats +These aren't tied to a particular language per se. + *** =csv= and Excel #+BEGIN_SRC emacs-lisp :tangle yes @@ -1228,7 +1230,9 @@ The following packages are loaded for every time we export to LaTeX. ("pdflatex" "lualatex")))) #+END_SRC -*** Colored source blocks in PDF export +*** COMMENT Colored source blocks in PDF export + +# Too distracting. Focus on fonts. Little bonus for GNU/Linux users: syntax highlighting for source code blocks in LaTeX exports. @@ -1727,15 +1731,15 @@ unusable. Thus, we /describe/ two themes that were developed (setq custom-theme-directory (concat user-emacs-directory "themes/")) #+END_SRC -#+BEGIN_SRC emacs-lisp :tangle yes - (load-theme 'sd-compagnon) +#+BEGIN_SRC emacs-lisp :tangle no + (load-theme 'sd-compagnon-dark) #+END_SRC #+BEGIN_SRC emacs-lisp :tangle no (load-theme 'molokai) #+END_SRC -#+BEGIN_SRC emacs-lisp :tangle no +#+BEGIN_SRC emacs-lisp :tangle yes (load-theme 'sd-light) #+END_SRC @@ -1800,8 +1804,8 @@ only code), the cursor becomes a high-visibility box. In files containing a mix of ~variable-pitch~ and ~fixed-pitch~ fonts, the cursor is a more MS Word-like bar. -#+BEGIN_SRC emacs-lisp :tangle yes - (setq-default cursor-type 'bar) +#+BEGIN_SRC emacs-lisp :tangle no + (setq-default cursor-type 'box) #+END_SRC *** TODO Fonts @@ -1855,7 +1859,7 @@ Emacs. We use ~variable-pitch-mode~ for appropriate modes. -#+BEGIN_SRC emacs-lisp :tangle no +#+BEGIN_SRC emacs-lisp :tangle yes (add-hook 'org-mode-hook 'variable-pitch-mode) (add-hook 'info-mode-hook 'variable-pitch-mode) #+END_SRC -- cgit v1.2.3