emacs-orgmode
[Top][All Lists]
Advanced

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

[O] non-beamer :ignoreheading: does not work for html (org 8.2.5h)


From: Miguel Ruiz
Subject: [O] non-beamer :ignoreheading: does not work for html (org 8.2.5h)
Date: Mon, 17 Mar 2014 03:40:11 -0800

Hi

The Suvayu edited answer of Jul 26 '13 at 11:42

http://stackoverflow.com/questions/10295177/is-there-an-equivalent-of-org-modes-b-ignoreheading-for-non-beamer-documents

#+begin_src elisp

(require 'ox)

(defun sa-ignore-headline (contents backend info)
  "Ignore headlines with tag `ignoreheading'."
  (when (and (org-export-derived-backend-p backend 'latex 'html 'ascii)
          (string-match "\\`.*ignoreheading.*\n"
                (downcase contents)))
    (replace-match "" nil nil contents)))

(add-to-list 'org-export-filter-headline-functions 'sa-ignore-headline)

#+end_src elisp

for me, works for latex and ascii backends but not for html.

Can anyone reproduce it?  Any hints?

TIA

Emacs 24.3, orgmode 8.2.5h-61-g39cfc3

____________________________________________________________
FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
Check it out at http://www.inbox.com/earth





reply via email to

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