ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Matthias Weber <matweber@indiana.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Framed text in paragraphs too wide
Date: Mon, 5 Apr 2010 19:20:21 -0400	[thread overview]
Message-ID: <05F44456-D87C-4581-8FBA-16254DD5774A@indiana.edu> (raw)

Dear all,

my problem with framed text persists in paragraphs: The frame extends  
over the entire page as soon as the
paragraph has more than one line. Problem exists in mkii and mkiv.
Minimal example below.

Thanks,

Matthias


\setupcolors[state=start]
\setupcolor[rgb]


\definetextbackground	[defbackground]
						[backgroundcolor=lightgray,
						background=color,
						frame=on,
						location=paragraph]

	
\defineparagraphs		[TwoThird][n=2]
\setupparagraphs		[TwoThird]
						[1]
						[width=.66\textwidth]

				
\starttext

\startTwoThird
\starttextbackground[defbackground]
The frame is too wide.
The frame is too wide.
The frame is too wide.
\stoptextbackground
%
\nextTwoThird
\placefigure
[here]
[figure:cow]
{Mooh}
{\externalfigure[cow][width=.3\textwidth]}
\stopTwoThird

\stoptext
___________________________________________________________________________________
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:[~2010-04-05 23:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-05 23:20 Matthias Weber [this message]
2010-04-05 23:50 ` Aditya Mahajan
2010-04-06  3:11   ` Matthias Weber
2010-04-06  7:06     ` 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=05F44456-D87C-4581-8FBA-16254DD5774A@indiana.edu \
    --to=matweber@indiana.edu \
    --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).