From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Elston Subject: Re: latex enumeration issue Date: Wed, 03 Feb 2010 23:00:34 -0800 Message-ID: <4B6A7092.9080801@comcast.net> References: <4B68A26A.3030509@comcast.net> <4B69DF82.70407@comcast.net> <4B6A2FC2.5020908@comcast.net> <4B6A3B10.5060300@comcast.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ncvhh-0001k8-7n for emacs-orgmode@gnu.org; Thu, 04 Feb 2010 02:00:41 -0500 Received: from [199.232.76.173] (port=59106 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ncvhf-0001ju-K6 for emacs-orgmode@gnu.org; Thu, 04 Feb 2010 02:00:39 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Ncvhe-0000GP-Fi for emacs-orgmode@gnu.org; Thu, 04 Feb 2010 02:00:39 -0500 Received: from qmta12.emeryville.ca.mail.comcast.net ([76.96.27.227]:48858) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ncvhd-0000GI-Vh for emacs-orgmode@gnu.org; Thu, 04 Feb 2010 02:00:38 -0500 In-Reply-To: <4B6A3B10.5060300@comcast.net> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode >