From mboxrd@z Thu Jan 1 00:00:00 1970 From: Noorul Islam Subject: Re: latex export problem Date: Fri, 1 Oct 2010 14:47:20 +0530 Message-ID: References: <4CA4A4CF.6060305@unibas.ch> <878w2icqrz.fsf@noorul.maa.corp.collab.net> <4CA5906D.3090901@unibas.ch> <87zkuyb7yv.fsf@noorul.maa.corp.collab.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=48512 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P1bk3-0004IC-Mk for Emacs-orgmode@gnu.org; Fri, 01 Oct 2010 05:17:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P1bk0-000392-VG for Emacs-orgmode@gnu.org; Fri, 01 Oct 2010 05:17:23 -0400 Received: from mail-yw0-f41.google.com ([209.85.213.41]:62081) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P1bk0-00038u-RZ for Emacs-orgmode@gnu.org; Fri, 01 Oct 2010 05:17:20 -0400 Received: by ywl5 with SMTP id 5so1363883ywl.0 for ; Fri, 01 Oct 2010 02:17:20 -0700 (PDT) In-Reply-To: <87zkuyb7yv.fsf@noorul.maa.corp.collab.net> 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: =?ISO-8859-1?Q?J=F6rg_Hagmann?= Cc: Emacs-orgmode@gnu.org On Fri, Oct 1, 2010 at 2:33 PM, Noorul Islam K M wrote: > J=F6rg Hagmann writes: > >> =A0org-version: yesterday's pull >> emacs: 23.2.1 (x86_64-apple-darwin, NS apple-appkit-1038.29) >> =A0of 2010-05-09 >> > > I copied your example to a file /tmp/test.org and with the cursor on > Second head I did "C-c C-e 1 l". It did generate output file > /tmp/scripts/filename.tex and I did not get any error. > > Is it related to Mac? I am not sure though > > 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) > =A0of 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("=C6=C7=18=19=1A=1B=1C=1D=1E%=1E&=1E'=1E(=C8=C9!=1E)# Thanks and Regards Noorul >> On 10/1/10 9:32 AM, Noorul Islam K M wrote: >>> J=F6rg Hagmann =A0writes: >>> >>>> =A0 Dear list, >>>> >>>> I have an org file named "test.org" structured as follows (minimal exa= mple): >>>> >>>> ------minimal example------------ >>>> * Head >>>> =A0 =A0text >>>> >>>> * Second head >>>> =A0 =A0:PROPERTIES: >>>> =A0 =A0:EXPORT_OPTIONS: H:5 num:nil toc:t \n:nil @:t ::t |:t ^:{} -:t = f:t >>>> *:t skip:nil d:nil tags:nil >>>> =A0 =A0:EXPORT_TITLE: My Title >>>> =A0 =A0:EXPORT_FILE_NAME: scripts/filename >>>> =A0 =A0:END: >>>> >>>> >>>> #+begin_src latex >>>> \input gentium-ge >>>> #+end_src >>>> >>>> ** section >>>> =A0 =A0 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 >>>> >>> Can you please tell us which version of emacs and org-mode are you >>> using? >>> >>> M-x org-version >>> M-x emacs-version >>> >>> Thanks and Regards >>> Noorul >