ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \ReadFile in MkII vs MkIV
@ 2010-10-16 21:09 Aditya Mahajan
  2010-10-17 12:50 ` luigi scarso
  0 siblings, 1 reply; 13+ messages in thread
From: Aditya Mahajan @ 2010-10-16 21:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

In MkII, I can say

     \ReadFile{/tmp/filename}

to read a file in /tmp directory. However, in MkIV, that fails because
ReadFile is defined as

\unexpanded\def\ReadFile     #1{\doreadfile{any} {.}{#1}\donothing\donothing}

so it explicitly searches in the . (current) directory.

Bug or feature?

Aditya
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2010-10-17 22:23 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-16 21:09 \ReadFile in MkII vs MkIV Aditya Mahajan
2010-10-17 12:50 ` luigi scarso
2010-10-17 17:21   ` Aditya Mahajan
2010-10-17 17:27     ` Aditya Mahajan
2010-10-17 17:28     ` Wolfgang Schuster
2010-10-17 17:58       ` Aditya Mahajan
2010-10-17 18:06         ` Wolfgang Schuster
2010-10-17 18:54           ` Aditya Mahajan
2010-10-17 20:17             ` Hans Hagen
2010-10-17 21:02               ` Aditya Mahajan
2010-10-17 22:23                 ` Hans Hagen
2010-10-17 20:15         ` Hans Hagen
2010-10-17 20:50           ` Aditya Mahajan

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).