ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans van der Meer <havdmeer@xs4all.nl>
To: ConTeXt NTG <ntg-context@ntg.nl>
Subject: textbackground
Date: Sat, 19 Nov 2011 13:50:12 +0100	[thread overview]
Message-ID: <AA7D5422-5006-4EE7-A6F3-CF7F8042673C@xs4all.nl> (raw)

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

I get the impression that textbackground is not yet completely repaired in:

The small example below shows that location text starts at the left margin instead of at the chosen point in the text. That is, the green part should be "text with background" instead of "result. This is text w".

Paragraph background looks like it works again.

% Testing textbackground
\setuppapersize[A5]A5]
\definetextbackground[testA][%
	location=paragraph,state=start,background=color,backgroundcolor=yellow]
\definetextbackground[testB][%
	location=text,state=start,background=color,backgroundcolor=green]
\starttext
First para for test.
\starttestA
\input tufte
\stoptestA
Last para for text.\blank
Intermediate.\par
This is to fill up things a bit going to the next line in the result.
This is \starttestB text with background \stoptestB within.\blank
Afterwards.\par
\stoptext


[-- Attachment #2: textbackground.pdf --]
[-- Type: application/pdf, Size: 9933 bytes --]

[-- Attachment #3: Type: text/plain, Size: 24 bytes --]




Hans van der Meer




[-- 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:[~2011-11-19 12:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-19 12:50 Hans van der Meer [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-02-26  9:22 textbackground Alan BRASLAU
2015-02-26  9:54 ` textbackground Hans Hagen
2005-03-17 10:38 textbackground Duncan Hothersall
2004-06-26 12:47 textbackground dr. Hans van der Meer
2004-06-26 18:13 ` textbackground Hans Hagen Outside
2004-06-27  8:38   ` textbackground dr. Hans van der Meer
2004-06-29  9:12     ` textbackground Hans Hagen
2004-06-29  9:23     ` textbackground Hans Hagen

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=AA7D5422-5006-4EE7-A6F3-CF7F8042673C@xs4all.nl \
    --to=havdmeer@xs4all.nl \
    --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).