Hello, I have a few (I suppose easy) questions: 1) asking about this again and again... how to setup itemization so that the first line were indented too? 2) how to setup figure captions so that they include section number, like <sectionNumber>.<figureNumber> (no sub-sub-subsections)? 3) How to start section numbering from, say, second section? Regards, Vyatcheslav
Hello, following the new structure code the answer for your second question is: \definestructureprefixset[figureprefix][section-3] \definestructureseparatorset [septest][--,--,--,---][?] \setupstructurecountering[way=bysection, prefixset=figureprefix, prefixseparatorset=septest, prefixconnector=--] explanation: with definestructureprefixset you declare a new prefix which is always inserted when it is invoked with the prefixset key (in this case section-3 is the section while section-2 is for example the chapter and so on... look in the source code for more) you can have \definestructureprefixset[figureprefix][section-2,section-3,section-4] for example and the prefix gets inserted at the right place in your figure number. \definestructureseparatorset [septest][--,--,--,---][?] works similar (the [?] is in this case the fallback when no specific separator is defined for that position). the prefixconnector is the character which gets inserted between the figure number and the rest of the prefixes. All that prefixthings you can also do with pagenumbers and section numbers... i don´t know if this code will see some changes in newer context mkiv versions because i think it is still experimental but at the moment it works. third question: you could define a new head with \definehead then it gets a new counter. When you only want that a specific sectionnumber is different from the others than do: \startsection [title=dritte section, ownnumber=243] first question: i don´t know because i don´t needed it. hope this helps best regards Bernhard Am 13.11.2009 um 01:10 schrieb Vyatcheslav Yatskovsky:
Hello,
I have a few (I suppose easy) questions:
1) asking about this again and again... how to setup itemization so that the first line were indented too?
2) how to setup figure captions so that they include section number, like <sectionNumber>.<figureNumber> (no sub-sub-subsections)?
3) How to start section numbering from, say, second section?
Regards, Vyatcheslav ___________________________________________________________________________________ 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 ___________________________________________________________________________________
participants (2)
-
Bernhard Rosensteiner
-
Vyatcheslav Yatskovsky