[Orgmode] Re: latex export problem

2010-10-01 Thread Jörg Hagmann

 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 Hagmannwrites:


   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


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: latex export problem

2010-10-01 Thread Jörg Hagmann



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 Hagmannwrites:


   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



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: latex export problem

2010-10-01 Thread Noorul Islam
On Fri, Oct 1, 2010 at 2:33 PM, Noorul Islam K M  wrote:
> Jörg Hagmann  writes:
>
>>  org-version: yesterday's pull
>> emacs: 23.2.1 (x86_64-apple-darwin, NS apple-appkit-1038.29)
>>  of 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)
>  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

>> On 10/1/10 9:32 AM, Noorul Islam K M wrote:
>>> 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

>>> 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
>

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: latex export problem

2010-10-01 Thread Noorul Islam K M
Jörg Hagmann  writes:

>  org-version: yesterday's pull
> emacs: 23.2.1 (x86_64-apple-darwin, NS apple-appkit-1038.29)
>  of 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)
 of 2010-09-29 on noorul

Thanks and Regards
Noorul


> On 10/1/10 9:32 AM, Noorul Islam K M wrote:
>> 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
>>>
>> 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

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: latex export problem

2010-10-01 Thread Christian Moe

On 10/1/10 9:40 AM, Jörg Hagmann wrote:

org-version: yesterday's pull
emacs: 23.2.1 (x86_64-apple-darwin, NS apple-appkit-1038.29)
of 2010-05-09


And mine is

- this morning's pull

- GNU Emacs 23.2.1 (powerpc-apple-darwin9.8.0, NS apple-appkit-949.54) 
of 2010-09-03


CM


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: latex export problem

2010-10-01 Thread Jörg Hagmann

 org-version: yesterday's pull
emacs: 23.2.1 (x86_64-apple-darwin, NS apple-appkit-1038.29)
 of 2010-05-09

On 10/1/10 9:32 AM, Noorul Islam K M wrote:

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


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


--
Prof. Jörg Hagmann-Zanolari MD
University of Basel
Department of Biomedicine
Institute of Biochemistry and Genetics
Mattenstrasse 28
CH-4058 Basel
Switzerland
Phone +41 (0)61 267 3565


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: latex export problem

2010-10-01 Thread Noorul Islam K M
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
>

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

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode