Erstelle readme.
This commit is contained in:
parent
29005c7564
commit
28a7914273
|
@ -1,3 +1,4 @@
|
|||
*.pdf
|
||||
*.tex
|
||||
auto/
|
||||
*.html
|
||||
|
|
|
@ -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:
|
Loading…
Reference in New Issue