* \typefile with filenames with $ characters in their name
@ 2009-06-26 17:33 Gerben Wierda
2009-06-26 20:40 ` Hans Hagen
2009-06-28 17:17 ` Henning Hraban Ramm
0 siblings, 2 replies; 7+ messages in thread
From: Gerben Wierda @ 2009-06-26 17:33 UTC (permalink / raw)
To: mailing list for ConTeXt users
\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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: \typefile with filenames with $ characters in their name
2009-06-26 17:33 \typefile with filenames with $ characters in their name Gerben Wierda
@ 2009-06-26 20:40 ` Hans Hagen
2009-06-26 23:44 ` Gerben Wierda
2009-06-28 17:17 ` Henning Hraban Ramm
1 sibling, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2009-06-26 20:40 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: \typefile with filenames with $ characters in their name
2009-06-26 20:40 ` Hans Hagen
@ 2009-06-26 23:44 ` Gerben Wierda
0 siblings, 0 replies; 7+ messages in thread
From: Gerben Wierda @ 2009-06-26 23:44 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: \typefile with filenames with $ characters in their name
2009-06-26 17:33 \typefile with filenames with $ characters in their name Gerben Wierda
2009-06-26 20:40 ` Hans Hagen
@ 2009-06-28 17:17 ` Henning Hraban Ramm
2009-06-28 18:59 ` Gerben Wierda
1 sibling, 1 reply; 7+ messages in thread
From: Henning Hraban Ramm @ 2009-06-28 17:17 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 436 bytes --]
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)
[-- Attachment #1.2: Signierter Teil der Nachricht --]
[-- Type: application/pgp-signature, Size: 194 bytes --]
[-- Attachment #2: Type: text/plain, Size: 487 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: \typefile with filenames with $ characters in their name
2009-06-28 17:17 ` Henning Hraban Ramm
@ 2009-06-28 18:59 ` Gerben Wierda
2009-06-28 20:20 ` Taco Hoekwater
2009-06-28 20:49 ` luigi scarso
0 siblings, 2 replies; 7+ messages in thread
From: Gerben Wierda @ 2009-06-28 18:59 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: \typefile with filenames with $ characters in their name
2009-06-28 18:59 ` Gerben Wierda
@ 2009-06-28 20:20 ` Taco Hoekwater
2009-06-28 20:49 ` luigi scarso
1 sibling, 0 replies; 7+ messages in thread
From: Taco Hoekwater @ 2009-06-28 20:20 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: \typefile with filenames with $ characters in their name
2009-06-28 18:59 ` Gerben Wierda
2009-06-28 20:20 ` Taco Hoekwater
@ 2009-06-28 20:49 ` luigi scarso
1 sibling, 0 replies; 7+ messages in thread
From: luigi scarso @ 2009-06-28 20:49 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1099 bytes --]
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
>>> 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
[-- Attachment #1.2: Type: text/html, Size: 2034 bytes --]
[-- Attachment #2: Type: text/plain, Size: 487 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-06-28 20:49 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-26 17:33 \typefile with filenames with $ characters in their name Gerben Wierda
2009-06-26 20:40 ` Hans Hagen
2009-06-26 23:44 ` Gerben Wierda
2009-06-28 17:17 ` Henning Hraban Ramm
2009-06-28 18:59 ` Gerben Wierda
2009-06-28 20:20 ` Taco Hoekwater
2009-06-28 20:49 ` luigi scarso
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).