ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Framed text in paragraphs too wide
@ 2010-04-05 23:20 Matthias Weber
  2010-04-05 23:50 ` Aditya Mahajan
  0 siblings, 1 reply; 4+ messages in thread
From: Matthias Weber @ 2010-04-05 23:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-04-06  7:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-05 23:20 Framed text in paragraphs too wide Matthias Weber
2010-04-05 23:50 ` Aditya Mahajan
2010-04-06  3:11   ` Matthias Weber
2010-04-06  7:06     ` Hans Hagen

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).