Am 13.10.2012 um 01:44 schrieb Zenlima <p...@zenlima.eu>: > Hallo, > > after so many of you helped me, I want to give back. I just made my > t-pararef module public for everyone: > > http://modules.contextgarden.net/pararef > > http://wiki.contextgarden.net/Paragraph_Referencing > > Please feel free to send me comments about the coding style and what I > could have done in a better way. E.g. the interface file is missing, > but I don't know how it should look like. > > But I hope mainly that it will prove beneficial for some of you.
You can replace these two lines \definecounter[ParagraphNumber][way=bytext,prefix=no] \setuphead[chapter,section,subsection,subsubsection][insidesection={\resetcounter[ParagraphNumber]}] with \definecounter[ParagraphNumber][way=byhead,prefix=no] The “way=byhead” settings resets the counter with each heading. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________