[NTG-context] Section number inside TABLE
Consider the following code: %\setuphead[section][after={\hairline}] \starttext \bTABLE \bTR \bTD \section{my section} \input tufte \eTD \eTR \eTABLE \stoptext There are two things that are worth mentioning: 1. When compiling with either MkIV or MkII, section number will appear as 3. 2. Uncommenting the setuphead line makes number appear as 4 in MkII, MkIV doesn't change. Any ideas? -- Vedran Miletić ___ 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 ___
Re: [NTG-context] Section number inside TABLE
Am 04.11.2010 um 10:36 schrieb Vedran Miletić: Consider the following code: %\setuphead[section][after={\hairline}] \starttext \bTABLE \bTR \bTD \iftrialtypesetting\else \section{my section} \fi \input tufte \eTD \eTR \eTABLE \stoptext What do you want to achieve with this, maybe there is a better solution for your problem. 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 ___
Re: [NTG-context] Section number inside TABLE
2010/11/4 Vedran Miletić riva...@gmail.com: Consider the following code: %\setuphead[section][after={\hairline}] \starttext \bTABLE \bTR \bTD \section{my section} \input tufte \eTD \eTR \eTABLE \stoptext There are two things that are worth mentioning: 1. When compiling with either MkIV or MkII, section number will appear as 3. 2. Uncommenting the setuphead line makes number appear as 4 in MkII, MkIV doesn't change. Any ideas? I suspect that the \bTABLE..\eTABLE is typesetted a few times before actually put on mvl. -- luigi ___ 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 ___
Re: [NTG-context] Section number inside TABLE
On 4-11-2010 10:42, luigi scarso wrote: 2010/11/4 Vedran Miletićriva...@gmail.com: Consider the following code: %\setuphead[section][after={\hairline}] \starttext \bTABLE \bTR \bTD \section{my section} \input tufte \eTD \eTR \eTABLE \stoptext There are two things that are worth mentioning: 1. When compiling with either MkIV or MkII, section number will appear as 3. 2. Uncommenting the setuphead line makes number appear as 4 in MkII, MkIV doesn't change. Any ideas? I suspect that the \bTABLE..\eTABLE is typesetted a few times before actually put on mvl. indeed, and putting section commands in tables is a bad idea anyway as such heads really assume the mvl unless one sets it up to do otherwise (i.e. decouple the definition from the rendering) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 ___
Re: [NTG-context] Section number inside TABLE
2010/11/4 Wolfgang Schuster schuster.wolfg...@googlemail.com Am 04.11.2010 um 10:36 schrieb Vedran Miletić: Consider the following code: %\setuphead[section][after={\hairline}] \starttext \bTABLE \bTR \bTD \iftrialtypesetting\else \section{my section} \fi \input tufte \eTD \eTR \eTABLE \stoptext Thanks! What do you want to achieve with this, maybe there is a better solution for your problem. It's an attempt to reconstruct in ConTeXt our university standard table form for course description, that looks like: http://www.inf.uniri.hr/~vmiletic/context/plan-i-program-tablica.png (This is a screenshot from a Word doc which I'm not sure whether I'm allowed to post or not.) Any ideas? -- Vedran Miletić P.S. Thanks for so quick responses! ___ 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 ___