From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rick Frankel Subject: Re: Bug formatting source code in new latex exporter Date: Wed, 27 Mar 2013 18:10:29 -0400 Message-ID: <20130327221028.GA28595@BigDog.local> References: <20130319211125.GA54083@BigDog.local> <87wqt0sget.fsf@gmail.com> <87txo1zsx0.fsf@gmail.com> <87obe7xk32.fsf@gmail.com> <20130326122831.GA5246@BigDog.local> <87620dgc5l.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]:54487) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKyYE-0002HJ-5Q for emacs-orgmode@gnu.org; Wed, 27 Mar 2013 18:10:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UKyYB-000444-Hg for emacs-orgmode@gnu.org; Wed, 27 Mar 2013 18:10:34 -0400 Received: from [204.62.15.78] (port=41707 helo=mail.rickster.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKyYB-00043s-E8 for emacs-orgmode@gnu.org; Wed, 27 Mar 2013 18:10:31 -0400 Content-Disposition: inline In-Reply-To: <87620dgc5l.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 Wed, Mar 27, 2013 at 03:17:26PM +0100, Nicolas Goaziou wrote: > Hello, > > > Maybe it's an in-built alias. This works w/ emacs -Q [...]: Probably. > 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. > > 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)? Yes. I've tried all possible combinations, and (with acrobat reader), the only way to get relative urls to work is w/o a protocol prefix. The absolute urls work just fine w/o the file: prefix as well. Here's an org snippet you can process to test the various possiblities (you need a file "t.html" in the same directory as the pdf): - [[file:/Users/rick/tmp/t.html]] - file :: #+LaTeX: \url{file:/Users/rick/tmp/t.html} - raw :: #+LaTeX: \url{/Users/rick/tmp/t.html} - [[file:./t.html]] - file :: #+LaTeX: \url{file:./t.html} - raw :: #+LaTeX: \url{./t.html} - [[file:t.html]] - file :: #+LaTeX: \url{file:t.html} - raw :: #+LaTeX: \url{t.html}