On Jul 22, 2006, at 14:19, Taco Hoekwater wrote:
Hans van der Meer wrote:
No, I must be my fault, but even with the above help I cannot get it working. As far as I can figure out the value of \currentproduct seems NOT to guard entry to the body of \startlocalenvironment[syllabus-s].
This took a bit of digging, it appears to be a bug in core-job.tex. The definition of \setvalue{\e!start\v!localenvironment} ends with:
{\grabuntil{\e!stop\v!localenvironment}\relax}}
but that should be:
{\grabuntil{\e!stop\v!localenvironment}\gobbleoneargument}}
This patch repairs it. Now \startlocalenvironment[syllabus-s] is properly entered when the argument matches the product. One more bug has been ironed out. But the fact that it took so long before it surfaced is telling, obviously not many people have used this mechanism since the manual came out! Thanks for acting so fast. Hans van der Meer