From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Lasarczyk Subject: Generic export: Missing (?) 'body-section-suffix' Date: Thu, 07 Jan 2010 22:26:04 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NSzsM-0007QL-57 for emacs-orgmode@gnu.org; Thu, 07 Jan 2010 16:26:38 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NSzsI-0007Kd-1w for emacs-orgmode@gnu.org; Thu, 07 Jan 2010 16:26:37 -0500 Received: from [199.232.76.173] (port=32868 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSzsH-0007KU-IR for emacs-orgmode@gnu.org; Thu, 07 Jan 2010 16:26:33 -0500 Received: from lo.gmane.org ([80.91.229.12]:44186) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NSzsG-0005vz-W1 for emacs-orgmode@gnu.org; Thu, 07 Jan 2010 16:26:33 -0500 Received: from list by lo.gmane.org with local (Exim 4.50) id 1NSzsA-0006Qj-5w for emacs-orgmode@gnu.org; Thu, 07 Jan 2010 22:26:26 +0100 Received: from p5b164639.dip.t-dialin.net ([91.22.70.57]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Jan 2010 22:26:26 +0100 Received: from christian by p5b164639.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Jan 2010 22:26:26 +0100 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 Dear org-developers, I tried to write a little export filter using the generic export mechanism and observed an unexpected -- at least to me -- behavior with 6.33f and git- HEAD. Here is the (unfinished) export setting: (org-set-generic-type "Contralateral Mindmap" '(:file-suffix ".asy" :key-binding ?C ;; For now we just need headers :author-export nil :tags-export nil :drawers-export nil :toc-export nil :title-format "Node map = Node(\"%s\"" :body-section-header-prefix ("\n " "\n " "\n " "\n " "\n " "\n ") :body-section-header-format ", Node(\"%s\"" :body-section-suffix ")" :body-header-section-numbers nil :body-line-format "" :body-line-wrap 75 )) Here is a minimal example (input): #+TITLE: Mymap * aaa ** bbb Ignore content, ignore content, ignore content *** ccc ** ddd *** eee *** fff * ggg * hhh ** iii ** jjj And here is the exported output: Node map = Node("Mymap" , Node("aaa" , Node("bbb" , Node("ccc")) , Node("ddd" , Node("eee") , Node("fff"))) , Node("ggg") , Node("hhh" , Node("iii") , Node("jjj" In my opinion the body-section-suffix [ here =")" ] is missing for all last section levels (hhh & jjj), so I expected an additional "))" at the end. BTW: Is there a way to add a footer? Because I have to add an additional ");" (not expected to be done by my generic exporter settings yet). Best regards, Christian