Heading won't unfold on TAB if last line has just spaces, with empty line preceding.

2020-10-13 Thread Giovanni Moretti
There's something weird with headings that can cause unfolding to fail. Headings can be folded with TAB refuse to unfold - they need Shift-TAB to see the contents. This is scary as it looks like content has been accidentally deleted whereas it's really just hidden. The TAB-cycling worked as

Org-publish: how do I access user-defined keywords in html-preamble function?

2019-12-29 Thread Giovanni Moretti
I'm working on a blog published via org-publish but one things got me stumped: accessing user defined keywords while publishing to HTML: Each post is in an orgmode file, and has a simple structure. E.g. one post starts with: #+title: Fix for Sparkfun Arduino Pro Micro #+date:

[O] Bug (or at least a trap) in exporting #+begin_src blocks

2014-02-23 Thread Giovanni Moretti
-- == Dr Giovanni Moretti | School of Engineering and Advanced Technology Senior Lecturer | Massey University, Palmerston North, New Zealand Computer Science| Ph +64-6-3505799x84134 Fax +64-6-3502259 - ZL2GX

Re: [O] How to activate pre.src in org-babel html output? Can only get class=example

2012-02-19 Thread Giovanni Moretti
) for getting a #+begin_src---#+end_src block is handy here. Although the example above relates to #+begin_src python blocks, the fix should work with other languages. Cheers and thanks Giovanni == Dr Giovanni Moretti | School

[O] How to activate pre.src in org-babel html output? Can only get class=example

2012-02-12 Thread Giovanni Moretti
to differentiate the two blocks. I'm using Emacs 23.1.50.1 and the lastest orgmode commit b5082974c83a3a4838db86025edce857b11e5847 (Fri Feb 3 15:18:05 2012 +0100) Any tips? Thanks Giovanni -- == Dr Giovanni Moretti | School

Re: [Orgmode] Re: Bug: subtree export fails with src block

2010-10-03 Thread Giovanni Moretti
I'm just starting with Babel and have been puzzled about why one file worked and another didn't. I have been playing in a new file without any headers at all (no lines starting with '*') and while I could execute the code in the buffer, exporting to HTML always failed with: No such file:

[Orgmode] Vertical line anomaly between Example block and lines starting with a colon

2010-06-06 Thread Giovanni Moretti
My first post to this list - thanks Dominik and all, your efforts are much appreciated. I'm working up a presentation on orgmode for a local club and needed to prefix it with a brief emacs overview, and so included this: #+BEGIN_EXAMPLE ctrl-P (previous line)