ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] error in column sets
       [not found] <ffa75428-5d47-1c97-a577-48e9b7066484@fiee.net>
@ 2023-06-19 19:59 ` Henning Hraban Ramm via ntg-context
  2023-06-20 12:29   ` Henning Hraban Ramm via ntg-context
  0 siblings, 1 reply; 2+ messages in thread
From: Henning Hraban Ramm via ntg-context @ 2023-06-19 19:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Henning Hraban Ramm

In a minimal example like this:

\setuppapersize[A5]
\definecolumnset[TwoColumns][n=2]

\starttext
\startcolumnset [TwoColumns]
    \dorecurse{10}{\samplefile{knuth}}
\stopcolumnset

\stoptext

… many columns start one line too low and overwrite their last line.


An extended example (nearly the same as in the manual) shows that some 
column set spans don’t appear:

\showgrid\showframe

\definecolumnset[Beispiel][n=3]
\definecolumnsetspan[Zwei][n=2,color=blue]
\definecolumnsetspan[Drei][n=3,color=red]

\starttext
\startcolumnset[Beispiel]
\startcolumnsetspan[Drei]% this works
{\bfd Überschrift}

Anleser: \dorecurse{2}{#1: \samplefile{knuth}\par}
\stoptitle
\stopcolumnsetspan

Zwischen: \samplefile{tufte}\par

\startcolumnsetspan[Zwei]% This never shows up!
Zwei: \dorecurse{2}{#1: \samplefile{lorem}\par}
\stopcolumnsetspan

Nach: \dorecurse{15}{#1: \samplefile{knuth}\par}
\stopcolumnset
\stoptext

Also I seem to remember that column sets would enforce grid mode, but 
they clearly don’t.

(BTW the old \startcolumns mode works better than I remembered.)

Hraban
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

* Re: [NTG-context] error in column sets
  2023-06-19 19:59 ` [NTG-context] error in column sets Henning Hraban Ramm via ntg-context
@ 2023-06-20 12:29   ` Henning Hraban Ramm via ntg-context
  0 siblings, 0 replies; 2+ messages in thread
From: Henning Hraban Ramm via ntg-context @ 2023-06-20 12:29 UTC (permalink / raw)
  To: Henning Hraban Ramm via ntg-context; +Cc: Henning Hraban Ramm

Am 19.06.23 um 21:59 schrieb Henning Hraban Ramm via ntg-context:
> In a minimal example like this:
> 
> \setuppapersize[A5]
> \definecolumnset[TwoColumns][n=2]
> 
> \starttext
> \startcolumnset [TwoColumns]
>     \dorecurse{10}{\samplefile{knuth}}
> \stopcolumnset
> 
> \stoptext
> 
> … many columns start one line too low and overwrite their last line.
...
> Also I seem to remember that column sets would enforce grid mode, but 
> they clearly don’t.

If you enable \setuplayout[grid=yes], lines get placed correctly.
Also floats work well (here and top).

But some columnsetspans still disappear, and footnotes get overwritten. 
(I know, that tricky inset stuff…)

Hraban

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2023-06-20 12:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <ffa75428-5d47-1c97-a577-48e9b7066484@fiee.net>
2023-06-19 19:59 ` [NTG-context] error in column sets Henning Hraban Ramm via ntg-context
2023-06-20 12:29   ` Henning Hraban Ramm via ntg-context

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