From 12b687f4abcefef60b86116a6c6574144e00dcae Mon Sep 17 00:00:00 2001 From: Marius Peter Date: Sat, 21 Aug 2021 22:14:04 -0700 Subject: `sd' macro. --- smart-documents.org | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/smart-documents.org b/smart-documents.org index 1736c30..205988d 100644 --- a/smart-documents.org +++ b/smart-documents.org @@ -6,7 +6,7 @@ #+EMAIL: smart-documents@tuta.io #+OPTIONS: html-style:nil -#+STARTUP: showall +#+MACRO: sd /Smart Documents/ # LaTeX setup #+SETUPFILE: ~/.emacs.d/templates/documents/gnu-default.setup # Title page @@ -16,21 +16,23 @@ #+LATEX_HEADER_EXTRA: \newfontfamily\publicsans{Public Sans} #+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 captured my imagination, and I wanted to create an -accessible and highly productive text editor to benefit my -organization. In this paper, I'll lay out my vision for the /Smart -Document/, a file containing both text destined to the reader, and -code describing how to update, validate, and present this text; then, -I'll weave my personal GNU Emacs customizations with a tutorial. This -paper is a /Smart Document/ itself! +The idea of {{{sd}}} came to me as I was reflecting on how to improve +the document creation process in my workplace. The GNU Emacs editor +had captured my imagination, and I wanted to create an accessible and +highly productive text editor to benefit my organization. In this +paper, I'll lay out my vision for the /Smart Document/, a file +containing both text destined to the reader, and code describing how +to update, validate, and present this text; then, I'll weave my +personal GNU Emacs customizations with a tutorial. This paper is a +{{{sd}}} itself! #+LATEX: \end{abstract} * COMMENT All TODOs ** TODO Harmonize ~compagnon~ themes +** TODO Soft-coded paths + * Introduction The following sections were laid out very deliberately. When we start @@ -55,9 +57,9 @@ You can press ~f1~ at any time to access Emacs built-in help. ** TODO User details -One advantage of working with /Smart Documents/ is that they can -automatically be populated with our details in the header, footer, or -other appropriate element. +One advantage of working with {{{sd}}} is that they can automatically +be populated with our details in the header, footer, or other +appropriate element. #+NAME: user-details-get #+BEGIN_SRC emacs-lisp -- cgit v1.2.3