Re: [NTG-context] How to put title and counter of the enumeration env. in the FrameTitle?

2015-12-08 Thread Jeong Dal
Dear all, After searching ConTeXt wiki and googling, I got what I want using the attached code. It can be modified in nicer way which I don’t know. There are so many hidden commands in ConTeXt for me. It is absolutely convenient to use the “\defineenumeration” if I don’t use FunnyFrame.

Re: [NTG-context] How to put title and counter of the enumeration env. in the FrameTitle?

2015-12-04 Thread Jeong Dal
Dear all, I found a partial solution for my former question which still have problems. 1. I set a new counter “ThmNumber” and use it in the FrameTitle. Its output is similar to what I want. 2. insert “after={\doglobal\increment\ThmNumber}” in the enumeration environment. 3. But the Initial

[NTG-context] How to put title and counter of the enumeration env. in the FrameTitle?

2015-12-03 Thread Jeong Dal
Hi, I use the FunnyFrame and FrameTitle in the metafun book to display theorems. Thanks ConTeXt and MetaFun, it looks nice! For better output, I try to put “Theorem + number” in the FrameTitle instead of putting in the main text. But I couldn’t make it. I found a similar question and answers by