From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?J=F6rg_Hagmann?= Subject: Re: latex export problem Date: Fri, 01 Oct 2010 14:05:23 +0200 Message-ID: <4CA5CE83.9020601@unibas.ch> References: <4CA4A4CF.6060305@unibas.ch> <878w2icqrz.fsf@noorul.maa.corp.collab.net> <4CA5906D.3090901@unibas.ch> <87zkuyb7yv.fsf@noorul.maa.corp.collab.net> <4CA5C83C.1090101@unibas.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from [140.186.70.92] (port=41905 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P1eMi-00081O-Ps for Emacs-orgmode@gnu.org; Fri, 01 Oct 2010 08:05:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P1eMh-0004nR-85 for Emacs-orgmode@gnu.org; Fri, 01 Oct 2010 08:05:28 -0400 Received: from smtp2pub.unibas.ch ([131.152.227.82]:34558) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P1eMh-0004nF-3V for Emacs-orgmode@gnu.org; Fri, 01 Oct 2010 08:05:27 -0400 In-Reply-To: <4CA5C83C.1090101@unibas.ch> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Noorul Islam Cc: Emacs-orgmode@gnu.org And an update: It also doesn't work on my Mac with Emacs 24 (GNU Emacs 24.0.50.1 (x86_64-apple-darwin, NS apple-appkit-1038.32) of 2010-10-01 on black.porkrind.org Summary: Works on - GNU Emacs 24.0.50.1 (i686-pc-linux-gnu) (Noorul) - GNU Emacs 23.1.1 (i486 pc-linux-gnu) (Jörg) Error on: - GNU Emacs 23.1.1 (i686-pc-linux-gnu) (Noorul) - GNU Emacs 23.2.1 (powerpc-apple-darwin9.8.0) (Christian) - GNU Emacs 23.2.1 (x86_64-apple-darwin) (Jörg) - GNU Emacs 24.0.50.1 (x86_64-apple-darwin) (Jörg) But, to repeat myself, it might not depend on the Emacs version. In my case, it used to work with GNU Emacs 23.2.1 (x86_64-apple-darwin)... Thanks and regards, Jörg On 10/1/10 1:38 PM, Jörg Hagmann wrote: > > > On 10/1/10 11:17 AM, Noorul Islam wrote: >>> I have on my machine: >>> >>> Org-mode version 7.01trans (release_7.01h.609.gc4916) >>> GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.12.12) >>> of 2010-09-29 on noorul >>> >>> Thanks and Regards >>> Noorul >> On emacs >> >> GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.12.12) of >> 2010-01-30 on noorul >> >> >> I get the following error >> >> Debugger entered--Lisp error: (wrong-type-argument stringp nil) >> get-file-buffer(nil) >> org-babel-exp-src-blocks(#("\\input gentium-ge" 0 17 (fontified nil >> font-lock-fontified t)) #("latex" 0 5 (font-lock-fontified t fontified >> nil))) >> apply(org-babel-exp-src-blocks #("\\input gentium-ge" 0 17 >> (fontified nil font-lock-fontified t)) #("latex" 0 5 >> (font-lock-fontified t fontified nil))) >> byte-code("ÆÇ%&'(ÈÉ!)# >> >> Thanks and Regards >> Noorul > I now tried it on linux (23.1.1 i486 pc-linux-gnu, GTK+ version > 2.20.0) ... > ... and there it works! > > Kind regards, Jörg >>>>> Jörg Hagmann writes: >>>>> >>>>>> Dear list, >>>>>> >>>>>> I have an org file named "test.org" structured as follows >>>>>> (minimal example): >>>>>> >>>>>> ------minimal example------------ >>>>>> * Head >>>>>> text >>>>>> >>>>>> * Second head >>>>>> :PROPERTIES: >>>>>> :EXPORT_OPTIONS: H:5 num:nil toc:t \n:nil @:t ::t |:t ^:{} >>>>>> -:t f:t >>>>>> *:t skip:nil d:nil tags:nil >>>>>> :EXPORT_TITLE: My Title >>>>>> :EXPORT_FILE_NAME: scripts/filename >>>>>> :END: >>>>>> >>>>>> >>>>>> #+begin_src latex >>>>>> \input gentium-ge >>>>>> #+end_src >>>>>> >>>>>> ** section >>>>>> text >>>>>> ------end of minimal example----------- >>>>>> >>>>>> I export the second head to a filename.tex file in a subdirectory >>>>>> (and >>>>>> convert it later to ConTeXt code, but that shouldn't matter here). I >>>>>> swear that this worked -- I have everything pertaining to my >>>>>> lectures >>>>>> in this file. >>>>>> However, it stopped working recently (without updating org-mode). >>>>>> All >>>>>> I get when I export "Second Head" to latex is: >>>>>> "No such file: /Users/me/test.org" >>>>>> The cause is the #+begin_src ... #+end_src block