From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/15487 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Re: { in input file names Date: Tue, 22 Jun 2004 14:38:56 +0200 Sender: ntg-context-admin@ntg.nl Message-ID: <40D82860.4050702@wxs.nl> References: <20040621194516.GC2592@puritan.pcp.ath.cx> <40D74D50.3080803@wxs.nl> <20040622105109.GB3379@puritan.pcp.ath.cx> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1087908084 28147 80.91.224.253 (22 Jun 2004 12:41:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 22 Jun 2004 12:41:24 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Tue Jun 22 14:41:13 2004 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BckaO-0002R6-00 for ; Tue, 22 Jun 2004 14:41:12 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id F31EB10B70; Tue, 22 Jun 2004 14:41:08 +0200 (MEST) Original-Received: from mailrelay02.solcon.nl (maillb.solcon.nl [212.45.32.200]) by ref.ntg.nl (Postfix) with ESMTP id C921710B66 for ; Tue, 22 Jun 2004 14:38:58 +0200 (MEST) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mailrelay02.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id i5MCcufg009939 for ; Tue, 22 Jun 2004 14:38:56 +0200 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id 494871798A; Tue, 22 Jun 2004 14:38:58 +0200 (CEST) Original-Received: from [10.100.1.191] (unknown [10.100.1.191]) by server-1.pragma-net.nl (Postfix) with ESMTP id 476FC11EC7 for ; Tue, 22 Jun 2004 12:38:57 +0000 (UTC) User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en Original-To: ntg-context@ntg.nl In-Reply-To: <20040622105109.GB3379@puritan.pcp.ath.cx> X-Virus-Scanned: clamd / ClamAV version 0.70, clamav-milter version 0.70j Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:15487 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:15487 Nikolai Weibull wrote: >* Hans Hagen Outside [Jun 22, 2004 10:40]: > > >>>Another one of my sort of weird questions. I have a file with { in >>> >>> >>weird indeed, are you searching for the limits of tex/context/your-os? >> >> > >Nah, I'm just getting used to Tom Lord's naming scheme > http://wiki.gnuarch.org/moin.cgi/FunkyFileNames >since I use GNU Arch for revision control. > >I have my project files in ~/src/{projects}/ > > > >>>file name and context doesn't seem to enjoy it much: >>> >>> >>i only enjoy names that match [a-z0-9\-] >> >> > >[a-z0-9{=,+-] on my side > > > >>You can put this somewhere (cont-loc.tex or so) since i'm not that >>sure if it does not interfere, so i (and others) need to test this for >>a long time >> >> >[cut] > >OK, that worked fine for me. I'll report any problems. > > first problem: graphics not found -) so, we probably can only do: \def\usepath[#1]% test for a real long time, permits ../{name} i.e. braces {\def\docommando##1% {\doifelse{##1}\v!reset {\let\allinputpaths\empty} {\sanitizefilename#1\to\ascii \convertcommand\ascii\to\ascii \addtocommalist\ascii\allinputpaths}}% \processcommalist[#1]\docommando} \def\usesubpath[#1]% test for a real long time, permits ../{name} i.e. braces {\ifx\allinputpaths\empty \sanitizefilename#1\to\allinputpaths \else \def\docommando##1% {\def\dodocommando####1% {\sanitizefilename####1\to\ascii \convertcommand\ascii\to\ascii \addtocommalist{##1/\ascii}\allinputpaths}% \processcommalist[#1]\dodocommando}% \processcommacommand[\allinputpaths]\docommando \fi} ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------