ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* TEXpage problem in lare betas
@ 2013-11-14 20:33 Thomas A. Schmitz
  2013-11-14 20:43 ` Hans Hagen
  2013-11-14 20:45 ` TEXpage problem in lare betas Wolfgang Schuster
  0 siblings, 2 replies; 13+ messages in thread
From: Thomas A. Schmitz @ 2013-11-14 20:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: TEXpage problem in lare betas
  2013-11-14 20:33 TEXpage problem in lare betas Thomas A. Schmitz
@ 2013-11-14 20:43 ` Hans Hagen
  2013-11-14 20:57   ` Thomas A. Schmitz
  2013-11-14 20:45 ` TEXpage problem in lare betas Wolfgang Schuster
  1 sibling, 1 reply; 13+ messages in thread
From: Hans Hagen @ 2013-11-14 20:43 UTC (permalink / raw)
  To: ntg-context

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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: TEXpage problem in lare betas
  2013-11-14 20:33 TEXpage problem in lare betas Thomas A. Schmitz
  2013-11-14 20:43 ` Hans Hagen
@ 2013-11-14 20:45 ` Wolfgang Schuster
  2013-11-14 21:02   ` Wolfgang Schuster
  1 sibling, 1 reply; 13+ messages in thread
From: Wolfgang Schuster @ 2013-11-14 20:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 14.11.2013 um 21:33 schrieb Thomas A. Schmitz <thomas.schmitz@uni-bonn.de>:

> 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
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: TEXpage problem in lare betas
  2013-11-14 20:43 ` Hans Hagen
@ 2013-11-14 20:57   ` Thomas A. Schmitz
  2013-11-14 21:01     ` Wolfgang Schuster
  0 siblings, 1 reply; 13+ messages in thread
From: Thomas A. Schmitz @ 2013-11-14 20:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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.

Thomas
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: TEXpage problem in lare betas
  2013-11-14 20:57   ` Thomas A. Schmitz
@ 2013-11-14 21:01     ` Wolfgang Schuster
  2013-11-14 21:05       ` Thomas A. Schmitz
  0 siblings, 1 reply; 13+ messages in thread
From: Wolfgang Schuster @ 2013-11-14 21:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 14.11.2013 um 21:57 schrieb Thomas A. Schmitz <thomas.schmitz@uni-bonn.de>:

> 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
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: TEXpage problem in lare betas
  2013-11-14 20:45 ` TEXpage problem in lare betas Wolfgang Schuster
@ 2013-11-14 21:02   ` Wolfgang Schuster
  0 siblings, 0 replies; 13+ messages in thread
From: Wolfgang Schuster @ 2013-11-14 21:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 867 bytes --]


Am 14.11.2013 um 21:45 schrieb Wolfgang Schuster <schuster.wolfgang@gmail.com>:

> 
> Am 14.11.2013 um 21:33 schrieb Thomas A. Schmitz <thomas.schmitz@uni-bonn.de>:
> 
>> 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

[-- Attachment #1.2: Type: text/html, Size: 1700 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: TEXpage problem in lare betas
  2013-11-14 21:01     ` Wolfgang Schuster
@ 2013-11-14 21:05       ` Thomas A. Schmitz
  2013-11-14 21:08         ` Hans Hagen
  0 siblings, 1 reply; 13+ messages in thread
From: Thomas A. Schmitz @ 2013-11-14 21:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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).

Thomas
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: TEXpage problem in lare betas
  2013-11-14 21:05       ` Thomas A. Schmitz
@ 2013-11-14 21:08         ` Hans Hagen
  2013-11-14 21:13           ` Thomas A. Schmitz
  0 siblings, 1 reply; 13+ messages in thread
From: Hans Hagen @ 2013-11-14 21:08 UTC (permalink / raw)
  To: ntg-context

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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: TEXpage problem in lare betas
  2013-11-14 21:08         ` Hans Hagen
@ 2013-11-14 21:13           ` Thomas A. Schmitz
  2013-11-14 21:14             ` Wolfgang Schuster
  2013-11-14 22:27             ` Hans Hagen
  0 siblings, 2 replies; 13+ messages in thread
From: Thomas A. Schmitz @ 2013-11-14 21:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: TEXpage problem in lare betas
  2013-11-14 21:13           ` Thomas A. Schmitz
@ 2013-11-14 21:14             ` Wolfgang Schuster
  2013-11-14 21:17               ` Thomas A. Schmitz
  2013-11-14 22:27             ` Hans Hagen
  1 sibling, 1 reply; 13+ messages in thread
From: Wolfgang Schuster @ 2013-11-14 21:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 14.11.2013 um 22:13 schrieb Thomas A. Schmitz <thomas.schmitz@uni-bonn.de>:

> 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
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: TEXpage problem in lare betas
  2013-11-14 21:14             ` Wolfgang Schuster
@ 2013-11-14 21:17               ` Thomas A. Schmitz
  0 siblings, 0 replies; 13+ messages in thread
From: Thomas A. Schmitz @ 2013-11-14 21:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 11/14/2013 10:14 PM, Wolfgang Schuster wrote:
> Remove “align=” from \startTEXpage.
>
> Wolfgang

Now we're talking! Yes, that works, thanks a lot!

Thomas
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: TEXpage problem in lare betas
  2013-11-14 21:13           ` Thomas A. Schmitz
  2013-11-14 21:14             ` Wolfgang Schuster
@ 2013-11-14 22:27             ` Hans Hagen
  2013-11-15 10:49               ` TEXpage problem in lare betas (slightly OT) Keith J. Schultz
  1 sibling, 1 reply; 13+ messages in thread
From: Hans Hagen @ 2013-11-14 22:27 UTC (permalink / raw)
  To: ntg-context

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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: TEXpage problem in lare betas (slightly OT)
  2013-11-14 22:27             ` Hans Hagen
@ 2013-11-15 10:49               ` Keith J. Schultz
  0 siblings, 0 replies; 13+ messages in thread
From: Keith J. Schultz @ 2013-11-15 10:49 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1219 bytes --]

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 <pragma@wxs.nl>:

> 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


[-- Attachment #1.2: Type: text/html, Size: 2868 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2013-11-15 10:49 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-14 20:33 TEXpage problem in lare betas Thomas A. Schmitz
2013-11-14 20:43 ` Hans Hagen
2013-11-14 20:57   ` Thomas A. Schmitz
2013-11-14 21:01     ` Wolfgang Schuster
2013-11-14 21:05       ` Thomas A. Schmitz
2013-11-14 21:08         ` Hans Hagen
2013-11-14 21:13           ` Thomas A. Schmitz
2013-11-14 21:14             ` Wolfgang Schuster
2013-11-14 21:17               ` Thomas A. Schmitz
2013-11-14 22:27             ` Hans Hagen
2013-11-15 10:49               ` TEXpage problem in lare betas (slightly OT) Keith J. Schultz
2013-11-14 20:45 ` TEXpage problem in lare betas Wolfgang Schuster
2013-11-14 21:02   ` Wolfgang Schuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).