document or i will forget
This commit is contained in:
parent
0e265a3794
commit
9017928dd4
1 changed files with 3 additions and 0 deletions
|
@ -224,6 +224,9 @@
|
|||
(lambda ()
|
||||
(local-set-key (kbd "C-c e") 'insert-latex-equation)))
|
||||
|
||||
|
||||
;; Use with: '#+begin_src pic :results file'
|
||||
;; Optional: ':exports none' to avoid showing the source
|
||||
(defun org-babel-execute:pic (body params)
|
||||
(let* ((tmpfile (org-babel-temp-file "pic-" ".png"))
|
||||
(quoted-text (replace-regexp-in-string "'" "'\\\\''" body))
|
||||
|
|
Loading…
Reference in a new issue