2007/12/18, Zhichu Chen <[EMAIL PROTECTED]>: > Thanks Wolfgang, > > I looked at the source a little bit but all macros are defined with > insertion and I don't know how to make them share a same counter. Maybe we > need a new \definerelatednote macro. > > Anyway, your suggestion makes sense.
You could try to look into the definition and description macros, Aditya provided souch a feature for enumerations to use the same number for different environments, the float mechanism has something similliar to use one number for different floats. You try to start with these moduls and adapt it to the note machanism. Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________