ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* columns unexpected (odd) results
@ 2018-08-01  9:34 Floris van Manen
  2018-08-01  9:48 ` Henri Menke
  0 siblings, 1 reply; 11+ messages in thread
From: Floris van Manen @ 2018-08-01  9:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1.1: Type: text/plain, Size: 581 bytes --]

Has anyone a solution / hint as how to get the linespacing correct when using columns ?

The first page works as expected,
but all the following pages have an unexpected mis-alignment  in the first column





The document itself is plain vanilla:


\starttext
\startlines
Testing 1971-04-26
\startcolumns[n=3]

+ 17271 \rightarrow\  2018-08-08
+ 17300 \rightarrow\  2018-09-06
+ 17371 \rightarrow\  2018-11-16

…


+ 39900 \rightarrow\  2080-07-22
+ 39993 \rightarrow\  2080-10-23
+ 40000 \rightarrow\  2080-10-30
\stopcolumns
\stoplines
\stoptext

[-- Attachment #1.1.2.1: Type: text/html, Size: 1334 bytes --]

[-- Attachment #1.1.2.2: 7DF8BBCF-A378-4BF6-BFBE-CA5767D0DF95.png --]
[-- Type: image/png, Size: 25203 bytes --]

[-- Attachment #1.2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: columns unexpected (odd) results
  2018-08-01  9:34 columns unexpected (odd) results Floris van Manen
@ 2018-08-01  9:48 ` Henri Menke
  2018-08-01 10:37   ` Pablo Rodriguez
  0 siblings, 1 reply; 11+ messages in thread
From: Henri Menke @ 2018-08-01  9:48 UTC (permalink / raw)
  To: ntg-context

Cannot reproduce with TL2018 or latest beta.  MWE below:

\starttext
\startlines
   Testing 1971-04-26
   \startcolumns[n=3]
     \dorecurse{200}{+ 17271 \rightarrow\  2018-08-08 }
   \stopcolumns
\stoplines
\stoptext

On 01/08/18 21:34, Floris van Manen wrote:
> Has anyone a solution / hint as how to get the linespacing correct when 
> using columns ?
> 
> The first page works as expected,
> but all the following pages have an unexpected mis-alignment  in the 
> first column
> 
> 
> 
> 
> 
> The document itself is plain vanilla:
> 
> 
> \starttext
> \startlines
> Testing 1971-04-26
> \startcolumns[n=3]
> 
> + 17271 \rightarrow\  2018-08-08
> + 17300 \rightarrow\  2018-09-06
> + 17371 \rightarrow\  2018-11-16
> 
> …
> 
> 
> + 39900 \rightarrow\  2080-07-22
> + 39993 \rightarrow\  2080-10-23
> + 40000 \rightarrow\  2080-10-30
> \stopcolumns
> \stoplines
> \stoptext
> 
> 
> ___________________________________________________________________________________
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
> 
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: columns unexpected (odd) results
  2018-08-01  9:48 ` Henri Menke
@ 2018-08-01 10:37   ` Pablo Rodriguez
  2018-08-01 11:04     ` Taco Hoekwater
  2018-08-02 17:43     ` Hans Hagen
  0 siblings, 2 replies; 11+ messages in thread
From: Pablo Rodriguez @ 2018-08-01 10:37 UTC (permalink / raw)
  To: ntg-context

On 08/01/2018 11:48 AM, Henri Menke wrote:
> Cannot reproduce with TL2018 or latest beta.

Hi Henri,

I’m afraid that Floris is right. With latest beta and a simple
improvement to your file, I get wrong output:

    \starttext
    \startlines
       Testing 1971-04-26
       \startcolumns[n=3]
         \dorecurse{200}{+ 17271 \rightarrow\  2018-08-08
         }
       \stopcolumns
    \stoplines
    \stoptext

If the closing parenthesis is on the same line, the plus sign is
misplaced in the last item.

With the previous sample, the second page gets a wrong interline space
(between the third and the fourth item from the first column).

Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: columns unexpected (odd) results
  2018-08-01 10:37   ` Pablo Rodriguez
@ 2018-08-01 11:04     ` Taco Hoekwater
  2018-08-01 13:39       ` Floris van Manen
  2018-08-01 19:28       ` Wolfgang Schuster
  2018-08-02 17:43     ` Hans Hagen
  1 sibling, 2 replies; 11+ messages in thread
From: Taco Hoekwater @ 2018-08-01 11:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

Same problem I had. 

As a workaround,

\setuplayout[grid=yes]

helps.

> On 1 Aug 2018, at 12:37, Pablo Rodriguez <oinos@gmx.es> wrote:
> 
> On 08/01/2018 11:48 AM, Henri Menke wrote:
>> Cannot reproduce with TL2018 or latest beta.
> 
> Hi Henri,
> 
> I’m afraid that Floris is right. With latest beta and a simple
> improvement to your file, I get wrong output:
> 
>    \starttext
>    \startlines
>       Testing 1971-04-26
>       \startcolumns[n=3]
>         \dorecurse{200}{+ 17271 \rightarrow\  2018-08-08
>         }
>       \stopcolumns
>    \stoplines
>    \stoptext
> 
> If the closing parenthesis is on the same line, the plus sign is
> misplaced in the last item.
> 
> With the previous sample, the second page gets a wrong interline space
> (between the third and the fourth item from the first column).
> 
> Pablo
> -- 
> http://www.ousia.tk
> ___________________________________________________________________________________
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

Taco Hoekwater
Elvenkind BV




___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: columns unexpected (odd) results
  2018-08-01 11:04     ` Taco Hoekwater
@ 2018-08-01 13:39       ` Floris van Manen
  2018-08-01 19:28       ` Wolfgang Schuster
  1 sibling, 0 replies; 11+ messages in thread
From: Floris van Manen @ 2018-08-01 13:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

that works indeed.
thank you

.F


> On 1 Aug 2018, at 13:04, Taco Hoekwater <taco@elvenkind.com> wrote:
> 
> Hi,
> 
> Same problem I had.
> 
> As a workaround,
> 
> \setuplayout[grid=yes]
> 
> helps.
> 
>> On 1 Aug 2018, at 12:37, Pablo Rodriguez <oinos@gmx.es> wrote:
>> 
>> On 08/01/2018 11:48 AM, Henri Menke wrote:
>>> Cannot reproduce with TL2018 or latest beta.
>> 
>> Hi Henri,
>> 
>> I’m afraid that Floris is right. With latest beta and a simple
>> improvement to your file, I get wrong output:
>> 
>>   \starttext
>>   \startlines
>>      Testing 1971-04-26
>>      \startcolumns[n=3]
>>        \dorecurse{200}{+ 17271 \rightarrow\  2018-08-08
>>        }
>>      \stopcolumns
>>   \stoplines
>>   \stoptext
>> 
>> If the closing parenthesis is on the same line, the plus sign is
>> misplaced in the last item.
>> 
>> With the previous sample, the second page gets a wrong interline space
>> (between the third and the fourth item from the first column).
>> 
>> Pablo
>> --
>> http://www.ousia.tk
>> ___________________________________________________________________________________
>> 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://context.aanhet.net
>> archive  : https://bitbucket.org/phg/context-mirror/commits/
>> wiki     : http://contextgarden.net
>> ___________________________________________________________________________________
> 
> Taco Hoekwater
> Elvenkind BV
> 
> 
> 
> 
> ___________________________________________________________________________________
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________


[-- Attachment #1.2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: columns unexpected (odd) results
  2018-08-01 11:04     ` Taco Hoekwater
  2018-08-01 13:39       ` Floris van Manen
@ 2018-08-01 19:28       ` Wolfgang Schuster
  2018-08-01 20:16         ` Floris van Manen
  1 sibling, 1 reply; 11+ messages in thread
From: Wolfgang Schuster @ 2018-08-01 19:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Ending each line in a proper (e.g. by adding \par to finish the paragraph)
without the misuse the lines environment fixes the problem as well.

\starttext

Testing 1971-04-26

\startcolumns[n=3]
\dorecurse{200}{+ 17271 \rightarrow\  2018-08-08\par}
\stopcolumns

\stoptext

Wolfgang


Taco Hoekwater schrieb am 01.08.18 um 13:04:
> Hi,
>
> Same problem I had.
>
> As a workaround,
>
> \setuplayout[grid=yes]
>
> helps.
>
>> On 1 Aug 2018, at 12:37, Pablo Rodriguez <oinos@gmx.es> wrote:
>>
>> On 08/01/2018 11:48 AM, Henri Menke wrote:
>>> Cannot reproduce with TL2018 or latest beta.
>> Hi Henri,
>>
>> I’m afraid that Floris is right. With latest beta and a simple
>> improvement to your file, I get wrong output:
>>
>>     \starttext
>>     \startlines
>>        Testing 1971-04-26
>>        \startcolumns[n=3]
>>          \dorecurse{200}{+ 17271 \rightarrow\  2018-08-08
>>          }
>>        \stopcolumns
>>     \stoplines
>>     \stoptext
>>
>> If the closing parenthesis is on the same line, the plus sign is
>> misplaced in the last item.
>>
>> With the previous sample, the second page gets a wrong interline space
>> (between the third and the fourth item from the first column).
>>
>> Pablo
>> -- 
>> http://www.ousia.tk
>> ___________________________________________________________________________________
>> 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://context.aanhet.net
>> archive  : https://bitbucket.org/phg/context-mirror/commits/
>> wiki     : http://contextgarden.net
>> ___________________________________________________________________________________
> Taco Hoekwater
> Elvenkind BV
>
>
>
>
> ___________________________________________________________________________________
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: columns unexpected (odd) results
  2018-08-01 19:28       ` Wolfgang Schuster
@ 2018-08-01 20:16         ` Floris van Manen
  2018-08-02  7:42           ` Pablo Rodriguez
  2018-08-02 17:01           ` Wolfgang Schuster
  0 siblings, 2 replies; 11+ messages in thread
From: Floris van Manen @ 2018-08-01 20:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Not sure as how to tell why it is misusing the line environment.
But the suggested \par solution does not work.

.F


> On 1 Aug 2018, at 21:28, Wolfgang Schuster <wolfgang.schuster.lists@gmail.com> wrote:
> 
> Ending each line in a proper (e.g. by adding \par to finish the paragraph)
> without the misuse the lines environment fixes the problem as well.
> 
> \starttext
> 
> Testing 1971-04-26
> 
> \startcolumns[n=3]
> \dorecurse{200}{+ 17271 \rightarrow\  2018-08-08\par}
> \stopcolumns
> 
> \stoptext
> 
> Wolfgang
> 
> 
> Taco Hoekwater schrieb am 01.08.18 um 13:04:
>> Hi,
>> 
>> Same problem I had.
>> 
>> As a workaround,
>> 
>> \setuplayout[grid=yes]
>> 
>> helps.
>> 
>>> On 1 Aug 2018, at 12:37, Pablo Rodriguez <oinos@gmx.es> wrote:
>>> 
>>> On 08/01/2018 11:48 AM, Henri Menke wrote:
>>>> Cannot reproduce with TL2018 or latest beta.
>>> Hi Henri,
>>> 
>>> I’m afraid that Floris is right. With latest beta and a simple
>>> improvement to your file, I get wrong output:
>>> 
>>>    \starttext
>>>    \startlines
>>>       Testing 1971-04-26
>>>       \startcolumns[n=3]
>>>         \dorecurse{200}{+ 17271 \rightarrow\  2018-08-08
>>>         }
>>>       \stopcolumns
>>>    \stoplines
>>>    \stoptext
>>> 
>>> If the closing parenthesis is on the same line, the plus sign is
>>> misplaced in the last item.
>>> 
>>> With the previous sample, the second page gets a wrong interline space
>>> (between the third and the fourth item from the first column).
>>> 
>>> Pablo
>>> --
>>> http://www.ousia.tk
>>> ___________________________________________________________________________________
>>> 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://context.aanhet.net
>>> archive  : https://bitbucket.org/phg/context-mirror/commits/
>>> wiki     : http://contextgarden.net
>>> ___________________________________________________________________________________
>> Taco Hoekwater
>> Elvenkind BV
>> 
>> 
>> 
>> 
>> ___________________________________________________________________________________
>> 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://context.aanhet.net
>> archive  : https://bitbucket.org/phg/context-mirror/commits/
>> wiki     : http://contextgarden.net
>> ___________________________________________________________________________________
> 
> ___________________________________________________________________________________
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________


[-- Attachment #1.2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: columns unexpected (odd) results
  2018-08-01 20:16         ` Floris van Manen
@ 2018-08-02  7:42           ` Pablo Rodriguez
  2018-08-02 16:35             ` Wolfgang Schuster
  2018-08-02 17:01           ` Wolfgang Schuster
  1 sibling, 1 reply; 11+ messages in thread
From: Pablo Rodriguez @ 2018-08-02  7:42 UTC (permalink / raw)
  To: ntg-context, wolfgang.schuster.lists

On 08/01/2018 10:16 PM, Floris van Manen wrote:
> Not sure as how to tell why it is misusing the line environment.
> But the suggested \par solution does not work.
> 
> .F
> 
>> On 1 Aug 2018, at 21:28, Wolfgang Schuster wrote:
>>
>> Ending each line in a proper (e.g. by adding \par to finish the paragraph)
>> without the misuse the lines environment fixes the problem as well.

Wolfgang,

as Florian reported, this doesn’t solve the issue.

On the second page, interline space between the third and fourth lines
from the first column is wrong.

The only way to fix it seems to enable grid composition. I don’t know
whether this might be a bug in ConTeXt.

Many thanks for your help,

Pablo



>> \starttext
>>
>> Testing 1971-04-26
>>
>> \startcolumns[n=3]
>> \dorecurse{200}{+ 17271 \rightarrow\  2018-08-08\par}
>> \stopcolumns
>>
>> \stoptext
>>
>> Wolfgang

-- 
http://www.ousia.tk
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: columns unexpected (odd) results
  2018-08-02  7:42           ` Pablo Rodriguez
@ 2018-08-02 16:35             ` Wolfgang Schuster
  0 siblings, 0 replies; 11+ messages in thread
From: Wolfgang Schuster @ 2018-08-02 16:35 UTC (permalink / raw)
  To: Pablo Rodriguez; +Cc: ntg-context



Pablo Rodriguez schrieb am 02.08.18 um 09:42:
> On 08/01/2018 10:16 PM, Floris van Manen wrote:
>> Not sure as how to tell why it is misusing the line environment.
>> But the suggested \par solution does not work.
>>
>> .F
>>
>>> On 1 Aug 2018, at 21:28, Wolfgang Schuster wrote:
>>>
>>> Ending each line in a proper (e.g. by adding \par to finish the paragraph)
>>> without the misuse the lines environment fixes the problem as well.
> Wolfgang,
>
> as Florian reported, this doesn’t solve the issue.
>
> On the second page, interline space between the third and fourth lines
> from the first column is wrong.

I saw only the wrong alignment of the last text line before \stopcolumns 
which can be fixed with \par.

> The only way to fix it seems to enable grid composition. I don’t know
> whether this might be a bug in ConTeXt.

Adding \strut at the begin of each text line does also fix the spacing.

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: columns unexpected (odd) results
  2018-08-01 20:16         ` Floris van Manen
  2018-08-02  7:42           ` Pablo Rodriguez
@ 2018-08-02 17:01           ` Wolfgang Schuster
  1 sibling, 0 replies; 11+ messages in thread
From: Wolfgang Schuster @ 2018-08-02 17:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Floris van Manen

Floris van Manen schrieb am 01.08.18 um 22:16:
> Not sure as how to tell why it is misusing the line environment.
> But the suggested \par solution does not work.

I took only a brief look at Henris example where I saw only the wrong 
alignment
before \stopcolumns. What you can do to fix the vertical alignment 
without enabling
the grid is to add \strut at the begin of each line.

\starttext

Testing 1971-04-26

\startcolumns[n=3]
\startlines[command=\strut]
+ 17271 \rightarrow\  2018-08-08
...
+ 17271 \rightarrow\  2018-08-08
\stoplines
\stopcolumns

\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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: columns unexpected (odd) results
  2018-08-01 10:37   ` Pablo Rodriguez
  2018-08-01 11:04     ` Taco Hoekwater
@ 2018-08-02 17:43     ` Hans Hagen
  1 sibling, 0 replies; 11+ messages in thread
From: Hans Hagen @ 2018-08-02 17:43 UTC (permalink / raw)
  To: ntg-context

On 8/1/2018 12:37 PM, Pablo Rodriguez wrote:
> On 08/01/2018 11:48 AM, Henri Menke wrote:
>> Cannot reproduce with TL2018 or latest beta.
> 
> Hi Henri,
> 
> I’m afraid that Floris is right. With latest beta and a simple
> improvement to your file, I get wrong output:
> 
>      \starttext
>      \startlines
>         Testing 1971-04-26
>         \startcolumns[n=3]
>           \dorecurse{200}{+ 17271 \rightarrow\  2018-08-08
>           }
>         \stopcolumns
>      \stoplines
>      \stoptext
> 
> If the closing parenthesis is on the same line, the plus sign is
> misplaced in the last item.
> 
> With the previous sample, the second page gets a wrong interline space
> (between the third and the fourth item from the first column).
quick hack:

\unprotect

\unexpanded\def\page_otr_synchronize_page_indeed
   {\ifx\currentoutputroutine\s!multicolumn\else\clf_synchronizepage\fi
    \glet\page_otr_synchronize_page\page_otr_synchronize_page_yes}

\protect

Actually I don't see it here because i have

\definemixedcolumns
   [\v!columns]
   [\c!balance=\v!yes,
    \c!blank={\v!line,\v!fixed}]

\unexpanded\def\setupcolumns
   {\setupmixedcolumns[\v!columns]}

in a local test file (already for years so maybe it's time time to make 
that default)

(btw, pagecolumns are an other alternative)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2018-08-02 17:43 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-01  9:34 columns unexpected (odd) results Floris van Manen
2018-08-01  9:48 ` Henri Menke
2018-08-01 10:37   ` Pablo Rodriguez
2018-08-01 11:04     ` Taco Hoekwater
2018-08-01 13:39       ` Floris van Manen
2018-08-01 19:28       ` Wolfgang Schuster
2018-08-01 20:16         ` Floris van Manen
2018-08-02  7:42           ` Pablo Rodriguez
2018-08-02 16:35             ` Wolfgang Schuster
2018-08-02 17:01           ` Wolfgang Schuster
2018-08-02 17:43     ` Hans Hagen

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