>> >> Using the following code, you can control whether notes enclosed in >> "notes" blcks will be exported by changing the value of the >> *export-my-notes* variable, when it is nil your notes will not be >> exported, when t they will be exported as quoted text. >> >> #+begin_src emacs-lisp >> (defvar *export-my-notes* nil) >> >> (defun org-exp-block-process-notes (body &rest headers) >> (if *export-my-notes* >> (format "\n#+begin_quote\n%s\n#+end_quote\n" body) >> "")) >> >> (org-export-blocks-add-block '(notes org-exp-block-process-notes nil)) >> #+end_src > > So, do I put my notes between the end of the (defun org-exp...) and > (org-export-blocks...)? >
No, sorry I should have been more clear, add the above elisp to your Emacs initialization (or just evaluate it in your scratch buffer), and then after doing so whenever you export a buffer containing a begin/end_notes block, the block will be removed during export. Then later if you want to export the notes along with the article text, you can evaluate the following elisp code to set *export-my-notes* to t, and re-export to find the notes embedded in the exported document. #+begin_src emacs-lisp (setq *export-my-notes* t) #+end_src Hope this clears things up -- Eric -- Eric Schulte http://cs.unm.edu/~eschulte/