* Setup captions [not found] <mailman.266.1257343765.22155.ntg-context@ntg.nl> @ 2009-11-04 23:48 ` Vyatcheslav Yatskovsky 2009-11-04 23:53 ` Define exercise captions Vyatcheslav Yatskovsky 1 sibling, 0 replies; 2+ messages in thread From: Vyatcheslav Yatskovsky @ 2009-11-04 23:48 UTC (permalink / raw) To: ntg-context Hi all, How to setup captions so that they include only section number (no subsections, etc.) and figure number within the section? That is, <SectionNumber>.<FigureNumber> My first guess \setupcaptions[style=\tfx, prefix=yes, prefixset=section] does not work. 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Define exercise captions [not found] <mailman.266.1257343765.22155.ntg-context@ntg.nl> 2009-11-04 23:48 ` Setup captions Vyatcheslav Yatskovsky @ 2009-11-04 23:53 ` Vyatcheslav Yatskovsky 1 sibling, 0 replies; 2+ messages in thread From: Vyatcheslav Yatskovsky @ 2009-11-04 23:53 UTC (permalink / raw) To: ntg-context Please, disregard my last question about enumeration setup. Now I know more and created definition that works fine for me: \defineenumeration[exercise][title=yes, text=Вправа, prefix=yes, prefixset=section, titleleft=, titleright=, after=, inbetween={\blank[medium]}] The trick is that after sets space after the next paragraph text. I wonder why http://texshow.contextgarden.net/cmd/setupenumerations is empty. 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-11-04 23:53 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <mailman.266.1257343765.22155.ntg-context@ntg.nl> 2009-11-04 23:48 ` Setup captions Vyatcheslav Yatskovsky 2009-11-04 23:53 ` Define exercise captions Vyatcheslav Yatskovsky
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).