From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Borkowski Subject: Re: Extending the Org syntax by a custom exporter - how to do it? Date: Tue, 25 Nov 2014 22:46:09 +0100 Message-ID: <87y4qzj6n2.fsf@wmi.amu.edu.pl> References: <20140315111059.00d3b8e0@aga-netbook> <20140315222244.5eee2361@aga-netbook> <874n2ysb30.fsf@gmail.com> <874mtnezx9.fsf@wmi.amu.edu.pl> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33315) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtNwN-0000e7-FI for emacs-orgmode@gnu.org; Tue, 25 Nov 2014 16:46:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XtNwH-00022V-QG for emacs-orgmode@gnu.org; Tue, 25 Nov 2014 16:46:31 -0500 Received: from msg.wmi.amu.edu.pl ([2001:808:114:2::50]:54841) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtNwH-00022P-Ib for emacs-orgmode@gnu.org; Tue, 25 Nov 2014 16:46:25 -0500 Received: from localhost (localhost [127.0.0.1]) by msg.wmi.amu.edu.pl (Postfix) with ESMTP id 810CF42071 for ; Tue, 25 Nov 2014 22:46:23 +0100 (CET) Received: from msg.wmi.amu.edu.pl ([127.0.0.1]) by localhost (msg.wmi.amu.edu.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ipdko55uyu6X for ; Tue, 25 Nov 2014 22:46:23 +0100 (CET) Received: from localhost (117-116.echostar.pl [213.156.117.116]) by msg.wmi.amu.edu.pl (Postfix) with ESMTPSA id 3878D4206A for ; Tue, 25 Nov 2014 22:46:21 +0100 (CET) In-reply-to: <874mtnezx9.fsf@wmi.amu.edu.pl> 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 On 2014-11-25, at 22:25, Marcin Borkowski wrote: > Now that I actually started work on my exporter, I'd like to investigate > this further. The thing is, I'm not sure where to start. First of all, > I have a bit old Org-mode (without latex-math-blocks); I guess I'll just > have to update it (I'll try to do an Elpa update in a minute). But my Just checked, latex-math-block is in git, but in Elpa. I don't have enough time now to install Org from Git (though this may be the final motivation for me to do so), so I'd especially welcome any answers to item 2 below. > question is: > > 1. Is it a good idea to instrument `org-latex--wrap-latex-math-block' > for Edebug to learn what's happening? > > 2. Is there any other (possibly simpler) instance of pseudo-blocks I > could study? It seems to me (from the docstring) that latex-math-blocks > are a bit tricky; what I'm interested in is more like creating a new > element similar to e.g. italics. TIA, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University