misc

Commit
cc6c2a45f151462582728e163806ce93c8605d13
Author
Blendoit <blendoit@gmail.com>
Author date
Committer
Blendoit <blendoit@gmail.com>
Committer date
Changed files
custom.el
index 1dde9ee6..f1d5f0d6 100644..100644
@@ -32,7 +32,7 @@
32 32 '(org-log-done 'time)
33 33 '(org-startup-align-all-tables t)
34 34 '(package-selected-packages
35 Removed: '(org-pretty-table mode-icons dashboard undo-tree hungry-delete smooth-scroll smooth-scrolling delight yasnippet-snippets yasnippet org-sticky-header awesome-tab tabbar-ruler tabbar-mode linum-relative dumb-jump csv-mode rainbow-mode org-mouse projectile minimap gnuplot ledger-mode company-mode wombat-theme wombar-theme which-key srefactor-lisp srefactor all-the-icons flycheck ibuffer-sidebar pdf-tools magit rainbow-delimiters smartparens mixed-pitch org-bullets use-package tabbar powerline ivy-hydra flatui-theme evil counsel company benchmark-init))
35 Added: '(semantic-refactor org-pretty-table mode-icons dashboard undo-tree hungry-delete smooth-scroll smooth-scrolling delight yasnippet-snippets yasnippet org-sticky-header awesome-tab tabbar-ruler tabbar-mode linum-relative dumb-jump csv-mode rainbow-mode org-mouse projectile minimap gnuplot ledger-mode company-mode wombat-theme wombar-theme which-key srefactor-lisp srefactor all-the-icons flycheck ibuffer-sidebar pdf-tools magit rainbow-delimiters smartparens mixed-pitch org-bullets use-package tabbar powerline ivy-hydra flatui-theme evil counsel company benchmark-init))
36 36 '(pdf-view-midnight-colors '("#DCDCCC" . "#383838"))
37 37 '(save-place-mode t)
38 38 '(send-mail-function 'smtpmail-send-it)
smart-documents.org
index 38542a73..f7b39a26 100644..100644
@@ -1071,14 +1071,16 @@
1071 1071
1072 1072 #+BEGIN_SRC emacs-lisp :tangle yes
1073 1073 (setq org-latex-packages-alist
1074 Removed: '(("AUTO" "polyglossia" t
1075 Removed: ("xelatex" "lualatex"))
1076 Removed: ("AUTO" "babel" t
1077 Removed: ("pdflatex"))
1078 Removed: ("" "booktabs" t
1079 Removed: ("pdflatex"))
1080 Removed: ("table,svgnames" "xcolor" t
1081 Removed: ("pdflatex"))))
1074 Added: '(("AUTO" "babel" t
1075 Added: ("pdflatex"))
1076 Added: ("AUTO" "polyglossia" t ; Babel replacement for LuaLaTeX
1077 Added: ("xelatex" "lualatex"))
1078 Added: ("" "booktabs" t ; Publication quality tables in LaTeX
1079 Added: ("pdflatex"))
1080 Added: ("table,svgnames" "xcolor" t ; svgnames opens up ~150 color keywords
1081 Added: ("pdflatex"))
1082 Added: ("skip=0.5\\baselineskip" "caption" t ; Increase space between floats and captions
1083 Added: ("pdflatex" "lualatex"))))
1082 1084 #+END_SRC
1083 1085
1084 1086 *** Colored source blocks in PDF export
@@ -1225,12 +1227,7 @@
1225 1227 "^[[:space:]]*#\\+TITLE:[[:space:]]*\\(.*?\\)[[:space:]]*$"
1226 1228 nil t)
1227 1229 (match-string 1)))
1228 Removed: (save-excursion
1229 Removed: (goto-char (point-min))
1230 Removed: (when (re-search-forward
1231 Removed: "^[[:space:]]*#\\+DATE:[[:space:]]*\\(.*?\\)[[:space:]]*$"
1232 Removed: nil t)
1233 Removed: (match-string 1))))))))
1230 Added: nil)))))
1234 1231 #+END_SRC
1235 1232
1236 1233 **** Mode line
@@ -1249,19 +1246,6 @@
1249 1246
1250 1247 ** Window
1251 1248
1252 Removed: *** Tab line
1253 Removed:
1254 Removed: #+BEGIN_SRC emacs-lisp :tangle yes
1255 Removed: (global-tab-line-mode)
1256 Removed: #+END_SRC
1257 Removed:
1258 Removed: *** Window margins
1259 Removed:
1260 Removed: #+BEGIN_SRC emacs-lisp :tangle yes
1261 Removed: (set-window-margins nil 4 2)
1262 Removed: #+END_SRC
1263 Removed:
1264 Removed:
1265 1249 ** Buffer
1266 1250
1267 1251 *** Save cursor location
@@ -1279,12 +1263,19 @@
1279 1263
1280 1264 #+BEGIN_SRC emacs-lisp :tangle yes
1281 1265 (setq-default fill-column 79)
1266 Added: (add-hook 'org-mode-hook
1267 Added: 'turn-on-auto-fill) ; Automatically break lines longer than
1268 Added: ; =fill-column=.
1282 1269 #+END_SRC
1283 1270
1284 Removed: Automatically break lines longer than =fill-column=.
1271 Added: *** Right and left margins
1285 1272
1273 Added: We set reasonable margins on either side of our buffer.
1274 Added:
1286 1275 #+BEGIN_SRC emacs-lisp :tangle yes
1287 Removed: (add-hook 'org-mode-hook 'turn-on-auto-fill)
1276 Added: (setq-default left-margin-width 6 right-margin-width 6)
1277 Added:
1278 Added: (use-package srefactor)
1288 1279 #+END_SRC
1289 1280
1290 1281 ** Text
smart-documents.pdf
index da792e55..6339507f 100644..100644

Binary files differ

templates/documents/default.org
index 8131d3d4..4d7e731c 100644..100644
@@ -34,4 +34,4 @@
34 34 #+LATEX_HEADER_EXTRA: \fancyhead[C]{\large\textbf{\thetitle}}
35 35 #+LATEX_HEADER_EXTRA: \fancyhead[R]{\thedate}
36 36 #+LATEX_HEADER_EXTRA: \renewcommand{\headrulewidth}{1.5pt}
37 Removed: #+LATEX_HEADER_EXTRA: \fancyfoot[C]{\hrulefill\\[10pt] Page \thepage/\pageref*{LastPage}\\[8pt]\footnotesize Compiled with \includegraphics[width=1.618ex]{~/.emacs.d/img/EmacsIcon.png}/\includegraphics[width=1.618ex]{~/.emacs.d/img/Org-mode-unicorn.png}/\includegraphics[width=1.618ex]{~/.emacs.d/img/LuaTeX_logo.png}/...\\ Copyright \copyright~2020 Marius Peter. All rights reserved. }
37 Added: #+LATEX_HEADER_EXTRA: \fancyfoot[C]{\hrulefill\\[0.8em] Page \thepage/\pageref*{LastPage}\\[0.8em]\footnotesize Compiled with \includegraphics[width=1.618ex]{~/.emacs.d/img/EmacsIcon.png}/\includegraphics[width=1.618ex]{~/.emacs.d/img/Org-mode-unicorn.png}/\includegraphics[width=1.618ex]{~/.emacs.d/img/LuaTeX_logo.png}/...\\ Copyright \copyright~2020 Marius Peter. All rights reserved. }