From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug formatting source code in new latex exporter Date: Mon, 25 Mar 2013 22:09:37 +0100 Message-ID: <87obe7xk32.fsf@gmail.com> References: <20130319211125.GA54083@BigDog.local> <87wqt0sget.fsf@gmail.com> <87txo1zsx0.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56425) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKEeI-0004pI-5q for emacs-orgmode@gnu.org; Mon, 25 Mar 2013 17:09:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UKEeH-00065m-2m for emacs-orgmode@gnu.org; Mon, 25 Mar 2013 17:09:46 -0400 Received: from mail-wi0-x233.google.com ([2a00:1450:400c:c05::233]:62595) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKEeG-00065e-Sr for emacs-orgmode@gnu.org; Mon, 25 Mar 2013 17:09:45 -0400 Received: by mail-wi0-f179.google.com with SMTP id hn17so4569224wib.12 for ; Mon, 25 Mar 2013 14:09:44 -0700 (PDT) In-Reply-To: (Rick Frankel's message of "Sun, 24 Mar 2013 19:29:25 -0400") 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: Rick Frankel Cc: emacs-orgmode@gnu.org Hello, Rick Frankel writes: >> > 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. Good. I wonder if :long wouldn't be better. Since the attribute only applies to src-blocks, the "listing" is redundant. > BTW, a couple of other small things: > > 1. I think `elisp' should be added to the default > `org-latex-minted-langs'. There is no "elisp" language in Babel, is it? I think it's "emacs-lisp". > 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}). Do you mean the "file:" part should be dropped for files with a relative path? Regards, -- Nicolas Goaziou