[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] ignoreheading in LaTeX export
From: |
Alan Schmitt |
Subject: |
Re: [O] ignoreheading in LaTeX export |
Date: |
Sat, 29 Mar 2014 10:48:59 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) |
Hi Rasmus,
Rasmus <address@hidden> writes:
> This is why you would want to use a filter rather than a hook
> (i.e. you only want to retain the Org structure when exporting).
> Here's a slightly modified version of the filter I use.
Thank you for this suggestion.
I went back to my original problem (how to neatly fold away some setup
code at the beginning of the file) and I'm now using a solution that
seems to work well.
- The setup heading has a 'ignoreheading' tag (there is no longer
a 'noexport' tag).
- Code blocks inside have a ':exports none' header.
- The next block where I want to add some heading-less text also has
a 'ignoreheading' tag.
- I'm using the "before-parsing" hook to get rid of these headings.
Thanks again,
Alan
Re: [O] ignoreheading in LaTeX export, Marcin Borkowski, 2014/03/29