Re: [NTG-context] proper filereading

2008-03-24 Thread Hans Hagen
Hans van der Meer wrote:
 What is the proper way in ConTeXt to include a file?
 
 Just \input filename ignores the \enableregime[] setting and thus  
 mistreats accented characters. \usemodule[] shows the same behaviour.

i'm puzzled ... input just inputs the file, so no regime change takes 
place; usemodule will load the file under a 'tex regime' i.e. it will 
make sure that some catcodes are reset to the values that make macro 
definitions possible


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


[NTG-context] proper filereading

2008-03-23 Thread Hans van der Meer
What is the proper way in ConTeXt to include a file?

Just \input filename ignores the \enableregime[] setting and thus  
mistreats accented characters. \usemodule[] shows the same behaviour.

Hans van der Meer




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