From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Leech-Pepin Subject: Re: Export to Texinfo Date: Tue, 31 Jul 2012 19:45:44 -0400 Message-ID: References: <87y5meaib9.fsf@gmail.com> <87a9yupn0c.fsf@gmail.com> <87zk6fk4tt.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:55202) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwM8J-0007hc-3W for emacs-orgmode@gnu.org; Tue, 31 Jul 2012 19:45:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SwM8H-0003v7-QM for emacs-orgmode@gnu.org; Tue, 31 Jul 2012 19:45:47 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:63023) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwM8H-0003uu-I2 for emacs-orgmode@gnu.org; Tue, 31 Jul 2012 19:45:45 -0400 Received: by wgbez12 with SMTP id ez12so4974192wgb.30 for ; Tue, 31 Jul 2012 16:45:44 -0700 (PDT) In-Reply-To: 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: =?ISO-8859-1?Q?Fran=E7ois_Pinard?= , Org Mode Mailing List On 31 July 2012 18:35, Jonathan Leech-Pepin wrote: > On Tue, Jul 31, 2012 at 5:18 PM, Nicolas Goaziou wrote: >> Hello, >> >> Jonathan Leech-Pepin writes: >> >>> I've done some further work on the org-e-texinfo exporter and have >>> gotten it to a point where it should be usable with only a few >>> shortcomings. >> >> Thanks for your work. I hope that you will get feedback on it. >> >>> - Two-column tables are restricted to a single "indicating" command, >>> defined by ~org-e-texinfo-def-table-markup~. I'm not sure how to >>> get around these limitations since they are created from description >>> lists (which do not recognize #+attr lines). >> >> What makes you think they don't? Plain lists accept affiliated >> keywords, items don't. >> > I thought I'd tested them against a plain list when trying to find a > way around that limitation. I'll have to try again tomorrow so that I > can eliminate the limitations still present regarding descriptive > lists. I've just added changes to make use of #+attr_texinfo: with descriptive lists. Thank you for making me revisit this. It accepts two attributes at the moment: - :table-type :: This accepts one of the following: "table" "ftable" "vtable". If the value is not one of these it will default to "table" - :indic :: This is the markup to be used on the first column of the table. It requires the "@" prefix to the command to be used. >>> Prior to exporting the following must be evaluated: >>> >>> (add-to-list 'org-export-snippet-translation-alist >>> '("info" . "e-texinfo")) >> >> Again, this is an user-oriented variable. You don't need it to accept >> @@info:...@@ export snippets and you shouldn't require the user to set >> it. >> > Usually no, but the sample (orgguide.org) document uses @@info:...@@ > to create @kbd, @key and @samp output, without it the document will > fail to export correctly (especially since @ is used for texinfo > commands). > > I suppose I should have clarified that those two commands were > required prior to exporting that specific document (for testing and > demonstration purposes). >> >> Regards, >> >> -- >> Nicolas Goaziou > > Regards, > > Jon > Regards, Jon