Hi all, I want some numbers to appear in the paragraph. It's for a commentary, so the numbering isn't continuous, but pretty arbitrary. The problem is, I need two sets of numbers (for sections and subsections), and I want both in the margin, like so:
1 1 Some text 3 More text 4 Even more 3 1 And more 2 and so on 5 Sometimes, there are sections without subsections So far, I have succeeded in doing this with some low-level trickery by defining two commands, LEVELONE and LEVELTWO: \def\LEVELONE#1 {\dontleavehmode\llap{#1\kern1.8em \null}} \def\LEVELTWO#1 {\dontleavehmode\llap{\tfx #1\kern1em \null}} (I need to gobble the space after the command, that's why I included it in the \def). However, I'm wondering if there's a more ConTeXt-like way of doing this, since my next project will be to do this for xml files. I had tried with \inmargin[1] and \inmargin[2], but that didn't quite do what I expected. Any thoughts on this? All best Thomas ___________________________________________________________________________________ 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 ___________________________________________________________________________________