From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/55533 Path: news.gmane.org!not-for-mail From: Hans van der Meer Newsgroups: gmane.comp.tex.context Subject: Re: spaces in file names Date: Wed, 13 Jan 2010 12:26:56 +0100 Message-ID: <44533F57-E3B2-4951-8849-E729ADB0F34D@uva.nl> References: <14AAC5F8-22CF-43BC-ABAE-6D91B734A8D5@uva.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: multipart/mixed; boundary="===============0260031285==" X-Trace: ger.gmane.org 1263382060 26078 80.91.229.12 (13 Jan 2010 11:27:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Jan 2010 11:27:40 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jan 13 12:27:32 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1NV1Nk-0001nc-SY for gctc-ntg-context-518@m.gmane.org; Wed, 13 Jan 2010 12:27:24 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3F9C7C9C35; Wed, 13 Jan 2010 12:27:25 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id YKGFd6voLBch; Wed, 13 Jan 2010 12:27:22 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3CF20C9C2B; Wed, 13 Jan 2010 12:27:22 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CECCDC9C2B for ; Wed, 13 Jan 2010 12:27:20 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id GjUpeRZGEnQw for ; Wed, 13 Jan 2010 12:27:09 +0100 (CET) Original-Received: from pony.ic.uva.nl (pony.ic.uva.nl [145.18.40.181]) by balder.ntg.nl (Postfix) with ESMTP id CFF3AC9C22 for ; Wed, 13 Jan 2010 12:27:09 +0100 (CET) Original-Received: from Mindolluin.fritz.box (a82-95-102-36.adsl.xs4all.nl [82.95.102.36]) (authenticated bits=0) by pony.ic.uva.nl (8.13.1/8.13.1) with ESMTP id o0DBQuI3027106 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Wed, 13 Jan 2010 12:26:58 +0100 In-Reply-To: X-Mailer: Apple Mail (2.936) X-CanIt-Geo: ip=82.95.102.36; country=NL; region=07; city=Amsterdam; latitude=52.3500; longitude=4.9167; http://maps.google.com/maps?q=52.3500,4.9167&z=6 X-CanItPRO-Stream: auth (inherits from default) X-Canit-Stats-ID: Bayes signature not available X-Scanned-By: CanIt (www . roaringpenguin . com) on 145.18.40.181 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:55533 Archived-At: --===============0260031285== Content-Type: multipart/alternative; boundary=Apple-Mail-1--540508353 --Apple-Mail-1--540508353 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On 13 jan 2010, at 12:16, luigi scarso wrote: > On Wed, Jan 13, 2010 at 12:12 PM, Hans van der Meer > 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 then >> the picture file is not found. > :-( > the last one... > \setupexternalfigures[directory={"\DATADIRECTORY"}] > > NO again. Doing: \DataDirectory{/Users/hans/Movies/Inlays/Muziek/MadisonSquare Garden} % defs \DATADIRECTORY \setupexternalfigures[directory={"\DATADIRECTORY"}] gives an error: ! LuaTeX error
:1: ')' expected near 'Garden'. \setfigurepathlist ...cation ","\@@exdirectory ")} Putting the "s around the name triggers the error. Hans van der Meer --Apple-Mail-1--540508353 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable
On 13 jan 2010, = at 12:16, luigi scarso wrote:

On = Wed, Jan 13, 2010 at 12:12 PM, Hans van der Meer <H.vanderMeer@uva.nl> = wrote:
what = about
\setupexternalfigures[directory=3D{\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 = then
the picture file is not = found.
:-(
the last = one...
\setupexternalfigures[directory=3D{"\DATADIRECTORY"}]

NO again. = Doing:
\DataDirectory{/Users/hans/Movies/Inlays/Muziek/MadisonSqu= are Garden} % = defs \DATADIRECTORY
\setupexternalfigures[directory=3D{"\DA= TADIRECTORY"}]


gives an = error:
! LuaTeX error <main = ctx instance>:1: ')' expected near 'Garden'.
\setfigurepathlist ...cation ","\@@exdirectory = ")}
Putting the "s around the name triggers the = error.

Hans van der = Meer

= --Apple-Mail-1--540508353-- --===============0260031285== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0260031285==--