From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Leech-Pepin Subject: Re: Export to Texinfo Date: Fri, 20 Jul 2012 09:34:37 -0400 Message-ID: References: <87y5meaib9.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]:51668) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SsDM0-0003y0-P8 for emacs-orgmode@gnu.org; Fri, 20 Jul 2012 09:34:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SsDLr-0006J7-1g for emacs-orgmode@gnu.org; Fri, 20 Jul 2012 09:34:48 -0400 Received: from mail-wg0-f41.google.com ([74.125.82.41]:49692) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SsDLq-0006J0-Qo for emacs-orgmode@gnu.org; Fri, 20 Jul 2012 09:34:38 -0400 Received: by wgbds1 with SMTP id ds1so555461wgb.0 for ; Fri, 20 Jul 2012 06:34:38 -0700 (PDT) In-Reply-To: <87y5meaib9.fsf@gmail.com> 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 > >> - The largest issue perhaps: There is no method to create @kbd{} and >> @key{} commands on export. If anyone has any suggestions how these >> might be achieved (perhaps looking for a prefix in =code=?) I would >> greatly appreciate it. > > You can probably use export-snippets: > > An important key: @@e-info:@kbd{C-c C-c}@@. Can I define the export-snippet using: (add-to-list 'org-export-snippet-translation-alist '("e-info" . "e-texinfo")) Or should that be left up to the discretion of the user? >> There are a few limitations to what will successfully be exported: >> - Headlines cannot contain any of the following symbols: periods, >> commas, colons or parentheses. This is a limitation of texinfo and >> will result in errors when running makeinfo. Semi-colons will >> export however. > > Can't you protect these chars? Unfortunately you can't currently. I'm using the Headlines both as section heading and Node heading. The Nodes cannot contain those characters. This also means that you cannot have duplicate headline names in the document. See http://www.gnu.org/software/texinfo/manual/texinfo/html_node/Node-Line-Requirements.html I should be able to get around this by allowing for a :NODE: property for use in the menus however, if there is some benefit in doing so. > > > Regards, > > -- > Nicolas Goaziou Regards, Jon