|
From: | Julien Cubizolles |
Subject: | Re: Question about string-match and match-string |
Date: | Thu, 18 Jul 2013 10:00:43 +0200 |
User-agent: | Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) |
Rasmus <rasmus@gmx.us> writes: > (defun rasmus/org-latex-ignore-heading (headline backend info) > "Strip headline from HEADLINE if it has tag ignoreheading for > certain headlines. `info' is Ignored" > (when (and (org-export-derived-backend-p backend 'latex 'html 'ascii) > (string-match "\\`.*ignoreheading.*\n" > (downcase headline))) > (replace-match "" nil nil headline))) > > (add-to-list 'org-export-filter-headline-functions > 'rasmus/org-latex-ignore-heading) I'm also looking for a ignoreheading function and was looking forward to using yours. However I get a (void-variable headline) error when exporting to LaTeX. Julien.
[Prev in Thread] | Current Thread | [Next in Thread] |