emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Should comments break paragraphs?


From: Eric S Fraga
Subject: Re: [O] Should comments break paragraphs?
Date: Wed, 17 Jul 2013 19:48:09 +0100
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux)

Nicolas Goaziou <address@hidden> writes:

[...]

>   (defun my-comment-removal (backend)
>     (delete-matching-lines "^[ \t]*#\\( \\|$\\)"))
>   (add-hook 'org-export-before-parsing-hook 'my-comment-removal)

Nicolas,

quick question as I am trying to understand the various hooks and
filters that make up the (not so new anymore ;-) exporter.

This little snippet works just fine for comment lines.  However, I tried
changing the regexp to one that matches an :ignoreheading: tag on a
headline.  This works when I do a LaTeX export but not an HTML one.  Why
would the behaviour be different in each case?

I have tried using org-export-before-processing-hook as well but I get
the same behaviour.

I am soooo confused!

Thanks,
eric

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.3.50.1, Org release_8.0.5-337-g9f3bed




reply via email to

[Prev in Thread] Current Thread [Next in Thread]