Erstelle readme.

This commit is contained in:
tastytea 2020-08-24 23:34:50 +02:00
parent 29005c7564
commit 28a7914273
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 28 additions and 0 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
*.pdf
*.tex
auto/
*.html

27
README.org Normal file
View File

@ -0,0 +1,27 @@
#+TITLE: Rezepte
#+LANGUAGE: de
#+OPTIONS: toc:nil num:nil author:nil date:nil
Ich sammle hier meine Rezepte in [[https://www.gnu.org/software/emacs/manual/html_mono/org.html#Summary][Org]]-dateien. Diese sind so konfiguriert, dass
die einzelnen rezepte in passabler qualität über LaTeX in PDF exportiert werden
können.
* Dazugehöriger code
[[https://github.com/joaotavora/yasnippet][yasnippet]]-snippet, um ein neues rezept einzutragen:
[[https://dotfiles.tastytea.de/.emacs.d/snippets/org-mode/rezept][~/.emacs.d/snippets/org-mode/rezept]].
Die darin verwendete funktion =my/string-to-var=:
#+begin_src elisp
(defun my/string-to-var (string)
"Replace characters that usually are illegal in variable names in STRING with _."
(interactive)
(replace-regexp-in-string
"[[:space:]]" "_"
(replace-regexp-in-string "[^[:ascii:]]" "_" string)))
#+end_src
# Local Variables:
# ispell-local-dictionary: "de_DE"
# End: