summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Peter <marius.peter@tutanota.com>2021-06-13 09:33:48 -0700
committerMarius Peter <marius.peter@tutanota.com>2021-06-13 09:33:48 -0700
commitf4d9f258fd7163624697e0fd1c5d83e3ddc038c7 (patch)
tree304c9bb026a803f9cddc33cd5b2e7f439da29f96
parent2abba2b8570391343f950fb9e32ce3dfa8b34363 (diff)
Additional cleanup :trollface:
-rw-r--r--smart-documents.org25
-rw-r--r--smart-documents.pdfbin447540 -> 453134 bytes
2 files changed, 15 insertions, 10 deletions
diff --git a/smart-documents.org b/smart-documents.org
index 2d26f3e..f316e61 100644
--- a/smart-documents.org
+++ b/smart-documents.org
@@ -1280,22 +1280,19 @@ in-buffer behavior can be arbitrarily assigned.
* One-click workflows
In this section, we'll implement useful one-click workflows. It comes
-later keybinding definitions for two reasons:
+later than the keybinding definitions for two reasons:
-1. To a new user, keybindings are more important than the precise
+1. To a new user, keybindings are more relevant than the
implementation of the bound function---it is more important to know
how to drive a car than how a car works.
2. If the following subsections share the same name as the keybinding
- subsection (Section [[Keyboard shortcuts]]), the links will resolve to
- the earliest heading in the document, i.e. the keybinding
- subsection and not the subsection describing the `one-click
- workflow'.
+ subsection (Section [[Keyboard shortcuts]]), the links to that name
+ will resolve to the earliest heading in the document, i.e. the
+ keybinding subsection and not the subsection describing the
+ `one-click workflow'.
** TODO Export to PDF
-This reimplements the most common Org mode export: Org \rightarrow
-LaTeX \rightarrow PDF. The binding is defined in Section [[Export to
-PDF]].
This series of ~quick-export~ functions have one objective: harmonize
the export of Emacs buffers to PDF. Org mode does this by design; we
describe additional exports for other modes, most notably Nroff mode
@@ -1311,7 +1308,11 @@ PDF. The binding is defined in Section [[Export to PDF]].
"Org mode async export to PDF and open.
This basically reimplements `C-c C-e C-a l o'."
(org-open-file (org-latex-export-to-pdf)))
+#+END_SRC
+
+*** From a Ledger report
+#+BEGIN_SRC emacs-lisp :tangle yes
(defun sd-quick-export--ledger-report ()
"Quick export for `ledger-mode' report buffers."
(let ((old-buffer (current-buffer)))
@@ -1674,6 +1675,10 @@ unusable. Thus, we /describe/ two themes that were developed
#+END_SRC
#+BEGIN_SRC emacs-lisp :tangle no
+ (load-theme 'molokai)
+#+END_SRC
+
+#+BEGIN_SRC emacs-lisp :tangle no
(load-theme 'sd-light)
#+END_SRC
@@ -1871,7 +1876,7 @@ the result of our profiling.
** Profiling---report
#+BEGIN_SRC emacs-lisp :tangle no
- (profiler-report)
+ (profiler-report)
#+END_SRC
* Conclusion
diff --git a/smart-documents.pdf b/smart-documents.pdf
index c9f639e..8309c9f 100644
--- a/smart-documents.pdf
+++ b/smart-documents.pdf
Binary files differ
Copyright 2019--2024 Marius PETER