From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/51529 Path: news.gmane.org!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Re: \typefile with filenames with $ characters in their name Date: Sun, 28 Jun 2009 22:49:48 +0200 Message-ID: References: <83DA7F88-C6A2-4726-83C9-8A3433413C15@rna.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1142069043==" X-Trace: ger.gmane.org 1246222359 16619 80.91.229.12 (28 Jun 2009 20:52:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Jun 2009 20:52:39 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jun 28 22:52:32 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1ML1Kx-0000Dt-GN for gctc-ntg-context-518@m.gmane.org; Sun, 28 Jun 2009 22:50:55 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D4CD31FBAC; Sun, 28 Jun 2009 22:50:54 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04366-02; Sun, 28 Jun 2009 22:50:01 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3F9721FB49; Sun, 28 Jun 2009 22:50:01 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DD4C31FB49 for ; Sun, 28 Jun 2009 22:49:58 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 30696-09 for ; Sun, 28 Jun 2009 22:49:49 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by ronja.ntg.nl (Postfix) with ESMTP id A54941FB3C for ; Sun, 28 Jun 2009 22:49:49 +0200 (CEST) Original-Received: from mail-fx0-f205.google.com (mail-fx0-f205.google.com [209.85.220.205]) by filter2-ams.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n5SKnmR7017578 for ; Sun, 28 Jun 2009 22:49:49 +0200 Original-Received: by fxm1 with SMTP id 1so720302fxm.2 for ; Sun, 28 Jun 2009 13:49:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=q9fpD1mFjHT/Hp3YpVaTViE7Z0pcZrNdxql4XlHsgUc=; b=YnYJc6iLL26vth5dEu/cQeBqCduCcBQSu4VaY7lnKUcT8hDoeW+kPTJjK17+4CkuOm XpaISHyFoXCOnz1jXVX2R7mcHhvbi7zVJxO3bzWlRgfq49iY5esZkzfVmIsc9Rvj7rPh out/OttvZZFc8+KwBfRTIrmts5dJTxVLyxnG4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Cf9AkWbosBxQNmMzQVuXkt1SmkJvWnh4fh1fvepyCMi8NUR2+++BDGYTH7rzmU0WlM mbNfKk3XcSprX19Od25xrlISpf6jfGYy8RNau/RQDO3asbT9XXh4H0VZaeuatlOrIfqQ n93fAqymDPmb5DfZZsqTGzJJtxuKCn4oXVzGw= Original-Received: by 10.204.121.131 with SMTP id h3mr6291487bkr.172.1246222188557; Sun, 28 Jun 2009 13:49:48 -0700 (PDT) In-Reply-To: <83DA7F88-C6A2-4726-83C9-8A3433413C15@rna.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.220.205; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 251642844 - b2b8d2d24d33 - 20090628 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:51529 Archived-At: --===============1142069043== Content-Type: multipart/alternative; boundary=001636c5a4afdc358d046d6eb6cc --001636c5a4afdc358d046d6eb6cc Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On Sun, Jun 28, 2009 at 8:59 PM, Gerben Wierda wrote: > On 28 Jun 2009, at 19:17, Henning Hraban Ramm wrote: > > Am 2009-06-26 um 19:33 schrieb Gerben Wierda: >> >> \typefile balks on filenames with $ characters in their names. Anything I >>> can do about that? >>> >> >> Rename the file. It's an error if characters like that appear in a file >> name. >> > > You could even rename it using Lua from within your TeX code. >> > > In my book, moving to a beta product or not accepting what is a vaild > filename according to the filesystem is a limitation of the program. Not > ConTeXt or TeX defines what a valid filename is, the OS decides. > TeX (and ConTeXt) try hard to be OS independant , so I find natural some "limitations" > > I do not decide what the names of these files are, someone else produces > them, and my work flow should be able to handle all valid filenames. > Well, my experience is that leave to the users this prerogative is not safe. I always transform a filename in safe filename, process it, and eventually transform back the name . -- luigi --001636c5a4afdc358d046d6eb6cc Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On Sun, Jun 28, 2009 at 8:59 PM, Gerben = Wierda <Gerben= .Wierda@rna.nl> wrote:
On 28 Jun 2009, at 19:17, Henning Hraban Ramm wrote:

Am 2009-06-26 um 19:33 schrieb Gerben Wierda:

\typefile balks on filenames with $ characters in their names. Anything I c= an do about that?

Rename the file. It's an error if characters like that appear in a file= name.

You could even rename it using Lua from within your TeX code.

In my book, moving to a beta product or not accepting what is a vaild filen= ame according to the filesystem is a limitation of the program. Not ConTeXt= or TeX defines what a valid filename is, the OS decides.
TeX (and ConTeXt) try hard to be OS independant , so I fi= nd natural some "limitations"

I do not decide what the names of these files are, someone else produces th= em, and my work flow should be able to handle all valid filenames.
=C2=A0Well, my experience is that leave to=C2=A0 the user= s this prerogative is not safe.
I always transform a filename in safe fi= lename, process it, and eventually transform back the name .

--
luigi

--001636c5a4afdc358d046d6eb6cc-- --===============1142069043== 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1142069043==--