Cleanup and manuals now can have box diagrams

This commit is contained in:
Felix Brendel
2019-05-15 13:19:55 +02:00
parent 5548192dc9
commit fb7f3a00c9
5 changed files with 40 additions and 204 deletions
+32 -8
View File
@@ -1,5 +1,31 @@
#+title: The Slime 1.0 Manual
#+begin_abstract
sad
#+end_abstract
\tableofcontents
* testbox :noexport:
#+BEGIN_SRC ditaa :file diagrams/test.eps :cmdline --no-separation --no-shadows
+-----+-----+ +-----+-----+ +-----+-----+ +-----+-----+
| | | | | | | | | | | |
| | |--->| | |--->| | |--->| | / |
| | | | | | | | | | | |
+-----+-----+ +-----+-----+ +-----+-----+ +-----+-----+
|
|
V
+-----+-----+
| | |
| | / |
| | |
+-----+-----+
#+END_SRC
#+RESULTS:
[[file:diagrams/test.eps]]
{{{slime_header}}}
#+caption: Some text to illustrate
#+begin_src slime
@@ -10,7 +36,7 @@
(fib (- x 2))))))
(print (if (> (fib 3) 1)
"Hello Felixses\n"
"Hello World\n"
"Goodbye World\n"))
(fib 12)
@@ -38,26 +64,24 @@
#+author: Felix Brendel
#+mail: felix.brendel@airmail.cc
#+options: H:2
#+options: H:2 toc:nil
#+macro: slime_header (eval (concat "#+header: :exports both" "\n" "#+attr_latex: :options keywordstyle=\\color{slimeKeyword}, commentstyle=\\color{slimeComment}, stringstyle=\\color{slimeString}"))
#+latex_class:assign
#+latex_class:article
#+latex_header: \usepackage[german]{babel}
#+latex_header: \usepackage{xcolor}
#+latex_header: \usepackage{listings}
#+latex_header: \definecolor{slimeKeyword}{HTML}{B58900}
#+latex_header: \definecolor{slimeString}{HTML}{2AA198}
#+latex_header: \definecolor{slimeComment}{HTML}{839496}
#+latex_header: \lstdefinelanguage{slime}
#+latex_header: {
#+latex_header: % list of keywords
#+latex_header: morekeywords={
#+latex_header: print,
#+latex_header: if,
#+latex_header: define,
#+latex_header: cond
#+latex_header: =, >, >=, <, <=, +, -, *, /, **, assert, define, define-syntax, mutate, if, quote, quasiquote, and, or, not, while, let, lambda, special-lambda, eval, begin, list, pair, first, rest, set-type, delete-type, type, info, show, print, read, exit, break, memstat, try, load, copy, error, symbol->keyword, string->symbol, symbol->string, concat-strings
#+latex_header: },
#+latex_header: basicstyle=\ttfamily\small,
#+latex_header: showstringspaces=false,