From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: [ANN] ASCII back-end for new export engine Date: Sun, 22 Jan 2012 09:21:07 -1000 Message-ID: References: <87pqec4xua.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:37005) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rp2yR-0007Lo-Is for emacs-orgmode@gnu.org; Sun, 22 Jan 2012 14:21:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rp2yQ-0000le-7f for emacs-orgmode@gnu.org; Sun, 22 Jan 2012 14:21:07 -0500 Received: from oproxy1-pub.bluehost.com ([66.147.249.253]:58401) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Rp2yP-0000lO-UQ for emacs-orgmode@gnu.org; Sun, 22 Jan 2012 14:21:06 -0500 In-Reply-To: <87pqec4xua.fsf@gmail.com> (Nicolas Goaziou's message of "Sat, 21 Jan 2012 21:14:37 +0100") 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: Nicolas Goaziou Cc: Org Mode List Nicolas Goaziou writes: > Hello, > > I've commited an ASCII back-end for new export engine. > > Assuming contrib directory is in your load-path, you just need to > (require 'org-export) to have both LaTeX and ASCII exporters ready to > boot. > > You can then access to the dispatcher with M-x org-export-dispatch and > test various configurations from there. > > As a reminder, you can ask for a table of contents, list of tables and > list of listings with, respectively, "#+toc: headlines", "#+toc: tables" > and "#+toc: listings". Also, drawers[1] are exported transparently by > default. > > Feedback is welcome. > > > Regards, > > [1] properties drawers excepted: those are different elements anyway. Aloha Nicolas, I think there might be a problem with the regular expression for captions on line 703 or org-e-latex.el. I have a dim understanding of regular expressions and the various parsers, but I suspect the problem is in this part: [^][]. At any rate, this input: #+CAPTION: [An example photograph]{An example photograph}. #+LABEL: fig:photo yields this (unexpected) output: \caption{\label{fig:photo}[An example photograph]\{An example photograph\}.} All the best, Tom -- Thomas S. Dye http://www.tsdye.com