From 9d13f3dbb707d2a28bef3a4dda91fe58c152666e Mon Sep 17 00:00:00 2001 From: Marius Peter Date: Wed, 29 Sep 2021 19:50:10 -0700 Subject: Misc. --- .gitignore | 5 +---- resources/templates/documents/letter-default.setup | 23 ++++++++++++++++++++++ resources/templates/documents/letter.setup | 22 --------------------- resources/templates/documents/title-default.org | 1 - smart-documents.org | 2 +- 5 files changed, 25 insertions(+), 28 deletions(-) create mode 100644 resources/templates/documents/letter-default.setup delete mode 100644 resources/templates/documents/letter.setup diff --git a/.gitignore b/.gitignore index a840188..16743c4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -# .gitignore +# .gitignore for Smart Documents. # All secrets! secret* @@ -6,9 +6,6 @@ secret* # .org => .el => .elc *.elc -# All website pages -*.html - # All caches *.cache diff --git a/resources/templates/documents/letter-default.setup b/resources/templates/documents/letter-default.setup new file mode 100644 index 0000000..f297993 --- /dev/null +++ b/resources/templates/documents/letter-default.setup @@ -0,0 +1,23 @@ +# -*- mode: org; eval: (visual-line-mode); -*- + +#+OPTIONS: title:nil + +#+LATEX_CLASS: letter + +# Ensure room for header and footer +#+LATEX_HEADER: \usepackage{geometry}[ +#+LATEX_HEADER: left = 1in , +#+LATEX_HEADER: right = 1in , +#+LATEX_HEADER: top = 1in , +#+LATEX_HEADER: bottom = 1in ,] + +# Beautiful fonts ONLY +#+LATEX_HEADER: \usepackage{fontspec} +# Regular font +#+LATEX_HEADER: \setmainfont{Linux Libertine} +# Monospaced font +#+LATEX_HEADER: \setmonofont{Courier Prime} + +# #+LATEX_HEADER: \usepackage{draftwatermark} +# #+LATEX_HEADER: \SetWatermarkText{Draft} +# #+LATEX_HEADER: \SetWatermarkScale{1} diff --git a/resources/templates/documents/letter.setup b/resources/templates/documents/letter.setup deleted file mode 100644 index 45d2252..0000000 --- a/resources/templates/documents/letter.setup +++ /dev/null @@ -1,22 +0,0 @@ -# -*- mode: org; eval: (visual-line-mode); -*- -#+OPTIONS: title:nil - -#+LATEX_CLASS: letter - -# Ensure room for header and footer -#+LATEX_HEADER: \usepackage{geometry}[ -#+LATEX_HEADER: left = 1in , -#+LATEX_HEADER: right = 1in , -#+LATEX_HEADER: top = 1in , -#+LATEX_HEADER: bottom = 1in ,] - -# Beautiful fonts ONLY -#+LATEX_HEADER: \usepackage{fontspec} -# Regular font -#+LATEX_HEADER: \setmainfont{Linux Libertine} -# Monospaced font -#+LATEX_HEADER: \setmonofont{Courier Prime} - -# #+LATEX_HEADER: \usepackage{draftwatermark} -# #+LATEX_HEADER: \SetWatermarkText{Draft} -# #+LATEX_HEADER: \SetWatermarkScale{1} diff --git a/resources/templates/documents/title-default.org b/resources/templates/documents/title-default.org index c2c3c09..72b2ae3 100644 --- a/resources/templates/documents/title-default.org +++ b/resources/templates/documents/title-default.org @@ -6,7 +6,6 @@ #+LATEX: \Huge\textbf{\thetitle}\\[1in] #+LATEX: \LARGE\texttt{\theauthor}\\ #+LATEX: \thedate - #+LATEX: \clearpage #+LATEX: \normalsize diff --git a/smart-documents.org b/smart-documents.org index b8b0863..c7a4c2e 100644 --- a/smart-documents.org +++ b/smart-documents.org @@ -1873,7 +1873,7 @@ prettify checkbox lists when viewed on GNU/Linux systems. prettify-symbols-alist) (push '("[-]" . "◎" ) ; Partially checked item prettify-symbols-alist) - (push '("-" . "⁃" ) ; DONE headings + (push '("-" . "⁃" ) ; Plain list dash prettify-symbols-alist) (prettify-symbols-mode)))) #+END_SRC -- cgit v1.2.3