26 Sep
2003
26 Sep
'03
3:42 p.m.
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