From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/90329 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Problem with framed text. Date: Sun, 22 Feb 2015 20:52:29 +0100 Message-ID: References: <20150221123559.1bf477b1@localb.wexfordpress.net> <2CD2C655-9113-44E3-A4AB-FCE2AB5C6A95@umich.edu> <20150222075545.4b342387@localb.wexfordpress.net> <54E9EE6C.4020905@gmx.es> <20150222125605.51996c73@localb.wexfordpress.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Content-Type: multipart/mixed; boundary="===============1603877431==" X-Trace: ger.gmane.org 1424634801 6608 80.91.229.3 (22 Feb 2015 19:53:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 Feb 2015 19:53:21 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Feb 22 20:53:10 2015 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YPcaS-00039h-FQ for gctc-ntg-context-518@m.gmane.org; Sun, 22 Feb 2015 20:53:08 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DB30810237 for ; Sun, 22 Feb 2015 20:53:07 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id qJHc-y28dZ7i for ; Sun, 22 Feb 2015 20:53:06 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id C49DC10239 for ; Sun, 22 Feb 2015 20:52:39 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B6AC8101EA for ; Sun, 22 Feb 2015 20:52:35 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ZWxlvxX6Qc72 for ; Sun, 22 Feb 2015 20:52:34 +0100 (CET) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id D7563101E8 for ; Sun, 22 Feb 2015 20:52:34 +0100 (CET) Original-Received: from mail-wg0-x229.google.com (mail-wg0-x229.google.com [IPv6:2a00:1450:400c:c00::229]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id t1MJqXpO031814 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Sun, 22 Feb 2015 20:52:33 +0100 Original-Received: by mail-wg0-f41.google.com with SMTP id b13so22104314wgh.0 for ; Sun, 22 Feb 2015 11:52:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:message-id:mime-version:subject:date:references :to:in-reply-to; bh=VOdDE/N6eABcJvulQDpbwCTFMQmtDIExw6h2B6ffGF4=; b=XHIcBTDXH/0Nl4g/TMUhr/BYQC7Fo2lAGnpx0kd3JiJx1e+N3py+r6614jSZnj/A2I d2qb4hw/S+GS14B2l/0laLT3kuHNqDliLGkgMcPTuS9kPcqQ/8faz46F7eKJvuRDAzPJ 0F1r05SCrmzz+lyqBxt1ivbs/Q7mhfeosob5oU82HD1XoDQcm9juE15En7GfIErycxCq zJBRdwNRuldZGLe5QlRT2vYc9nbGjGMD7Y4tApHeBcTnaJ6t9kEApvWToIXTOtW78pki KDtswQ+CB1ZajW4hS4Ei5f63cFQG+tNpfmaHrobFa+0fFdVfsMqUrwFKENx2qv2lAeaO YsCA== X-Received: by 10.180.73.1 with SMTP id h1mr14700920wiv.10.1424634753557; Sun, 22 Feb 2015 11:52:33 -0800 (PST) Original-Received: from keima.localdomain (x2f2e8d1.dyn.telefonica.de. [2.242.232.209]) by mx.google.com with ESMTPSA id dn7sm1404341wid.12.2015.02.22.11.52.31 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 22 Feb 2015 11:52:32 -0800 (PST) In-Reply-To: <20150222125605.51996c73@localb.wexfordpress.net> X-Mailer: Apple Mail (2.2070.6) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c00::229; country=IE; latitude=53.3478; longitude=-6.2597; http://maps.google.com/maps?q=53.3478,-6.2597&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07NTvQx2y - e33500455a3e - 20150222 Received-SPF: pass (filter1-utr.mf.surf.net: domain of schuster.wolfgang@gmail.com designates 2a00:1450:400c:c00::229 as permitted sender) receiver=filter1-utr.mf.surf.net; client-ip=2a00:1450:400c:c00::229; envelope-from=; helo=mail-wg0-x229.google.com; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" X-Spam-Report: 5.0 points; * 3.2 RCVD_ILLEGAL_IP Received: contains illegal IP address * 0.0 HTML_MESSAGE BODY: HTML included in message * 1.8 MIME_QP_LONG_LINE RAW: Quoted-printable line longer than 76 chars Xref: news.gmane.org gmane.comp.tex.context:90329 Archived-At: --===============1603877431== Content-Type: multipart/alternative; boundary="Apple-Mail=_81DE48E8-A8E4-4609-95DD-754139F9AA27" --Apple-Mail=_81DE48E8-A8E4-4609-95DD-754139F9AA27 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > Am 22.02.2015 um 18:56 schrieb John Culleton : >=20 > On Sun, 22 Feb 2015 15:57:48 +0100 > Pablo Rodriguez > wrote: >=20 >> On 02/22/2015 01:55 PM, John Culleton wrote: >>> On Sat, 21 Feb 2015 14:16:31 -0500 Aditya >>> Mahajan wrote: >>>> [...] >>>> There should be a comma after 0.1. >>>=20 >>> With respect, I don't think so. Commas >>> separate parameters. the last "0.1" is >>> properly followed by a "]". >>=20 >> Hi John, >>=20 >> this should work: >>=20 >> \setupframed[framecorner=3Dround, >> frameradius=3D0.1em, >> background=3Dscreen, >> backgroundscreen=3D0.70, >> backgroundcorner=3Dround, >> backgroundradius=3D0.1em, >> corner=3Dround, >> radius=3D0.1em] >>=20 >> Radius, framedradius and backgroundradius >> expect dimensions as values, not mere numbers. >>=20 >> BTW, having a sample that shows the problem >> increases the reply speed :-). >>=20 >> I hope it helps, >>=20 >>=20 >> Pablo > You had the cure. >=20 > I built a sample and then played with the em > value. Lacking precise guidance I thought that > the value was one of those 0 to 1 ranges. Not so. > setting at 1.0 em gives me what I was looking > for. The setting 0.1 em gave me rounding that was > imperceptible without magnification.=20 >=20 > Here is my successful sample: > ------------------------------------- > \setupframed Use \setupframedtext to change the layout of \startframedtext. > [framecorner=3Dround, > frameradius=3D1em, The =E2=80=9Cframeradius=E2=80=9D setting can be omitted because you set = =E2=80=9Cradius=E2=80=9D. > background=3Dscreen, > backgroundscreen=3D0.70, > backgroundcorner=3Dround, > backgroundradius=3D1em, The =E2=80=9Cbackgroundcorner=E2=80=9D and =E2=80=9Cbackgroundradius=E2=80= =9D settings can be omitted as well because you set =E2=80=9Ccorner=E2=80=9D= and =E2=80=9Cradius=E2=80=9D. > corner=3Dround, > radius1em] Missing =E2=80=9C=3D=E2=80=9D between =E2=80=9Cradius=E2=80=9D and = =E2=80=9C1em=E2=80=9D. Wolfgang= --Apple-Mail=_81DE48E8-A8E4-4609-95DD-754139F9AA27 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
Am 22.02.2015 um 18:56 schrieb John Culleton <John@wexfordpress.com>:

On Sun, 22 Feb 2015 15:57:48 +0100
Pablo Rodriguez <oinos@gmx.es> = wrote:

On 02/22/2015 01:55 PM, John Culleton wrote:
On Sat, 21 Feb 2015 = 14:16:31 -0500 Aditya
Mahajan wrote:
[...]
There = should be a comma after 0.1.

With respect, I don't think so. Commas
separate = parameters. the last "0.1" is
properly followed by a = "]".

Hi John,

this should work:

\setupframed[framecorner=3Dround,
frameradius=3D0.1em,
background=3Dscreen,
backgroundscreen=3D0.70,
backgroundcorner=3Dround,
backgroundradius=3D0.1em,
corner=3Dround,
radius=3D0.1em]

Radius, = framedradius and backgroundradius
expect dimensions as = values, not mere numbers.

BTW, having a = sample that shows the problem
increases the reply speed = :-).

I hope it helps,


Pablo
You had the cure.

I built a sample and then played with the = em
value. Lacking precise = guidance I thought that
the value was one of those = 0 to 1 ranges. Not so.
setting at 1.0 em gives me = what I was looking
for.  The setting 0.1 = em gave me rounding that was
imperceptible without = magnification. 

Here is my successful sample:
-------------------------------------
\setupframed

Use \setupframedtext to change the layout of = \startframedtext.

[framecorner=3Dround,
frameradius=3D1em,

The =E2=80=9Cframeradius=E2=80=9D setting can be = omitted because you set =E2=80=9Cradius=E2=80=9D.

background=3Dscreen,
backgroundscreen=3D0.70,
backgroundcorner=3Dround,
backgroundradius=3D1em,

The = =E2=80=9Cbackgroundcorner=E2=80=9D and =E2=80=9Cbackgroundradius=E2=80=9D = settings can be omitted as well because you set =E2=80=9Ccorner=E2=80=9D = and =E2=80=9Cradius=E2=80=9D.

corner=3Dround,
radius1em]

Missing =E2=80=9C=3D=E2=80=9D between =E2=80=9Cradiu= s=E2=80=9D and =E2=80=9C1em=E2=80=9D.

Wolfgang
= --Apple-Mail=_81DE48E8-A8E4-4609-95DD-754139F9AA27-- --===============1603877431== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============1603877431==--