From 0898dcd51db89960e9bd44bed98ca138d51c8969 Mon Sep 17 00:00:00 2001 From: Blendoit Date: Tue, 11 Aug 2020 18:30:03 -0700 Subject: Roll templates from ~/org/ to ~/.emacs.d --- .gitignore | 3 + blendoit/blendoit-init.org | 231 +- blendoit/blendoit-init.pdf | Bin 0 -> 217349 bytes blendoit/themes/blendoit-light-theme.el | 23 +- init-custom.el | 14 +- templates/documents/MASTER-Safran | 24 + templates/documents/Safran_logo.png | Bin 0 -> 7258 bytes templates/documents/Safran_logo.svg | 5511 ++++++++++++++++++++ .../documents/ZODIAC_AEROSPACE_transparent.png | Bin 0 -> 116625 bytes templates/documents/notes.org | 4 + templates/documents/personal.org | 34 + templates/documents/personal.org_title | 14 + templates/documents/plan.org | 4 + templates/documents/test.org | 29 + templates/documents/test.pdf | Bin 0 -> 32647 bytes templates/org-capture/people.org | 16 + templates/org-capture/workout.org | 4 + templates/wiki/level-0.org | 13 + templates/wiki/level-1.org | 13 + 19 files changed, 5833 insertions(+), 104 deletions(-) create mode 100644 blendoit/blendoit-init.pdf create mode 100644 templates/documents/MASTER-Safran create mode 100644 templates/documents/Safran_logo.png create mode 100644 templates/documents/Safran_logo.svg create mode 100644 templates/documents/ZODIAC_AEROSPACE_transparent.png create mode 100644 templates/documents/notes.org create mode 100644 templates/documents/personal.org create mode 100644 templates/documents/personal.org_title create mode 100644 templates/documents/plan.org create mode 100644 templates/documents/test.org create mode 100644 templates/documents/test.pdf create mode 100644 templates/org-capture/people.org create mode 100644 templates/org-capture/workout.org create mode 100644 templates/wiki/level-0.org create mode 100644 templates/wiki/level-1.org diff --git a/.gitignore b/.gitignore index 130276f..3652490 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,9 @@ *.elc +# Backups +bkp/ + # TeX artifacts *.tex *.lot diff --git a/blendoit/blendoit-init.org b/blendoit/blendoit-init.org index 7a0e853..acfff23 100644 --- a/blendoit/blendoit-init.org +++ b/blendoit/blendoit-init.org @@ -1,30 +1,56 @@ -#+TITLE: Blendoit's literate GNU Emacs config +#+TITLE: My literate GNU Emacs config #+AUTHOR: Marius Peter #+DATE: <2020-07-23 Thu> -#+STARTUP: customtime showall -#+SETUPFILE: ~/org/templates/documents/personal.org +#+STARTUP: showall customtime -#+INCLUDE: ~/org/templates/documents/personal-title.org +#+SETUPFILE: ~/.emacs.d/templates/documents/personal.org + +#+INCLUDE: ~/.emacs.d/templates/documents/personal.org_title \begin{abstract} -GNU Emacs is most often used as a text editor. The utmost level of -customisation is afforded by enabling the user to rewrite /any/ part of the -source code and observe the editor's modified behaviour in real time. Since its -inception in 1984, GNU Emacs has grown to be much more than a full-featured, -high-productivity text editor---new /modes/ have been written to interact with -hundreds of file formats, including =.txt=, =.pdf=, =.jpg=, =.csv=, and =.zip= just to -name a few. This configuration file itself was written in /Org mode/, a -collection of functions enabling the harmonious mixing of code and comments in -view of publication: this is the endgame of /literate programming/. +GNU Emacs is most often used as a text editor. +The utmost level of customisation is afforded by enabling the user +to rewrite \textit{any} part of the source code and observe the editor's +modified behaviour in real time. Since its inception in 1984, GNU Emacs +has grown to be much more than a full-featured, high-productivity +text editor---new \textit{modes} have been written to interact with +hundreds of file formats, including \texttt{.txt}, \texttt{.pdf}, +\texttt{.jpg}, \texttt{.csv}, and \texttt{.zip} just to name a few. +This configuration file itself was written in \textit{Org mode}, +a collection of functions enabling the harmonious mixing of code +and comments in view of publication: +this is the endgame of \textit{literate programming}. \end{abstract} -# ** Test +# * Test # #+BEGIN_SRC emacs-lisp # (org-babel-load-file "~/.emacs.d/blendoit/test.org") # #+END_SRC +* README +:PROPERTIES: +:UNNUMBERED: t +:END: + +The =README.org= was exported from the first section of my literate configuration +file, [[file:blendoit-init.org]]. + +* Document structure +:PROPERTIES: +:UNNUMBERED: t +:END: + +** Blending Linux and Windows + +The GNU Emacs cabal is attempting to create a complete OS out of a text editor. + +Microsoft has a notorious /embrace, extend, extinguish/ approach when it comes +to rival technologies. + +Both are simultaneously possible. + * TODO First-time setup Spacemacs-like dialog for default settings. @@ -53,19 +79,23 @@ Makes opening emacs faster for following instances. #+NAME: emacs-client #+BEGIN_SRC emacs-lisp - ; (setq initial-buffer-choice (lambda () (get-buffer "*dashboard*"))) #+END_SRC -** Profiling --- start +** Refresh configuration -We start the profiler now , and will interrupt it in section [[Profiling --- -stop]]. We will then present profiling report in [[Profiling --- report]]. +Add an ~after-save-hook~ that tangles and loads this literary configuration. -#+NAME: profiler-start -#+BEGIN_SRC emacs-lisp -; (profiler-start) -#+END_SRC +# #+NAME: emacs-client +# #+BEGIN_SRC emacs-lisp +# (defun my/tangle-and-load-blendoit-init() +# (org-babel-load-file "~/.emacs.d/blendoit/blendoit-init.org") +# ) + +# (add-hook 'after-save-hook 'my/tangle-and-load-blendoit-init) + +# (my/tangle-and-load-blendoit-init) +# #+END_SRC ** Custom file @@ -73,12 +103,22 @@ Load settings created automatically by GNU Emacs Custom. (For example, any clickable option/toggle is saved here.) Useful for fooling around with M-x customize-group . -#+NAME: custom-file +#+NAME: custom-file-location #+BEGIN_SRC emacs-lisp (setq custom-file "~/.emacs.d/init-custom.el") (load custom-file) #+END_SRC +** Profiling --- start + +We start the profiler now , and will interrupt it in section [[Profiling --- +stop]]. We will then present profiling report in section [[Profiling --- report]]. + +#+NAME: profiler-start +#+BEGIN_SRC emacs-lisp +; (profiler-start) +#+END_SRC + ** Customization shortcuts We begin by defining a user shortcut to this very file: @@ -126,6 +166,18 @@ to this file. user-mail-address "blendoit@gmail.com") #+END_SRC +** File system paths + +In this subsection, we tell Emacs about relevant paths to resources. + +On my Windows machine, I add the path to Portable Git.[fn::Download from +https://git-scm.com/download/win] + +#+BEGIN_SRC emacs-lisp +(if (string-equal system-type "windows-nt") + (add-to-list 'exec-path "C:/Users/marius.peter/PortableGit/bin/")) +#+END_SRC + * Global key bindings The following bindings strive to further enhance CUA[fn::Common User Access.] @@ -158,15 +210,19 @@ The following bindings lead to more natural exit behaviors. ** Mouse zoom - Zoom in/out of selected buffer using Alt + mouse wheel. +The typical binding on both GNU/Linux and MS Windows is adequate here: ~C-=~ to +zoom, ~C--~ to unzoom. #+BEGIN_SRC emacs-lisp - (global-set-key [M-mouse-4] 'text-scale-increase) - (global-set-key [M-mouse-5] 'text-scale-decrease) +(global-set-key (kbd "C--") 'text-scale-decrease) +(global-set-key (kbd "C-=") 'text-scale-increase) +(global-set-key (kbd "C-+") 'text-scale-increase) #+END_SRC * Packages +Packages are collections of =.el= files providing added functionality to Emacs. + ** Package archives List of package archives. @@ -179,7 +235,7 @@ List of package archives. (package-initialize) #+END_SRC -** use-package +** ~use-package~ Ensure =use-package= is installed, as well as all packages described in this configuration file. @@ -192,11 +248,11 @@ configuration file. (setq use-package-always-ensure t) #+END_SRC -** Convenient package update +** TODO Convenient package update One-function rollup of upgradeable package tagging, download and lazy install. -** Ivy +** ~ivy~ Auto completion. @@ -209,16 +265,7 @@ Auto completion. (ivy-mode t) #+END_SRC -** Evil - -Forgive me, for I have sinned. - -#+BEGIN_SRC emacs-lisp - (use-package evil) - ;; (evil-mode 1) -#+END_SRC - -*** Counsel +*** ~counsel~ Wonderful counsellor! @@ -230,14 +277,23 @@ Forgive me, for I have sinned. (global-set-key (kbd "C-f") 'counsel-grep-or-swiper) #+END_SRC -*** Swiper +*** ~swiper~ #+BEGIN_SRC emacs-lisp (use-package swiper :bind (("C-f" . counsel-grep-or-swiper))) #+END_SRC -** Org +** ~evil-mode~ + +Forgive me, for I have sinned. + +#+BEGIN_SRC emacs-lisp + (use-package evil) + ;; (evil-mode 1) +#+END_SRC + +** ~org-mode~ Phew, I can finally introduce Org mode! I am so *excited*. @@ -255,6 +311,13 @@ as possible! *** Basic customization +Org base directory is in user home on GNU/Linux, or in =AppData= in MS Windows. + +#+NAME: org-basic +#+BEGIN_SRC emacs-lisp + (setq org-directory "~/org") +#+END_SRC + First, we hide markup symbols for *bold*, /italic/, _underlined_ and +strikethrough+ text, and ensure our document appears indented upon loading:[fn::It /appears/ indented, but the underlying plaintext file does not contain tab characters!] @@ -272,7 +335,6 @@ normally found in Word: #+NAME: org-list-bullets #+BEGIN_SRC emacs-lisp - (setq org-directory "~/org") (font-lock-add-keywords 'org-mode '(("^ *\\([-]\\) " @@ -285,15 +347,17 @@ normally found in Word: - Of lists! - (Rendered with pretty bullets in Emacs) +*** Org-bullets + The following prettifies Org mode heading bullets: -#+NAME: org-headings-bullets -#+BEGIN_SRC emacs-lisp - (use-package org-bullets - :hook - (org-mode . org-bullets-mode) - ) -#+END_SRC +# #+NAME: org-heading-bullets +# #+BEGIN_SRC emacs-lisp +# (use-package org-bullets +# :hook +# (org-mode . org-bullets-mode) +# ) +# #+END_SRC *** Invisible edits @@ -406,13 +470,13 @@ LaTeX \rightarrow PDF. (global-set-key (kbd "C-c e") 'blendoit-org-quick-export) #+END_SRC -** undo tree +** ~undo-tree~ #+BEGIN_SRC emacs-lisp (global-undo-tree-mode) #+END_SRC -** dumb jump +** ~dumb-jump~ #+BEGIN_SRC emacs-lisp (use-package dumb-jump) @@ -468,7 +532,7 @@ LaTeX \rightarrow PDF. #+NAME: company #+BEGIN_SRC emacs-lisp - (add-hook 'after-init-hook 'global-company-mode) +; (add-hook 'after-init-hook 'global-company-mode) #+END_SRC ** Flycheck @@ -485,7 +549,7 @@ LaTeX \rightarrow PDF. (use-package csv-mode) #+END_SRC -* JSON +** JSON Oí, Jason! @@ -503,8 +567,8 @@ Oí, Jason! ** PDF-tools #+BEGIN_SRC emacs-lisp -(use-package pdf-tools - :config (pdf-loader-install)) +(use-package pdf-tools) +;; (pdf-tools-install) #+END_SRC ** Dashboard @@ -519,7 +583,7 @@ We replace the standard welcome screen with our own. (setq dashboard-startup-banner "~/.emacs.d/blendoit/img/Safran_logo.svg") (setq dashboard-items '((recents . 5) (projects . 5))) - (setq dashboard-banner-logo-title "The editor for the 2nd millenium.")) + (setq dashboard-banner-logo-title "A modern professional text editor.")) #+END_SRC ** rainbow @@ -593,34 +657,19 @@ modes. ** Initial frame -These settings affect the first and subsequent frames spawned by Emacs. - -Thank you Xah Lee![fn::http://ergoemacs.org/emacs/emacs_customize_default_window_size.html] +These settings affect the first and subsequent frames spawned by Emacs in +GNU/Linux. Frame transparency increases when focus is lost. #+BEGIN_SRC emacs-lisp - (if (display-graphic-p) - (progn - (setq initial-frame-alist - '( - (tool-bar-lines . 1) - (width . 100) ; chars - (height . 48) ; lines - (alpha . (90 . 50)))) - (setq default-frame-alist - '( - (tool-bar-lines . 1) - (width . 100) - (height . 48) - (alpha . (90 . 50)))))) +; (if (and (display-graphic-p) (string-equal system-type "gnu/linux")) +; ((set-frame-parameter (selected-frame) 'alpha '(85 . 50)) +; (add-to-list 'default-frame-alist '(alpha . (85 . 50))))) #+END_SRC ** Theme #+BEGIN_SRC emacs-lisp -;; (use-package zenburn-theme -;; :config -;; (load-theme 'zenburn)) - +(setq custom-theme-directory "~/.emacs.d/blendoit/themes/") (load-theme 'blendoit-light) #+END_SRC @@ -634,8 +683,15 @@ Thank you Xah Lee![fn::http://ergoemacs.org/emacs/emacs_customize_default_window These customizations enhance editor usability. +A line of text is considered `filled' when it reaches 79 characters in length. + #+BEGIN_SRC emacs-lisp (setq-default fill-column 79) +#+END_SRC + +We replace the longer ~yes-or-no-p~ questions with more convenient ~y-or-n-p~. + +#+BEGIN_SRC emacs-lisp (defalias 'yes-or-no-p 'y-or-n-p) #+END_SRC @@ -651,7 +707,11 @@ Disable minibuffer scroll bar. Originally, I wished to inhibit certain entries in the GUI menus. Not worth the effort at this time. -~menu-bar-mode~ is inhibited in =../custom-init.el=. +~menu-bar-mode~ is inhibited if on Linux. + +#+BEGIN_SRC emacs-lisp +(setq menu-bar-mode t) +#+END_SRC ** Coding standards @@ -670,14 +730,13 @@ This ensures users can resize windows using the GUI. (menu-bar-bottom-and-right-window-divider) #+END_SRC - ** Tabs #+BEGIN_SRC emacs-lisp #+END_SRC -** auto fill +** ~auto-fill~ Automatically break lines longer than =fill-column=. @@ -694,14 +753,22 @@ Automatically break lines longer than =fill-column=. (run-at-time nil (* 5 60) 'recentf-save-list) #+END_SRC -* Profiling --- stop +* Late setup + +** Profiling --- stop #+BEGIN_SRC emacs-lisp ;; (profiler-stop) #+END_SRC -* Profiling --- report +** Profiling --- report #+BEGIN_SRC emacs-lisp ;; (profiler-report) #+END_SRC + +* Conclusion + +In this configuration file, we described a series of customization steps taken +to make Emacs more palatable to modern IDE users. + diff --git a/blendoit/blendoit-init.pdf b/blendoit/blendoit-init.pdf new file mode 100644 index 0000000..7d20fb5 Binary files /dev/null and b/blendoit/blendoit-init.pdf differ diff --git a/blendoit/themes/blendoit-light-theme.el b/blendoit/themes/blendoit-light-theme.el index 9131a6c..d9b93f4 100644 --- a/blendoit/themes/blendoit-light-theme.el +++ b/blendoit/themes/blendoit-light-theme.el @@ -1,5 +1,5 @@ (deftheme blendoit-light - "Created 2020-08-09.") + "Created 2020-08-11.") (custom-theme-set-faces 'blendoit-light @@ -10,12 +10,12 @@ '(minibuffer-prompt ((((background dark)) (:foreground "cyan")) (((type pc)) (:foreground "magenta")) (t (:foreground "medium blue")))) '(highlight ((t (:underline nil :foreground "#ffffff" :background "#454545")))) '(region ((t (:background "light gray")))) - '(shadow ((((class color grayscale) (min-colors 88) (background light)) (:foreground "grey50")) (((class color grayscale) (min-colors 88) (background dark)) (:foreground "grey70")) (((class color) (min-colors 8) (background light)) (:foreground "green")) (((class color) (min-colors 8) (background dark)) (:foreground "yellow")))) + '(shadow ((t (:foreground "dark gray")))) '(secondary-selection ((((class color) (min-colors 88) (background light)) (:background "yellow1")) (((class color) (min-colors 88) (background dark)) (:background "SkyBlue4")) (((class color) (min-colors 16) (background light)) (:background "yellow")) (((class color) (min-colors 16) (background dark)) (:background "SkyBlue4")) (((class color) (min-colors 8)) (:foreground "black" :background "cyan")) (t (:inverse-video t)))) '(trailing-whitespace ((((class color) (background light)) (:background "red1")) (((class color) (background dark)) (:background "red1")) (t (:inverse-video t)))) '(font-lock-builtin-face ((((class grayscale) (background light)) (:weight bold :foreground "LightGray")) (((class grayscale) (background dark)) (:weight bold :foreground "DimGray")) (((class color) (min-colors 88) (background light)) (:foreground "dark slate blue")) (((class color) (min-colors 88) (background dark)) (:foreground "LightSteelBlue")) (((class color) (min-colors 16) (background light)) (:foreground "Orchid")) (((class color) (min-colors 16) (background dark)) (:foreground "LightSteelBlue")) (((class color) (min-colors 8)) (:weight bold :foreground "blue")) (t (:weight bold)))) - '(font-lock-comment-delimiter-face ((t (:inherit font-lock-comment-face :foreground "dim gray")))) - '(font-lock-comment-face ((t (:foreground "dark gray" :slant italic)))) + '(font-lock-comment-delimiter-face ((t (:foreground "dim gray" :inherit font-lock-comment-face)))) + '(font-lock-comment-face ((t (:inherit variable-pitch :foreground "slate gray" :slant italic)))) '(font-lock-constant-face ((t (:foreground "dark cyan")))) '(font-lock-function-name-face ((((class color) (min-colors 88) (background light)) (:foreground "Blue1")) (((class color) (min-colors 88) (background dark)) (:foreground "LightSkyBlue")) (((class color) (min-colors 16) (background light)) (:foreground "Blue")) (((class color) (min-colors 16) (background dark)) (:foreground "LightSkyBlue")) (((class color) (min-colors 8)) (:weight bold :foreground "blue")) (t (:weight bold :inverse-video t)))) '(font-lock-keyword-face ((t (:foreground "DodgerBlue4")))) @@ -23,7 +23,7 @@ '(font-lock-preprocessor-face ((t (:inherit (font-lock-builtin-face))))) '(font-lock-regexp-grouping-backslash ((t (:inherit (bold))))) '(font-lock-regexp-grouping-construct ((t (:inherit (bold))))) - '(font-lock-string-face ((t (:foreground "DeepSkyBlue3")))) + '(font-lock-string-face ((t (:foreground "DodgerBlue1")))) '(font-lock-type-face ((t (:foreground "ForestGreen")))) '(font-lock-variable-name-face ((t (:foreground "sienna")))) '(font-lock-warning-face ((t (:inherit (error))))) @@ -58,11 +58,14 @@ '(link ((t (:foreground "blue" :underline t)))) '(org-document-info-keyword ((t (:inherit org-meta-line)))) '(dashboard-heading ((t (:inherit font-lock-keyword-face)))) - '(org-todo ((t (:weight bold :box nil :foreground "Red1")))) - '(org-done ((t (:weight bold :box nil :foreground "ForestGreen")))) - '(font-lock-doc-face ((t (:foreground "steel blue" :inherit default)))) + '(org-todo ((t (:foreground "Red1" :box 2 :weight bold)))) + '(org-done ((t (:foreground "ForestGreen" :box 2 :weight bold)))) '(org-code ((t (:inherit default :background "light grey" :foreground "black")))) - '(org-verbatim ((t (:inherit org-meta-line)))) - '(default ((t (:background "white" :foreground "black" :height 142 :family "Liberation Mono"))))) + '(org-checkbox-statistics-todo ((t (:inherit org-todo :box nil)))) + '(org-checkbox-statistics-done ((t (:inherit org-done :box nil)))) + '(org-verbatim ((t (:inherit shadow)))) + '(font-lock-doc-face ((t (:inherit font-lock-string-face)))) + '(default ((t (:background "white" :foreground "black" :height 120 :family "Liberation Mono")))) + '(cursor ((t (:background "orange red"))))) (provide-theme 'blendoit-light) diff --git a/init-custom.el b/init-custom.el index b98a3be..0f4052f 100644 --- a/init-custom.el +++ b/init-custom.el @@ -18,7 +18,7 @@ '(custom-enabled-themes nil) '(custom-safe-themes (quote - ("d4c160e3c4f172751b29b9f94adbea0f02066618ecca4553c018b027966640c7" "3a4d17a991c9aa1e3ac6d34f63f0588e551c5b38aae25e6bafab38b256e79cdc" "549b332d92fd708c836646a90c37cacca20b48223abf7fa0c29a22bf40d60d35" "9a192155514fbdeb01ccaf996e5b1fbc6b6bf4a18f7bde8f607d57678fad344c" "7f3d65205cac6f913bce9d01373719a44722a07f45501f7d00fe1334cc650814" "5711d98f14878bff94540676e66e7a6f14c82b29ddc7023f6ee8efbd8a479c5c" "3ab5261e83ce9723138117a01b6e73bea41398f8d9293f5b02106f3aead6dbab" "924ce9031ebdb3d16fc6015eef7db63af825780f99a5c90dcdf13233e7939c0c" "323d7466b7924f0f58653bde012468a2fdc3a1ae8492683f866a0222f4c15d09" "0f15173196d31f3d06ff303ca27cc861dd7884132393c91128d761f79655ec91" "291ca32d7cab5f302361ccb42762976004e7fae2edbc34e11152f43a6e5c9c16" "b0c79fa277592cee7dbbfea3170e1f3269b719b54b33d603acdaee5b738b08d6" "a8c710c7efb883b06accec971ed17c18e09f3d05807069a009d93ec7ade38627" "593c0435c789f28bcddd9159d9fa80a45eda69691c67caa4ecba97a5e9f6ac09" "d0c72c22aa52049e1118bc2d98b4037b5203709820525d4f6e9af75cbeb3ae51" "1a212a5389f8a1038252d279a8d7352e548e8d3c8eb20bc4f07870e9812f9392" "c243ddcbe8b454b88b639719082c1a1e82cf4ee67238e5c89346c808542793ac" "df18c6ae25e56a4a079b568e033a65387abd8546c88d10c8f71fd53da6bfaf83" "6f553b32594f38496d6e1a1537f43c7bb01be6e1dd23b71d6eab0dbabec89fea" "a71707f476a82a62b095be6c6dccb0da91d4f6ea08ca6884698442917e916c34" "52beb7a2aaec5d3b886f0a6bb1b3857a2bc231968323528bfcc38cf001f11049" "578cfaf5c4401cee53c3995369c350494fc269f600143335ec1262ffcba4d2f9" "ba6064e2177b67fdc02d3f03a9113d4ec9b74aa59a9c4c113941e2df3c66e300" "bf34b0175ef0ec31b21a711a727c42c8d7ea365687a4112a9673df8533d1d963" "dbe7226f44551ec85af99674282fce8340ee8109cff62fe251f3979125472796" "ec66048d6ed6a5d65a74fd4fd0ba1ce034fd58bc75624539dbed2b85046ee5b7" "b1a729f6d62b537e06abd2913978fc8203136f978bcdd4d0704f232fb59f6d07" "7bc04e8d1cbfa63ac7bfa685909f48cf7b05b772f7fe1de166dc72788c4ae10c" "037c17db2dda3e0a7b367ec22f80933ad61ee2de7b1abbf670172a5e165b9d7f" "dfe4340343a7f5e80441ae544378943db147a1eb6fa5e074fb8955a36b0f182f" "e1ed7dc1cdf09ba9c589c3b829a95723a1b962eaa90668486367f6500d6e464f" "a8b3c62c9b9221c19993f58bb6eaf532e55363d8d2368fde50eb0eef86929ddf" "dc3a12a73fd52959e3c8eebff0911f8a3f764def026e557660590b5fd1248f4b" "b13d696132ccaf45c6f5119439b6664abd2d871197a92f53fedb4e041db5e578" "a5ffe59afbe822411636369fd2f0f7a37dac10f3932ee67be02cc4d5f2f34a62" "05c1eb6742e96a622772413711d1f7b8cc4b7b7ac0a5bb9da3cd0f5a03a94d63" "d400bc776687ac7d8a04f3de3bd12b5714316ce9571805fe43b7b9a3207398e9" "254b7a1f3b6ae1e26a7981a904374909e6094d1959766c8a56e0a72c1bc73988" "c704a1e52c8393bab1edf20333c00f0a1f4e9d68f81dac2231ff8ac7fa594270" "0d33946ed3756f7af05220d584e16e87e94cea39e1a6eef8203762404436c971" "4ea5fc77916d724956ba8668959c87517e25e4df75cc23bbb9709d2c417e420b" "f4992270fc1f04c92a35dc92ff7ae108fcea48d00aed59cd2e2074228f13d206" "4baddb255d9d85b2de41ed80db2304f258e5ab4d9dd86e3d7b645b3fe5d4af47" "77856f1616f0a4befe693cc89718e4e81ca02186ccd423a70f741f2e3974d10f" "9ce3f9dc04a4a50169c8bc58202bd4107bd3bec3dee04ca0d2747f563fdbf37c" "2383aad6d7a2ab84816102a614217ae2f71346febf758a35c38f540cf5a4f870" "4f3256a77d296e0f96ca6071c61f9de658e8e5e8fbb33a3fb0a25bd3cac1ba95" "05f98c3f10b215b37151685fb42bc108481a59145fd557edf5c4b140902af69b" "e6e3f9539236fc2b9f4c1ca06e47289e3e84011d194edc2fe8db1326f27162e2" "91ae05962e013e0925e56e4b98d87090f48de36876ba9fa939ae760e16aee566" "00087223a3ba61a42feb4bb898e8eb6cbc301e96e8e8d46c50f202b6bb435bc8" "b77b4effef346442f97b12b3b17056e60e7d8122fba4b7d692c7e633b00fef2a" "413627ea61e7aee5429a37a07d893436fa50d90db1c9cad63c3fe880d16ea366" "9de2e8914e2d8bdadad1eb0ca9ba5a1c5bbbfb71b91eaca7996691cd97f0e863" "fe4a68cae5bf268eb4da12eb78d06e40265e46c0e63eb5bf6e3545c4d0fe4cf9" "35ae89ec94b266fe007ec56be07b30aabaf6565d9a59c2e21e5943a9fec58069" "5c2bac01062bc2496baf2fde79cc4ede470b9395af5014991132034dcbfda677" "2df61c2e91799bf9d31fbe5ca4d407ef03669dbc8efd84f8acab83b0bbb63a56" "4d966fc76684e7f95122c877a95e8f6e4fa9d784225a4111cf1ce80969a4498f" "935b7766c7b74d2801be8a0cbd14967d090769e7353fcdf72b1a4d695393fd04" "503683e60ca9efa6d138cccae401269d13aef9e0101fbda20341edc2294c950b" "e55352d8828ed4e056652fa7fd5db47603ee48368fbae500837630a7345fb6b2" "f81e8249778eeeed1dc71c69cc37aab6f68d111b6e770496b2e6c87f4d1d9a05" "1ec13d23f091b5e6fb8621b85fad1ebbc3fb132daf505fd953d27f97ec573d67" "923a4e39d4da77bc40ddc2ba2fceec2c5613392bf32cc06a59e10db55ddd4ebd" "57d6156b7ae19dee1c627bcfcf298f52d271e4ca805b5c37d59906c87e281ce3" "aa4e08348cd327190a188a450d55a0abaf8780cf8d04743d632937b593bba5c9" "50fa2844d84cecfa718f92122e095ecc1243fdf004bb1348e9cee856707c6f3d" "429c077679e0586d1b6a9f22586129bb4e0793e70b414ff93f023fcfa654b08a" "9893c7f1274df4d4df0573da1ee4dfe32f73f71cdf45bba7596a09e6c637d990" "e274c4d17ef47311855ce93dcc34c512bb285e3a01e9b3b1b735e059a865e48d" "59b58e2d0b77f0e8dc305bba18dc0913ae11ebc1ea91165911f5f3bd46910470" "2946f0682172ff16ffe531ce59ea26044f949e8a51b2d4ab14d74e21fa8f2b67" "de4fe3532d51a731d313e588531e32a26f9824e216fff1306ca270487f833045" "096bb91c8fd17ff6f2f51ddaf51897c9710da5486fbbb2d370e3ff3b209ff446" "700f0a38b888fb3fe656b9d8647d71fa99b3684641cf9e02106a3e3a1ca1d87a" "5cbf5345c2af35887f1518c35c9a62409304b20006f2455ef1313507e0552b1f" default))) + ("f1fbfdf754abcb5750dab511234b09c032ce27d4fb9fd9ccadf1f6513f0a302f" "a8481da2702722465d02eb2e2fa64346efea54b56fca021b3a4bb08a2a6924d3" "6264d1df6969ac03691d2d2cf97ea094f18cef56aadf8bd7a49c5544fde875f0" "c00103d5b31a23fc69b34dfaa53f07b5cbf99140ba80b1c33a6cf591d852ac69" "92d2a65936bd89f546493d6b39cff290f07d6590e88bf783e49be344b26e2295" "3d9f10204f74e105d0f8740eeb8de0b12f0cae6a6ae05cbd09f8755dcf684a89" default))) '(custom-theme-directory "~/.emacs.d/blendoit/themes/") '(fci-rule-color "#383838") '(fill-column 79) @@ -36,7 +36,6 @@ ("account" "%(binary) -f %(ledger-file) reg %(account)") ("budget" "%(binary) -f %(ledger-file) budget --exchange USD")))) '(line-number-mode nil) - '(menu-bar-mode nil) '(message-required-headers (quote ((optional . References) From))) '(mixed-pitch-variable-pitch-cursor (quote bar)) '(nrepl-message-colors @@ -58,12 +57,6 @@ (awk . t) (ledger . t) (gnuplot . t)))) - '(org-file-apps - (quote - ((auto-mode . emacs) - ("\\.mm\\'" . default) - ("\\.x?html?\\'" . default) - ("\\.pdf\\'" . "mupdf %s")))) '(org-latex-classes (quote (("article" "\\documentclass[11pt]{article}" @@ -139,7 +132,4 @@ ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. - '(default ((t (:family "Liberation Mono" :foundry "1ASC" :slant normal :weight normal :height 142 :width normal)))) - '(cursor ((t (:background "red")))) - '(fixed-pitch ((t (:family "Liberation Mono")))) - '(highlight ((t (:background "#454545" :foreground "#ffffff" :underline nil))))) + '(default ((t (:family "Liberation Mono" :slant normal :weight normal :height 120 :width normal))))) diff --git a/templates/documents/MASTER-Safran b/templates/documents/MASTER-Safran new file mode 100644 index 0000000..d62bfff --- /dev/null +++ b/templates/documents/MASTER-Safran @@ -0,0 +1,24 @@ +# -*- mode: org; -*- + +#+LATEX_CLASS: article + +#+LATEX_HEADER: \usepackage[left=1in,right=1in,top=1in,bottom=1.75in]{geometry} +#+LATEX_HEADER: \usepackage{fourier} + +# For referencing the Org document title in the text body and fancy header +#+LATEX_HEADER: \usepackage{titling} + +# For page numbering purposes +#+LATEX_HEADER: \usepackage{lastpage} + +# Keep 'em lists compact! +#+LATEX_HEADER: \usepackage{enumitem} +#+LATEX_HEADER: \setlist{noitemsep} + +#+LATEX_HEADER: \usepackage{fancyhdr} +#+LATEX_HEADER: \setlength{\headheight}{40pt} +#+LATEX_HEADER_EXTRA: \pagestyle{fancy} +#+LATEX_HEADER_EXTRA: \fancyhead[L]{\rule[-20pt]{0pt}{0pt} \includegraphics[height=20pt]{~/org/templates/documents/Safran_logo.png}} +#+LATEX_HEADER_EXTRA: \fancyhead[R]{\thetitle \\ \thedate} +#+LATEX_HEADER_EXTRA: \renewcommand{\headrulewidth}{1.2pt} +#+LATEX_HEADER_EXTRA: \fancyfoot[C]{Page~\thepage~of~\pageref*{LastPage}\\ \hrulefill \\ \footnotesize This document contains proprietary information of \texttt{Safran Passenger Solutions}. This information may not, in whole or in part, be duplicated, reproduced, disclosed, or used in any way except as expressly authorized in writing by \texttt{Safran Passenger Solutions}.} diff --git a/templates/documents/Safran_logo.png b/templates/documents/Safran_logo.png new file mode 100644 index 0000000..e58df38 Binary files /dev/null and b/templates/documents/Safran_logo.png differ diff --git a/templates/documents/Safran_logo.svg b/templates/documents/Safran_logo.svg new file mode 100644 index 0000000..12ae8e3 --- /dev/null +++ b/templates/documents/Safran_logo.svg @@ -0,0 +1,5511 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/templates/documents/ZODIAC_AEROSPACE_transparent.png b/templates/documents/ZODIAC_AEROSPACE_transparent.png new file mode 100644 index 0000000..a4fc22f Binary files /dev/null and b/templates/documents/ZODIAC_AEROSPACE_transparent.png differ diff --git a/templates/documents/notes.org b/templates/documents/notes.org new file mode 100644 index 0000000..a45a53d --- /dev/null +++ b/templates/documents/notes.org @@ -0,0 +1,4 @@ +# -*- mode: org; -*- + +#+OPTIONS: tags:nil toc:nil title:nil +#+SETUPFILE: ~/org/templates/documents/MASTER-Safran diff --git a/templates/documents/personal.org b/templates/documents/personal.org new file mode 100644 index 0000000..29e46d9 --- /dev/null +++ b/templates/documents/personal.org @@ -0,0 +1,34 @@ +# -*- mode: org; -*- + +#+OPTIONS: tags:nil + +#+LATEX_CLASS: article + +#+LATEX_HEADER: \usepackage[left=1in,right=1in,top=1in,bottom=1.75in]{geometry} +#+LATEX_HEADER: \usepackage{fourier} + +#+LATEX_HEADER: \usepackage{caption} +#+LATEX_HEADER: \captionsetup[table]{skip=1ex} + +# #+LATEX_HEADER: \usepackage[compact]{titlesec} +# #+LATEX_HEADER: \usepackage[section]{placeins} + +#+LATEX_HEADER: \usepackage{lastpage} +#+LATEX_HEADER: \usepackage{titling} +#+LATEX_HEADER: \usepackage{enumitem} +#+LATEX_HEADER: \setlist{noitemsep} + +# Required to reset numbering of table rows from table to table. +#+LATEX_HEADER: \usepackage{etoolbox} +#+LATEX_HEADER: \makeatletter +#+LATEX_HEADER: \gpreto\tabular{\renewcommand{\arraystretch}{1.4}\rownum=\z@} +#+LATEX_HEADER: \makeatother + +#+LATEX_HEADER: \usepackage{fancyhdr} +#+LATEX_HEADER: \setlength{\headheight}{40pt} +#+LATEX_HEADER_EXTRA: \pagestyle{fancy} +#+LATEX_HEADER_EXTRA: \fancyhead[L]{\rule[-12pt]{0pt}{0pt}\theauthor} +#+LATEX_HEADER_EXTRA: \fancyhead[C]{\large\textbf{\thetitle}} +#+LATEX_HEADER_EXTRA: \fancyhead[R]{\thedate} +#+LATEX_HEADER_EXTRA: \renewcommand{\headrulewidth}{1.4pt} +#+LATEX_HEADER_EXTRA: \fancyfoot[C]{Page \thepage\/\pageref*{LastPage}\\ \hrulefill \\ \footnotesize Copyright \copyright~2020 Marius Peter. All rights reserved.} diff --git a/templates/documents/personal.org_title b/templates/documents/personal.org_title new file mode 100644 index 0000000..3cf4431 --- /dev/null +++ b/templates/documents/personal.org_title @@ -0,0 +1,14 @@ +#+OPTIONS: title:nil toc:nil +# Increase spacing between header rule and main text body +#+LATEX: \rule[-2in]{0pt}{0pt}\\ +#+LATEX: \Huge\textbf{\thetitle}\\[1in] +#+LATEX: \LARGE\theauthor\\ +#+LATEX: \thedate + +#+LATEX: \clearpage + +#+LATEX: \normalsize +#+LATEX: \tableofcontents +#+LATEX: \listoffigures +#+LATEX: \listoftables +#+LATEX: \clearpage diff --git a/templates/documents/plan.org b/templates/documents/plan.org new file mode 100644 index 0000000..852c9bf --- /dev/null +++ b/templates/documents/plan.org @@ -0,0 +1,4 @@ +# -*- mode: org; -*- + +#+OPTIONS: toc:2 p:t +#+SETUPFILE: ~/org/templates/documents/MASTER-Safran diff --git a/templates/documents/test.org b/templates/documents/test.org new file mode 100644 index 0000000..48d51d1 --- /dev/null +++ b/templates/documents/test.org @@ -0,0 +1,29 @@ +#+TITLE: Test Document +#+DATE: <2020-06-26 Fri> +#+AUTHOR: Marius Peter +#+STARTUP: customtime +#+SETUPFILE: ./personal.org + +#+INCLUDE: ./personal-title.org + +* Foobar :tag:etc: +** Sub 1 :tag:random: +This is a test sentence. +** Sub 2 :random:doodle: +This is a test sentence. +** Sub 3 :doodle:poodle: +This is a test sentence. +* Foobie +** Sub 1 +This is a test sentence. +** Sub 2 +This is a test sentence. +** Sub 3 +This is a test sentence. +* Foobuzz +** Sub 1 +This is a test sentence. +** Sub 2 +This is a test sentence. +** Sub 3 +This is a test sentence. diff --git a/templates/documents/test.pdf b/templates/documents/test.pdf new file mode 100644 index 0000000..70a8dda Binary files /dev/null and b/templates/documents/test.pdf differ diff --git a/templates/org-capture/people.org b/templates/org-capture/people.org new file mode 100644 index 0000000..828b461 --- /dev/null +++ b/templates/org-capture/people.org @@ -0,0 +1,16 @@ +* Name + +** Contact Details + +*** Phone +- Work :: +- Personal :: + +*** E-mail +- Work :: +- Personal :: + +** Important Dates +- Birthday :: + +** Notes diff --git a/templates/org-capture/workout.org b/templates/org-capture/workout.org new file mode 100644 index 0000000..33b80ed --- /dev/null +++ b/templates/org-capture/workout.org @@ -0,0 +1,4 @@ +| | *Date & Part* | Row | 1 | 2 | 3 | 4 | 5 | 6 | 7 | +| | %t | 500m | EX1 | EX2 | EX3 | EX4 | EX5 | EX6 | EX7 | +| | *Back* | 2:00 | 3x8 | 3x8 | 3x8 | 3x8 | 3x10 | 3x8 | 3x8 | +|---+---------------+------+-----+-----+-----+-----+------+-----+-----| diff --git a/templates/wiki/level-0.org b/templates/wiki/level-0.org new file mode 100644 index 0000000..e0020ae --- /dev/null +++ b/templates/wiki/level-0.org @@ -0,0 +1,13 @@ +# -*- mode: org; -*- +#+STARTUP: indent + +#+html-link-home "HOMEPAGE.html" +#+html-link-up "sitemap.html" + +#+HTML_HEAD: +#+HTML_HEAD: + +#+HTML_HEAD: +#+HTML_HEAD: +#+HTML_HEAD: +#+HTML_HEAD: diff --git a/templates/wiki/level-1.org b/templates/wiki/level-1.org new file mode 100644 index 0000000..23ee7d0 --- /dev/null +++ b/templates/wiki/level-1.org @@ -0,0 +1,13 @@ +# -*- mode: org; -*- +#+STARTUP: indent + +#+html-link-home "HOMEPAGE.html" +#+html-link-up "sitemap.html" + +#+HTML_HEAD: +#+HTML_HEAD: + +#+HTML_HEAD: +#+HTML_HEAD: +#+HTML_HEAD: +#+HTML_HEAD: -- cgit v1.2.3