ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Henning Hraban Ramm <texml@fiee.net>
Subject: [NTG-context] error in column sets
Date: Mon, 19 Jun 2023 21:59:29 +0200	[thread overview]
Message-ID: <71474b5a-d45b-dac7-e29b-4ca8d1e40030@fiee.net> (raw)
In-Reply-To: <ffa75428-5d47-1c97-a577-48e9b7066484@fiee.net>

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
___________________________________________________________________________________

       reply	other threads:[~2023-06-19 20:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <ffa75428-5d47-1c97-a577-48e9b7066484@fiee.net>
2023-06-19 19:59 ` Henning Hraban Ramm via ntg-context [this message]
2023-06-20 12:29   ` Henning Hraban Ramm via ntg-context

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=71474b5a-d45b-dac7-e29b-4ca8d1e40030@fiee.net \
    --to=ntg-context@ntg.nl \
    --cc=texml@fiee.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).