[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
- Re: [O] Should comments break paragraphs?, (continued)
- Re: [O] Should comments break paragraphs?, Rasmus, 2013/07/17
- Re: [O] Should comments break paragraphs?, Eric S Fraga, 2013/07/17
- Re: [O] Should comments break paragraphs?, Christian Moe, 2013/07/18
- Re: [O] Should comments break paragraphs?, Eric Abrahamsen, 2013/07/18
- Re: [O] Should comments break paragraphs?, Rasmus, 2013/07/18
- Re: [O] Should comments break paragraphs?, Eric Abrahamsen, 2013/07/18
- Re: [O] Should comments break paragraphs?, Rasmus, 2013/07/18
- Re: [O] Should comments break paragraphs?, Eric Schulte, 2013/07/17
- Re: [O] Should comments break paragraphs?, Bastien, 2013/07/17
- Re: [O] Should comments break paragraphs?, Nicolas Goaziou, 2013/07/17
- Re: [O] Should comments break paragraphs?,
Eric S Fraga <=
- Re: [O] Should comments break paragraphs?, Nicolas Goaziou, 2013/07/17
- Re: [O] Should comments break paragraphs?, Eric S Fraga, 2013/07/17
- Re: [O] Should comments break paragraphs?, Suvayu Ali, 2013/07/17
- Re: [O] Should comments break paragraphs?, Eric Schulte, 2013/07/17
- Re: [O] Should comments break paragraphs?, Nicolas Goaziou, 2013/07/17
- Re: [O] Should comments break paragraphs?, Andreas Leha, 2013/07/17
- Re: [O] Should comments break paragraphs?, Eric Schulte, 2013/07/17
- Re: [O] Should comments break paragraphs?, Andreas Leha, 2013/07/17
- Re: [O] Should comments break paragraphs?, Nicolas Goaziou, 2013/07/18