TEXpage problem in lare betas
Hi, the latest betas have problems with TEXpage. The following example gives the expected result with an older version of context (2013.06.10 22:51), but fails with several betas from November (empty page created, no error); unfortunately, it is an older file, and I have no idea when exactly it broke: \startTEXpage[offset=0.5ex] \bTABLE[frame=off,loffset=1ex,roffset=1ex,align={middle,lohi}] \bTR \bTD A \eTD \bTD B \eTD \bTD C \eTD \eTR \eTABLE \stopTEXpage All best Thomas
On 11/14/2013 9:33 PM, Thomas A. Schmitz wrote:
Hi,
the latest betas have problems with TEXpage. The following example gives the expected result with an older version of context (2013.06.10 22:51), but fails with several betas from November (empty page created, no error); unfortunately, it is an older file, and I have no idea when exactly it broke:
\startTEXpage[offset=0.5ex]
\bTABLE[frame=off,loffset=1ex,roffset=1ex,align={middle,lohi}] \bTR \bTD A \eTD \bTD B \eTD \bTD C \eTD \eTR \eTABLE
\stopTEXpage
All best
i'm not sure what interferes but \dontleavehmode in front helps ----------------------------------------------------------------- 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 11/14/2013 09:43 PM, Hans Hagen wrote:
i'm not sure what interferes but \dontleavehmode in front helps
It’s a \framed bug, when you change “align=normal” to “align=line”
Yes, that is a workaround, thank you! On 11/14/2013 09:45 PM, Wolfgang Schuster wrote:> the frame os correct. OK, can the bug be squished? In the non-minimal example, I need a certain alignment. Thomas
Am 14.11.2013 um 21:57 schrieb Thomas A. Schmitz
On 11/14/2013 09:43 PM, Hans Hagen wrote:
i'm not sure what interferes but \dontleavehmode in front helps
Yes, that is a workaround, thank you!
On 11/14/2013 09:45 PM, Wolfgang Schuster wrote:>
It’s a \framed bug, when you change “align=normal” to “align=line” the frame os correct.
OK, can the bug be squished? In the non-minimal example, I need a certain alignment.
\startTEXpage[offset=0.5ex,align=] \bTABLE[frame=on,loffset=1ex,roffset=1ex,align={middle,lohi}] \bTR \bTD A \eTD \bTD B \eTD \bTD C \eTD \eTR \eTABLE \stopTEXpage Wolfgang
On 11/14/2013 10:05 PM, Thomas A. Schmitz wrote:
On 11/14/2013 10:01 PM, Wolfgang Schuster wrote:
\startTEXpage[offset=0.5ex,align=]
Mmh, thanks, but: in my original file, I have two tables; this has the unfortunate effect of rendering them next to each other (instead of vertically).
\let\synchronizeinlinedirection\relax ----------------------------------------------------------------- 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 11/14/2013 10:08 PM, Hans Hagen wrote:
\let\synchronizeinlinedirection\relax
OK, new example: \let\synchronizeinlinedirection\relax \startTEXpage[offset=0.5ex,align=] \bTABLE[frame=off,loffset=1ex,roffset=1ex,align={middle,lohi}] \bTR \bTD A \eTD \bTD B \eTD \bTD C \eTD \eTR \eTABLE \blank[line] \bTABLE[frame=off,loffset=1ex,roffset=1ex,align={middle,lohi}] \bTR \bTD D \eTD \bTD E \eTD \bTD F \eTD \eTR \eTABLE \stopTEXpage I still get the tables next to each other. Thomas
Am 14.11.2013 um 22:13 schrieb Thomas A. Schmitz
On 11/14/2013 10:08 PM, Hans Hagen wrote:
\let\synchronizeinlinedirection\relax
OK, new example:
\let\synchronizeinlinedirection\relax
\startTEXpage[offset=0.5ex,align=]
\bTABLE[frame=off,loffset=1ex,roffset=1ex,align={middle,lohi}] \bTR \bTD A \eTD \bTD B \eTD \bTD C \eTD \eTR \eTABLE
\blank[line]
\bTABLE[frame=off,loffset=1ex,roffset=1ex,align={middle,lohi}] \bTR \bTD D \eTD \bTD E \eTD \bTD F \eTD \eTR \eTABLE
\stopTEXpage
I still get the tables next to each other.
Remove “align=” from \startTEXpage. Wolfgang
On 11/14/2013 10:13 PM, Thomas A. Schmitz wrote:
On 11/14/2013 10:08 PM, Hans Hagen wrote:
\let\synchronizeinlinedirection\relax
OK, new example:
\let\synchronizeinlinedirection\relax
\startTEXpage[offset=0.5ex,align=]
\bTABLE[frame=off,loffset=1ex,roffset=1ex,align={middle,lohi}] \bTR \bTD A \eTD \bTD B \eTD \bTD C \eTD \eTR \eTABLE
\blank[line]
\bTABLE[frame=off,loffset=1ex,roffset=1ex,align={middle,lohi}] \bTR \bTD D \eTD \bTD E \eTD \bTD F \eTD \eTR \eTABLE
\stopTEXpage
I still get the tables next to each other.
that's because now you have a hbox anyway, i uploaded a beta with a fix but still, keep in mind that you need to avoid empty lines: \startTEXpage[offset=0.5ex,align={lohi,middle}] \bTABLE[frame=off,loffset=1ex,roffset=1ex,align={middle,lohi}] \bTR \bTD A \eTD \bTD B \eTD \bTD C \eTD \eTR \eTABLE \blank[line] \bTABLE[frame=off,loffset=1ex,roffset=1ex,align={middle,lohi}] \bTR \bTD D \eTD \bTD E \eTD \bTD F \eTD \eTR \eTABLE \stopTEXpage as a \noindent is injected at the beginning and that has the side effect of an empty line then forcing width of hsize ----------------------------------------------------------------- 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 -----------------------------------------------------------------
Hi,
I have had similar problems with such side effects in my projects.
My question is where can read up on side effects. On the wiki and
in the manuals side effects are not listed.
It would be nice to read up on the side effects so that one can try to avoid them
or find a work around instead of trying to guess what is going on!
regards
Keith.
Am 14.11.2013 um 23:27 schrieb Hans Hagen
On 11/14/2013 10:13 PM, Thomas A. Schmitz wrote:
[snip, snip]
that's because now you have a hbox
anyway, i uploaded a beta with a fix but still, keep in mind that you need to avoid empty lines:
\startTEXpage[offset=0.5ex,align={lohi,middle}] \bTABLE[frame=off,loffset=1ex,roffset=1ex,align={middle,lohi}] \bTR \bTD A \eTD \bTD B \eTD \bTD C \eTD \eTR \eTABLE \blank[line] \bTABLE[frame=off,loffset=1ex,roffset=1ex,align={middle,lohi}] \bTR \bTD D \eTD \bTD E \eTD \bTD F \eTD \eTR \eTABLE \stopTEXpage
as a \noindent is injected at the beginning and that has the side effect of an empty line then forcing width of hsize
Am 14.11.2013 um 21:33 schrieb Thomas A. Schmitz
Hi,
the latest betas have problems with TEXpage. The following example gives the expected result with an older version of context (2013.06.10 22:51), but fails with several betas from November (empty page created, no error); unfortunately, it is an older file, and I have no idea when exactly it broke:
\startTEXpage[offset=0.5ex]
\bTABLE[frame=off,loffset=1ex,roffset=1ex,align={middle,lohi}] \bTR \bTD A \eTD \bTD B \eTD \bTD C \eTD \eTR \eTABLE
\stopTEXpage
It’s a \framed bug, when you change “align=normal” to “align=line” the frame os correct. \starttext \startframed [framecolor=red, align=normal, ] \bTABLE \bTR \bTD A \eTD \eTR \eTABLE \stopframed \stoptext Wolfgang
Am 14.11.2013 um 21:45 schrieb Wolfgang Schuster
Am 14.11.2013 um 21:33 schrieb Thomas A. Schmitz
: Hi,
the latest betas have problems with TEXpage. The following example gives the expected result with an older version of context (2013.06.10 22:51), but fails with several betas from November (empty page created, no error); unfortunately, it is an older file, and I have no idea when exactly it broke:
\startTEXpage[offset=0.5ex]
\bTABLE[frame=off,loffset=1ex,roffset=1ex,align={middle,lohi}] \bTR \bTD A \eTD \bTD B \eTD \bTD C \eTD \eTR \eTABLE
\stopTEXpage
It’s a \framed bug, when you change “align=normal” to “align=line” the frame os correct.
This should be “align=” and not “align=line”. Wolfgang
participants (4)
-
Hans Hagen
-
Keith J. Schultz
-
Thomas A. Schmitz
-
Wolfgang Schuster