From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Berry Subject: Re: Help with new exporter Date: Thu, 11 Jul 2013 04:04:10 +0000 (UTC) Message-ID: References: <28c5d705dc41bc66d5a17e23d5dc9324@johnrakestraw.com> <51DDB809.8050001@mpip-mainz.mpg.de> <37de0540be0008c1748751bae1f6c044@johnrakestraw.com> <599bcde2bd8f113f37a6ea4af1c72016@johnrakestraw.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54594) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ux87K-00040G-GI for emacs-orgmode@gnu.org; Thu, 11 Jul 2013 00:04:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ux87I-0000TO-8X for emacs-orgmode@gnu.org; Thu, 11 Jul 2013 00:04:30 -0400 Received: from plane.gmane.org ([80.91.229.3]:55312) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ux87I-0000TE-1p for emacs-orgmode@gnu.org; Thu, 11 Jul 2013 00:04:28 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ux87F-00027m-OX for emacs-orgmode@gnu.org; Thu, 11 Jul 2013 06:04:25 +0200 Received: from 172-7-166-26.lightspeed.sndgca.sbcglobal.net ([172.7.166.26]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Jul 2013 06:04:25 +0200 Received: from ccberry by 172-7-166-26.lightspeed.sndgca.sbcglobal.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Jul 2013 06:04:25 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org John Rakestraw johnrakestraw.com> writes: > > Apologies for responding to myself, but I realized after writing the > message below that if I use sed to remove the lines with the word > "label" and all of the empty brackets (i.e., =[]= and ={}= ) in the tex > file, then I'm very, very close to what I need. I assume I could write a > function and then call it in the publishing routine? > > --John One way to implement this is to define one or more filters. :filter-final-output might do it for the unwanted brackets. Maybe :filter-special-block is what you want for the unwanted label lines, which I guess are created in special block handling See http://orgmode.org/worg/exporters/filter-markup.html for some tips as well as the section headed ;;; The Filter System in ox.el. [rest deleted]