Re: [NTG-context] \typefile with filenames with $ characters in their name

2009-06-28 Thread Henning Hraban Ramm

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.


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)



PGP.sig
Description: Signierter Teil der Nachricht
___
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
___


Re: [NTG-context] \typefile with filenames with $ characters in their name

2009-06-28 Thread Gerben Wierda

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.


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.


I assume then the answer is no? (Con)TeX(t) can't handle this?

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


Re: [NTG-context] \typefile with filenames with $ characters in their name

2009-06-28 Thread Taco Hoekwater

Gerben Wierda wrote:
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.


I assume then the answer is no? (Con)TeX(t) can't handle this?


kpathsea can't handle files with $ signs in them, unless
the $ starts a variable it knows about (and that, it will
expand).

Best wishes,
Taco



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


Re: [NTG-context] \typefile with filenames with $ characters in their name

2009-06-28 Thread luigi scarso
On Sun, Jun 28, 2009 at 8:59 PM, Gerben Wierda gerben.wie...@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
 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
___
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
___


[NTG-context] \typefile with filenames with $ characters in their name

2009-06-26 Thread Gerben Wierda
\typefile balks on filenames with $ characters in their names.  
Anything I can do about that?


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


Re: [NTG-context] \typefile with filenames with $ characters in their name

2009-06-26 Thread Hans Hagen

Gerben Wierda wrote:
\typefile balks on filenames with $ characters in their names. Anything 
I can do about that?


probeer eens:

\expanded{\typefile{\detokenize{}}}

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


Re: [NTG-context] \typefile with filenames with $ characters in their name

2009-06-26 Thread Gerben Wierda


On 26 Jun 2009, at 22:40, Hans Hagen wrote:


Gerben Wierda wrote:
\typefile balks on filenames with $ characters in their names.  
Anything I can do about that?


probeer eens:

\expanded{\typefile{\detokenize{}}}


\def\typeSQLfile#1{\expanded{\typefile[SQL]{\detokenize{#1
\typeSQLfile{Library-procedures/hlx$requery.pls}

Does not work. File not found.

Nor does directly calling:

\expanded{\typefile{\detokenize{Library-procedures/hlx$requery.pls}}}




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



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