<div dir="auto">Hi All,<div dir="auto">I'm in Berlin again for a short time and hope to see you at Wednesday's meeting (if I have the correct date!).</div><div dir="auto"><span style="font-family:sans-serif">If anyone is interested I would like to share about customising org-mode export.</span></div><div dir="auto"><span style="font-family:sans-serif">It's simpler than you might think.</span></div><div dir="auto"><span style="font-family:sans-serif"> </span></div><div dir="auto">Emacs org-mode allows you to write and evaluate source code blocks in your org documents. It's called org-babel.</div><div dir="auto">Writing about this feature in org-mode is tricky because when you export the org document it removes the special syntax which tells org-mode about the code. Quoting helps but you lose the code highlighting and can't execute quoted code in the original org file. You end up duplicating code blocks which is very bad.</div><div dir="auto">I wrote a very small org-mode exporter which does the right thing for source code blocks and doesn't require duplication or quoting. The exporter code is tiny but it took several days to figure out what to do!</div><div dir="auto">Cheers</div><div dir="auto">Gary</div><div dir="auto"><br></div><div dir="auto"></div><div dir="auto"><br></div></div>