You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
3 months ago | |
---|---|---|
.dir-locals.el | 1 year ago | |
.gitignore | 2 years ago | |
Aufläufe.org | 1 year ago | |
Aufstrich.org | 3 months ago | |
Eintöpfe.org | 1 year ago | |
Kuchen & Kekse.org | 9 months ago | |
Nicht_essbar.org | 12 months ago | |
Nudeln.org | 1 year ago | |
README.org | 1 year ago | |
Snacks.org | 9 months ago | |
Soßen.org | 1 year ago |
README.org
Rezepte
Ich sammle hier meine Rezepte in 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
yasnippet-snippet, um ein neues rezept einzutragen: ~/.emacs.d/snippets/org-mode/rezept.
Die darin verwendete funktion my/string-to-var
:
(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)))