ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Thomas Floeren <thfl@mac.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Textbackground offset with multi-col paragraphs
Date: Thu, 23 Nov 2017 12:29:31 +0100	[thread overview]
Message-ID: <E0436780-0C89-4200-ACAE-90087FF411CC@mac.com> (raw)
In-Reply-To: <BAF069ED-52CC-4098-A4F4-31DC9C215A5B@mac.com>

> On 2. Nov 2017, at 15:17, Thomas Floeren <thfl@mac.com> wrote:
> 
> Hi,
> 
> I noticed that with one of the recent betas the right offset of my textbackgrounds doesn’t work properly anymore when the textbackground contains a multi-column “paragraph”.
> 
> A minimal:
> 
> \defineparagraphs [TestPar][n=2, distance=7mm]
> \setupparagraphs [TestPar][1][width=2em]
> 
> \definetextbackground [CB][
> location=paragraph,
> backgroundcolor=gray,
> leftoffset=.3em,
> rightoffset=.3em,
> topoffset=.3em,
> bottomoffset=.3em,
> frame=off
> ]
> 
> \starttext
> 
> \starttextbackground [CB]
> \dorecurse {40} {a b c } 
> \stoptextbackground
> 
> text
> 
> \starttextbackground [CB]
> \startTestPar
> img
> \TestPar
> \dorecurse {40} {a b c } 
> \stopTestPar
> \stoptextbackground
> 
> \stoptext
> 
> 
> The first box is OK and as expected. But with the second one (containing a “paragraph”) the right offset gets miscalculated, so that the text runs into the edge of the background.
> 
> With a beta from July or so the behavior was still OK.
> 

Any news on this?

Just to know if I should wait for a fix, or rather adapt my existing documents.

Thanks,

-- 
Tom

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

      parent reply	other threads:[~2017-11-23 11:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-02 14:17 Thomas Floeren
2017-11-02 17:55 ` Pablo Rodriguez
2017-11-02 19:22   ` Thomas Floeren
2017-11-23 11:29 ` Thomas Floeren [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=E0436780-0C89-4200-ACAE-90087FF411CC@mac.com \
    --to=thfl@mac.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).