emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] latex enumeration issue


From: Mark Elston
Subject: Re: [Orgmode] latex enumeration issue
Date: Wed, 03 Feb 2010 23:00:34 -0800
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1

Found it.  Apparently org-export-preprocess-hook was the wrong hook.
When I used org-export-preprocess-final-hook instead it works as
expected.

Mark

On 2/3/2010 7:12 PM, Mark Elston wrote:
OK.  I guess I was wrong.  For some reason this hook doesn't seem
to work. I masked the issue a different way and it made me *think*
this was working.

Any ideas why this hook function would not remove header lines with
only tags and no header text?

Mark

On 2/3/2010 6:24 PM, Mark Elston wrote:
...

;;; Export Hooks
(defun mee-delete-empty-org-headers ()
(while (re-search-forward "^[*]+ [ ]+:[a-zA-Z0-9]+:$" nil t)
(progn
(beginning-of-line)
(kill-line 0))))

(add-hook 'org-export-preprocess-hook
'mee-delete-empty-org-headers)




_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode






reply via email to

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