From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rick Frankel Subject: Re: Bug formatting source code in new latex exporter Date: Sun, 24 Mar 2013 19:29:25 -0400 Message-ID: References: <20130319211125.GA54083@BigDog.local> <87wqt0sget.fsf@gmail.com> <87txo1zsx0.fsf@gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([208.118.235.92]:37165) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJuLs-0008Hw-UN for emacs-orgmode@gnu.org; Sun, 24 Mar 2013 19:29:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UJuLq-0006p4-Iz for emacs-orgmode@gnu.org; Sun, 24 Mar 2013 19:29:24 -0400 Received: from [204.62.15.78] (port=50282 helo=mail.rickster.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJuLq-0006ou-Fh for emacs-orgmode@gnu.org; Sun, 24 Mar 2013 19:29:22 -0400 In-Reply-To: <87txo1zsx0.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: emacs-orgmode@gnu.org > > The cross reference approach seems clever, but maybe a simpler > > approach would simply be to add an ATTR_LaTeX(:longlisting) and leave > > it up to the user. > > That's the most reasonable option, indeed. > > The following patch implements :long-listing attribute for src-blocks. > > What do you think? Works for me. BTW, a couple of other small things: 1. I think `elisp' should be added to the default `org-latex-minted-langs'. 2. Unrelated, but I spent some time trying to get relative file links working. At least in Acrobat Reader on windows, the only way file links work is with no protocol at all (\url{path/to/file}). rick