[NTG-context] spaces in file names

2010-01-13 Thread Hans van der Meer
I would like to include a file with spaces in its name. Clearly it does not work using: \input /Users/me/dir with spaces/file I can use something like: \def\DataDirectory#1{\def\DATADIRECTORY{#1/}} % in reality coping with empty #1 \DataDirectory{/Users/me/dir with spaces}

Re: [NTG-context] spaces in file names

2010-01-13 Thread luigi scarso
On Wed, Jan 13, 2010 at 11:51 AM, Hans van der Meer h.vanderm...@uva.nl wrote: I would like to include a file with spaces in its name. Clearly it does not work using: \input /Users/me/dir with spaces/file I can use something like:  \def\DataDirectory#1{\def\DATADIRECTORY{#1/}} % in reality

Re: [NTG-context] spaces in file names

2010-01-13 Thread Hans van der Meer
On 13 jan 2010, at 11:55, luigi scarso wrote: On Wed, Jan 13, 2010 at 11:51 AM, Hans van der Meer h.vanderm...@uva.nl wrote: I would like to include a file with spaces in its name. Clearly it does not work using: \input /Users/me/dir with spaces/file I can use something like:

Re: [NTG-context] spaces in file names

2010-01-13 Thread luigi scarso
On Wed, Jan 13, 2010 at 12:12 PM, Hans van der Meer h.vanderm...@uva.nl wrote: what about \setupexternalfigures[directory={\DATADIRECTORY}] ? Tried it but NO. That didn't work. Without a space in the directory name I can find the picture. But as soon as a space gets in the directory name

Re: [NTG-context] spaces in file names

2010-01-13 Thread Hans van der Meer
On 13 jan 2010, at 12:16, luigi scarso wrote: On Wed, Jan 13, 2010 at 12:12 PM, Hans van der Meer h.vanderm...@uva.nl wrote: what about \setupexternalfigures[directory={\DATADIRECTORY}] ? Tried it but NO. That didn't work. Without a space in the directory name I can find the picture. But

Re: [NTG-context] spaces in file names

2010-01-13 Thread luigi scarso
On Wed, Jan 13, 2010 at 12:26 PM, Hans van der Meer h.vanderm...@uva.nl wrote: NO again. Doing: \DataDirectory{/Users/hans/Movies/Inlays/Muziek/MadisonSquare Garden} % defs \DATADIRECTORY \setupexternalfigures[directory={\DATADIRECTORY}] gives an error: ! LuaTeX error main ctx instance:1:

Re: [NTG-context] spaces in file names

2010-01-13 Thread Wolfgang Schuster
Am 13.01.2010 um 12:26 schrieb Hans van der Meer: \DataDirectory{/Users/hans/Movies/Inlays/Muziek/MadisonSquare Garden} % defs \DATADIRECTORY \setupexternalfigures[directory={\DATADIRECTORY}] Why don't you save the pictures in a subdirectory of your document. Wolfgang

Re: [NTG-context] spaces in file names

2010-01-13 Thread Hans van der Meer
On 13 jan 2010, at 12:32, Wolfgang Schuster wrote: Am 13.01.2010 um 12:26 schrieb Hans van der Meer: \DataDirectory{/Users/hans/Movies/Inlays/Muziek/MadisonSquare Garden} % defs \DATADIRECTORY \setupexternalfigures[directory={\DATADIRECTORY}] Why don't you save the pictures in a

Re: [NTG-context] spaces in file names

2010-01-13 Thread Wolfgang Schuster
Am 13.01.2010 um 12:38 schrieb Hans van der Meer: I did grep for the definition of \setupexternalfigures but could not find it in the sources. Where is it? Perhaps I can spot the difficulty there. Or, it might be in the use that /externalfigure makes of it. Please point to the definitions

Re: [NTG-context] spaces in file names

2010-01-13 Thread Peter Rolf
Am 13.01.2010 12:32, schrieb Wolfgang Schuster: Am 13.01.2010 um 12:26 schrieb Hans van der Meer: \DataDirectory{/Users/hans/Movies/Inlays/Muziek/MadisonSquare Garden} % defs \DATADIRECTORY \setupexternalfigures[directory={\DATADIRECTORY}] Why don't you save the pictures in a

Re: [NTG-context] [tex-live] difference texlive 2008, 2009

2010-01-13 Thread Lubos Kolouch
Aditya Mahajan, Sun, 10 Jan 2010 04:46:54 -0500: On Sun, 10 Jan 2010, Lubos Kolouch wrote: Thank you for the investigation, I will open a ticket with the buggy (Archlinux) texlive package. You can also my context-minimals-git package for Archlinux:

Re: [NTG-context] spaces in file names

2010-01-13 Thread Hans van der Meer
On 13 jan 2010, at 16:35, Otared Kavian wrote: Hi Hans, The following works for me both with mkii and mkiv (running Mac OS X 10.6.2). Yes, I knew that. Adding the full path inside the \externalfigure works. But I would like to access picture files by separately adressing directory and

Re: [NTG-context] [tex-live] difference texlive 2008, 2009

2010-01-13 Thread Vedran Miletić
On Wed, Jan 13, 2010 at 3:21 PM, Lubos Kolouch lubos.kolo...@gmail.com wrote: Aditya Mahajan, Sun, 10 Jan 2010 04:46:54 -0500: On Sun, 10 Jan 2010, Lubos Kolouch wrote: Thank you for the investigation, I will open a ticket with the buggy (Archlinux) texlive package. You can also my

Re: [NTG-context] [tex-live] difference texlive 2008, 2009

2010-01-13 Thread Lubos Kolouch
Vedran Miletić, Wed, 13 Jan 2010 18:02:02 +0100: On Wed, Jan 13, 2010 at 3:21 PM, Lubos Kolouch lubos.kolo...@gmail.com wrote: Aditya Mahajan, Sun, 10 Jan 2010 04:46:54 -0500: On Sun, 10 Jan 2010, Lubos Kolouch wrote: Thank you for the investigation, I will open a ticket with the buggy

Re: [NTG-context] spaces in file names

2010-01-13 Thread Hans Hagen
On 13-1-2010 17:30, Hans van der Meer wrote: On 13 jan 2010, at 16:35, Otared Kavian wrote: Hi Hans, The following works for me both with mkii and mkiv (running Mac OS X 10.6.2). Yes, I knew that. Adding the full path inside the \externalfigure works. But I would like to access picture

Re: [NTG-context] [tex-live] difference texlive 2008, 2009

2010-01-13 Thread Vedran Miletić
On Wed, Jan 13, 2010 at 6:20 PM, Lubos Kolouch lubos.kolo...@gmail.com wrote: Thanks, after pressing Enter twice (in two cases) I could install the package, however the output is still wrong :( That's a bug in ConTeXt then, likely. Regards, -- Vedran Miletić

Re: [NTG-context] [tex-live] difference texlive 2008, 2009

2010-01-13 Thread Aditya Mahajan
On Wed, 13 Jan 2010, Lubos Kolouch wrote: Aditya Mahajan, Sun, 10 Jan 2010 04:46:54 -0500: On Sun, 10 Jan 2010, Lubos Kolouch wrote: Thank you for the investigation, I will open a ticket with the buggy (Archlinux) texlive package. You can also my context-minimals-git package for

Re: [NTG-context] [tex-live] difference texlive 2008, 2009

2010-01-13 Thread Lubos Kolouch
Aditya Mahajan, Wed, 13 Jan 2010 13:18:55 -0500: On Wed, 13 Jan 2010, Lubos Kolouch wrote: Aditya Mahajan, Sun, 10 Jan 2010 04:46:54 -0500: On Sun, 10 Jan 2010, Lubos Kolouch wrote: Thank you for the investigation, I will open a ticket with the buggy (Archlinux) texlive package. You

Re: [NTG-context] spaces in file names

2010-01-13 Thread Hans van der Meer
Thanks Hans. That does the trick. Odd by the way, that so many people apparently refrain from using spaces in directory and file names, because this did not surface earlier. It can make things a lot more readable. The habit of avoiding spaces is probably a holdover from old times where

Re: [NTG-context] spaces in file names

2010-01-13 Thread Hans Hagen
On 13-1-2010 20:59, Thomas A. Schmitz wrote: On Jan 13, 2010, at 8:34 PM, Hans van der Meer wrote: Odd by the way, that so many people apparently refrain from using spaces in directory and file names, because this did not surface earlier. It can make things a lot more readable. The habit of

Re: [NTG-context] spaces in file names

2010-01-13 Thread Hans Hagen
On 13-1-2010 20:46, Hans van der Meer wrote: I just became aware of the fact that a comma in a directory name like dir, so-and-so is failing too. No doubt there will be others that are allowed in those names but resist \setupexternalfigures. I guess I will have to live with that. Though Hans

Re: [NTG-context] problem with url in \setupexternalfigures

2010-01-13 Thread Hans Hagen
On 7-1-2010 10:14, Peter Münster wrote: Hello, This used to work: \setupexternalfigures[directory={\currentvalue, http://pmrb.free.fr/tmp/}] \starttext \externalfigure[hacker-test] \stoptext But with the latest version, the figure is not found... ok, i can fix that but there is a problem

Re: [NTG-context] XML - creating a list by hand (mkiv)

2010-01-13 Thread Hans Hagen
On 12-1-2010 15:47, Peter Rolf wrote: Hi, after a (too short) vacation I'm again trying to make this run. (btw: inserting in empty root still does not work here) I have attached a more detailed example (ugly XMP), that shows my current problems. The result of the operations is saved in

Re: [NTG-context] problem with url in \setupexternalfigures

2010-01-13 Thread Aditya Mahajan
On Wed, 13 Jan 2010, Hans Hagen wrote: On 7-1-2010 10:14, Peter Münster wrote: Hello, This used to work: \setupexternalfigures[directory={\currentvalue, http://pmrb.free.fr/tmp/}] \starttext \externalfigure[hacker-test] \stoptext But with the latest version, the figure is not found... ok,

Re: [NTG-context] spaces in file names

2010-01-13 Thread Vladimir Lomov
On Wed, Jan 13, 2010 at 20:46:53 +0100, Hans van der Meer wrote: I just became aware of the fact that a comma in a directory name like dir, so-and-so is failing too. No doubt there will be others that are allowed in those names but resist \setupexternalfigures. I guess I will have to