summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--smart-documents.org29
-rw-r--r--smart-documents.pdfbin194310 -> 237863 bytes
-rw-r--r--themes/blendoit-light-theme.el8
3 files changed, 25 insertions, 12 deletions
diff --git a/smart-documents.org b/smart-documents.org
index a7061bc..431cd57 100644
--- a/smart-documents.org
+++ b/smart-documents.org
@@ -2,16 +2,12 @@
#+TITLE: Smart Documents
#+AUTHOR: Marius Peter
-#+DATE: <2020-10-23 Fri>
+#+DATE: <2020-11-04 Wed>
#+EMAIL: blendoit@gmail.com
#+STARTUP: showall
#+SETUPFILE: ~/.emacs.d/templates/documents/default.org
#+INCLUDE: ~/.emacs.d/templates/documents/default.org_title
-# Beautiful font pairing
-# #+LATEX_HEADER: \setmainfont{urw gothic}
-# #+LATEX_HEADER: \setmonofont{hermit}
-
#+LATEX: \begin{abstract}
The idea of /Smart Documents/ came to me as I was reflecting on how to improve
the document creation process in my workplace. The GNU Emacs editor had
@@ -391,6 +387,12 @@ is pressed.
(find-file org-agenda-diary-file)))
#+END_SRC
+*** Open Org mode document properties
+
+#+BEGIN_SRC emacs-lisp :tangle yes
+(global-set-key [f9] 'sd-document-properties)
+#+END_SRC
+
** Windows
*** Make new window
@@ -735,9 +737,22 @@ symbol's definition.
:bind (("C-f" . counsel-grep-or-swiper)))
#+END_SRC
+** Coding languages
+
+*** TODO Emacs Lisp
+
+*** Python
+
+Python is included by default on most Linux distributions.
+
+#+BEGIN_SRC emacs-lisp :tangle yes
+(use-package py-yapf)
+(add-hook 'python-mode-hook 'py-yapf-enable-on-save)
+#+END_SRC
+
** File formats
-*** =csv= and Excel
+*** =csv= and Excel
#+BEGIN_SRC emacs-lisp :tangle yes
(use-package csv-mode)
@@ -1204,8 +1219,6 @@ Then, we use the previously declared function to set up our mode line.
#+BEGIN_SRC emacs-lisp :tangle yes
(global-tab-line-mode)
#+END_SRC
-
-
** Buffer
Save cursor location in visited buffer after closing it or Emacs.
diff --git a/smart-documents.pdf b/smart-documents.pdf
index d57bb4e..8ea51f4 100644
--- a/smart-documents.pdf
+++ b/smart-documents.pdf
Binary files differ
diff --git a/themes/blendoit-light-theme.el b/themes/blendoit-light-theme.el
index 6da5113..27c441b 100644
--- a/themes/blendoit-light-theme.el
+++ b/themes/blendoit-light-theme.el
@@ -1,5 +1,5 @@
(deftheme blendoit-light
- "Created 2020-11-03.")
+ "Created 2020-11-04.")
(custom-theme-set-faces
'blendoit-light
@@ -35,7 +35,7 @@
'(mode-line-buffer-id ((t (:weight bold))))
'(mode-line-emphasis ((t (:weight bold))))
'(mode-line-highlight ((t (:box (:line-width 2 :color "grey40" :style released-button)))))
- '(mode-line-inactive ((t (:family "Hermit" :background "SteelBlue4" :foreground "gainsboro" :box (:line-width -1 :color "gainsboro")))))
+ '(mode-line-inactive ((t (:box (:line-width -1 :color "gainsboro") :foreground "gainsboro" :background "SteelBlue4" :height 1.2 :family "Hermit"))))
'(isearch ((t (:background "DodgerBlue1" :foreground "white"))))
'(isearch-fail ((t (:background "RosyBrown1"))))
'(lazy-highlight ((t (:foreground "DodgerBlue1" :box 2))))
@@ -64,7 +64,7 @@
'(org-document-info ((t (:weight bold))))
'(org-table ((t (:height 0.8 :family "Hack"))))
'(org-block ((t (:height 0.8 :family "Hermit"))))
- '(org-special-keyword ((t (:inherit org-meta-line))))
+ '(org-special-keyword ((t (:inherit org-meta-line :weight bold :background "white"))))
'(org-level-1 ((t (:foreground "black" :weight bold :height 1.6 :family "Jost*"))))
'(org-level-2 ((t (:foreground "gray30" :weight bold :height 1.4))))
'(org-level-3 ((t (:foreground "gray45" :weight bold :height 1.2))))
@@ -78,7 +78,7 @@
'(org-done ((t (:background "ForestGreen" :foreground "White" :weight bold :height 1.2 :family "Hermit"))))
'(org-date ((t (:foreground "steel blue" :family "Hermit"))))
'(Info-quoted ((t (:inherit org-block))))
- '(org-priority ((t (:weight bold :inherit org-meta-line))))
+ '(org-priority ((t (:inherit org-meta-line))))
'(org-drawer ((t (:inherit org-meta-line))))
'(tab-line ((t (:background "gainsboro" :family "Hack"))))
'(tab-line-tab ((default (:inherit (tab-line))) (((class color) (min-colors 88)) (:box (:line-width 1 :color nil :style released-button))) (t (:inverse-video nil))))
Copyright 2019--2024 Marius PETER