Hi Hans,

thanks first, 
blocks are defined.

If I use your example in the following way:

1. texexec test.tex

--> test
    test
no homework!

2. texexec student.tex
   and than
   texexec test.tex

--> test
    homework
    test

Is this the right way to use external blocks??

Bernd

> \defineblock[homework]
> 
> ========== test.tex ===============
> 
> \defineblock[homework]
> \setupblock[homework][file=student]
> 
> \starttext
> 
> test
> 
> \useblocks[homework]
> 
> test
> 
> \stoptext
> 
> ========== student.tex =============
> 
> \defineblock[homework]
> 
> \starttext
> 
> \beginhomework
> homework
> \endhomework
> 
> \stoptext
> 
> ===================================
> 
> normally, you will put the definitions in a shared environment
> 
> Hans


_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to