Re: [O] How to include comments on export? org-exp-blocks.el?

2012-01-23 Thread Eric Schulte
There are currently begin/end_comment blocks implemented as part of org-exp-blocks.el. See the `org-export-blocks-format-comment' function which is fairly simple and should not be difficult to customize. Best, Samuel Wales samolog...@gmail.com writes: We had a wonderful discussion of it once,

Re: [O] How to include comments on export? org-exp-blocks.el?

2012-01-20 Thread Samuel Wales
We had a wonderful discussion of it once, along with different possible uses for inline tasks, inclusion of paragraphs, non-exported headlines for easier structure editing, universal syntax, and returning text to higher level. On my blog I use a colored background, which could also serve as

[O] How to include comments on export? org-exp-blocks.el?

2011-10-24 Thread Herbert Sitz
I'm trying to see if there is a way to include comments on export, to show up as something like the comments boxes you see in MS Word. I see Eric Schulte did some work on this and that somehow it ended up (I think) as part of what you could do using the org-exp-blocks addon. But I'm not sure how

Re: [O] How to include comments on export? org-exp-blocks.el?

2011-10-24 Thread Herbert Sitz
Herbert Sitz hesitz at gmail.com writes: Can someone give an example of how org-exp-blocks (or anything else) could be used to export comment blocks as graphic notes in the text? Just to add a bit. I do have the following line in my .emacs: (require 'org-exp-blocks) and I have a

Re: [O] How to include comments on export? org-exp-blocks.el?

2011-10-24 Thread Nick Dokos
Herbert Sitz hes...@gmail.com wrote: Herbert Sitz hesitz at gmail.com writes: Can someone give an example of how org-exp-blocks (or anything else) could be used to export comment blocks as graphic notes in the text? Just to add a bit. I do have the following line in my .emacs:

Re: [O] How to include comments on export? org-exp-blocks.el?

2011-10-24 Thread Jambunathan K
Herbert Sitz hes...@gmail.com writes: I'm trying to see if there is a way to include comments on export, to show up as something like the comments boxes you see in MS Word. What is your target format? Is it org-odt-doc. If yes, then currently there is no support for annotations/comments. It

Re: [O] How to include comments on export? org-exp-blocks.el?

2011-10-24 Thread Jambunathan K
So I tried (add-hook 'org-export-preprocess-hook (function org-export-blocks-preprocess)) and I get the comment in the HTML output. Is it valid a valid xhtml? M-x nxml-mode C-c C-n (assumming rng validation is on) I find that it suffers from the same problem that cropped up wrt special

Re: [O] How to include comments on export? org-exp-blocks.el?

2011-10-24 Thread Nick Dokos
Jambunathan K kjambunat...@gmail.com wrote: So I tried (add-hook 'org-export-preprocess-hook (function org-export-blocks-preprocess)) and I get the comment in the HTML output. Is it valid a valid xhtml? I have no idea: I was mainly interested in how to make org-exp-blocks to

Re: [O] How to include comments on export? org-exp-blocks.el?

2011-10-24 Thread Jambunathan K
I think the comment blocks are better handled as special blocks instead of org-exp-blocks. That may very well be true. If only - , From org-export-preprocess-string | ;; Call the hook | (run-hooks 'org-export-preprocess-hook) | | ;; Remove comment environment and