ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Marco <netuse@lavabit.com>
To: ntg-context@ntg.nl
Subject: Re: Bug with rule between columns in columnset
Date: Tue, 24 Jul 2012 18:10:56 +0200	[thread overview]
Message-ID: <20120724181056.7b2eab60@homerow> (raw)
In-Reply-To: <500EB210.1090409@wxs.nl>

[-- Attachment #1: Type: text/plain, Size: 921 bytes --]

On 2012-07-24 Hans Hagen <pragma@wxs.nl> wrote:

> I've added two column state variables to mp:
> 
> \startuseMPgraphic{verticalline}
>      if CurrentColumn < NOfColumns :
>          draw rightboundary OverlayBox shifted (2.5mm,0) ;
>          setbounds currentpicture to OverlayBox enlarged 2.5mm;
>      fi ;
> \stopuseMPgraphic  

Thanks Hans for this quick solution. I like the new approach, no
fiddling with test backgrounds.

However, the old mechanism did not draw the rule through where the
graphics are inserted. I don't know why, but that was exactly what I
needed. The new mechanism draws a rule regardless of the presence of
a graphic. See the attached examples.

With the dummy pictures it looks quite okay with the line drawn
through. But in the document several graphics already have a frame,
which then visually interferes with the column separator rule.

Is there a way to get the old behaviour?

Marco

[-- Attachment #2: out-new.pdf --]
[-- Type: application/pdf, Size: 30241 bytes --]

[-- Attachment #3: out-old.pdf --]
[-- Type: application/pdf, Size: 30279 bytes --]

[-- Attachment #4: 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
___________________________________________________________________________________

      reply	other threads:[~2012-07-24 16:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-24 10:52 Marco
2012-07-24 14:32 ` Hans Hagen
2012-07-24 16:10   ` Marco [this message]

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=20120724181056.7b2eab60@homerow \
    --to=netuse@lavabit.com \
    --cc=ntg-context@ntg.nl \
    /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).