From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug formatting source code in new latex exporter Date: Wed, 27 Mar 2013 15:17:26 +0100 Message-ID: <87620dgc5l.fsf@gmail.com> References: <20130319211125.GA54083@BigDog.local> <87wqt0sget.fsf@gmail.com> <87txo1zsx0.fsf@gmail.com> <87obe7xk32.fsf@gmail.com> <20130326122831.GA5246@BigDog.local> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:55072) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKrAV-0008Vf-U8 for emacs-orgmode@gnu.org; Wed, 27 Mar 2013 10:17:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UKrAU-0004fv-88 for emacs-orgmode@gnu.org; Wed, 27 Mar 2013 10:17:35 -0400 Received: from mail-wi0-x236.google.com ([2a00:1450:400c:c05::236]:38453) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKrAU-0004fZ-2v for emacs-orgmode@gnu.org; Wed, 27 Mar 2013 10:17:34 -0400 Received: by mail-wi0-f182.google.com with SMTP id hi18so2261330wib.15 for ; Wed, 27 Mar 2013 07:17:33 -0700 (PDT) In-Reply-To: <20130326122831.GA5246@BigDog.local> (Rick Frankel's message of "Tue, 26 Mar 2013 08:28:31 -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: emacs-orgmode@gnu.org Hello, Rick Frankel writes: > Either way. `:long t' seems a bit less self-documenting than > `:long-listing', but shorter is always better w/ attributes. Applied, with :long-listing. :long is too short... >> > 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 I don't see any reference to it in the "Languages" section in the manual. Therefore, I don't think it deserves an entry in `org-latex-minted-langs' until it becomes more official. >> > 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. I think it could break things. Did you use correct path to relative files (i.e. did you include "./" before the file name)? Regards, -- Nicolas Goaziou