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ć
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
2010/11/4 Wolfgang Schuster
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!
2010/11/4 Vedran Miletić
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
On 4-11-2010 10:42, luigi scarso wrote:
2010/11/4 Vedran Miletić
: 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 -----------------------------------------------------------------
participants (4)
-
Hans Hagen
-
luigi scarso
-
Vedran Miletić
-
Wolfgang Schuster