From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rick Frankel Subject: Re: Bug formatting source code in new latex exporter Date: Tue, 26 Mar 2013 08:28:31 -0400 Message-ID: <20130326122831.GA5246@BigDog.local> References: <20130319211125.GA54083@BigDog.local> <87wqt0sget.fsf@gmail.com> <87txo1zsx0.fsf@gmail.com> <87obe7xk32.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35782) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKSzZ-0005q9-JH for emacs-orgmode@gnu.org; Tue, 26 Mar 2013 08:28:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UKSzV-0007UD-QF for emacs-orgmode@gnu.org; Tue, 26 Mar 2013 08:28:41 -0400 Received: from [204.62.15.78] (port=47174 helo=mail.rickster.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKSzV-0007Tu-Eo for emacs-orgmode@gnu.org; Tue, 26 Mar 2013 08:28:37 -0400 Content-Disposition: inline In-Reply-To: <87obe7xk32.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 On Mon, Mar 25, 2013 at 10:09:37PM +0100, Nicolas Goaziou wrote: > 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. Either way. `:long t' seems a bit less self-documenting than `:long-listing', but shorter is always better w/ attributes. > > 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". Maybe it's an in-built alias. This works w/ emacs -Q [...]: #+BEGIN_SRC elisp "hello" #+END_SRC > > 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? Yes. Actually, I think it should be dropped from ALL "file:" urls, relative or absolute. rick