itemization vs itemization inside a tabulation stuggles
Hi I have a document where I use itemizations inside a tabulation. In this case the \head command is not respected and it overwrites the previous item. Please refer to the enclosed example. What am I doing wrong or is this a bug? Kind regards Willi
Am 29.07.2011 um 23:06 schrieb Willi Egger:
Hi
I have a document where I use itemizations inside a tabulation. In this case the \head command is not respected and it overwrites the previous item.
Please refer to the enclosed example.
What am I doing wrong or is this a bug?
A bug. I can’t offer you a fix but I made a minimal example where you can see the effect without itemize: \starttext \section{Test} \starttabulate[|p|] \NC one \par \blank[penalty:10000] two \par \blank[penalty:10000] three \NC\NR \stoptabulate \page \section{Test} \starttabulate[|p|] \NC one \par %\blank[penalty:10000] two \par \blank[penalty:10000] three \NC\NR \stoptabulate \page \section{Test} \starttabulate[|p|] \NC one \par \blank[penalty:10000] two \par %\blank[penalty:10000] three \NC\NR \stoptabulate \stoptext Wolfgang
On 30-7-2011 10:12, Wolfgang Schuster wrote:
Am 29.07.2011 um 23:06 schrieb Willi Egger:
Hi
I have a document where I use itemizations inside a tabulation. In this case the \head command is not respected and it overwrites the previous item.
Please refer to the enclosed example.
What am I doing wrong or is this a bug?
A bug. I can’t offer you a fix but I made a minimal example where you can see the effect without itemize:
even more fun with \showframe
\starttext
\section{Test}
\starttabulate[|p|] \NC one \par \blank[penalty:10000] two \par \blank[penalty:10000] three \NC\NR \stoptabulate
\page
\section{Test}
\starttabulate[|p|] \NC one \par %\blank[penalty:10000] two \par \blank[penalty:10000] three \NC\NR \stoptabulate
\page
\section{Test}
\starttabulate[|p|] \NC one \par \blank[penalty:10000] two \par %\blank[penalty:10000] three \NC\NR \stoptabulate
\stoptext
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 ___________________________________________________________________________________
-- ----------------------------------------------------------------- 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 -----------------------------------------------------------------
On 30-7-2011 10:12, Wolfgang Schuster wrote:
Am 29.07.2011 um 23:06 schrieb Willi Egger:
Hi
I have a document where I use itemizations inside a tabulation. In this case the \head command is not respected and it overwrites the previous item.
Please refer to the enclosed example.
What am I doing wrong or is this a bug?
A bug. I can’t offer you a fix but I made a minimal example where you can see the effect without itemize:
A while ago I added an option for Thomas that bypasses the snapper (in Willis case the head and in your case the penalties force a twoline split which then overlaps du eto snapping). You can influence this with: \setconstant \tabulatesplitlinemode \plustwo (Not interfaced ... low level tweaking ... but stable. So, Willi should wikify it.)
\starttext
\section{Test}
\starttabulate[|p|] \NC one \par \blank[penalty:10000] two \par \blank[penalty:10000] three \NC\NR \stoptabulate
\page
\section{Test}
\starttabulate[|p|] \NC one \par %\blank[penalty:10000] two \par \blank[penalty:10000] three \NC\NR \stoptabulate
\page
\section{Test}
\starttabulate[|p|] \NC one \par \blank[penalty:10000] two \par %\blank[penalty:10000] three \NC\NR \stoptabulate
\stoptext
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 ___________________________________________________________________________________
-- ----------------------------------------------------------------- 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 -----------------------------------------------------------------
On 3-8-2011 10:15, Hans Hagen wrote:
\setconstant \tabulatesplitlinemode \plustwo
just \tabulatesplitlinemode \plustwo ----------------------------------------------------------------- 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 -----------------------------------------------------------------
On 29-7-2011 11:06, Willi Egger wrote:
Hi
I have a document where I use itemizations inside a tabulation. In this case the \head command is not respected and it overwrites the previous item.
Please refer to the enclosed example.
What am I doing wrong or is this a bug?
As Wolfgang pointed out .. a side effect of the splitter in tabulate. Workaround: \head Hufe aufhalten \crlf \par or just \item Hufe anhalten 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 (3)
-
Hans Hagen
-
Willi Egger
-
Wolfgang Schuster