From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/95378 Path: news.gmane.org!not-for-mail From: John Kitzmiller Newsgroups: gmane.comp.tex.context Subject: Re: \defineparagraphs Date: Sat, 9 Jul 2016 08:48:23 -0400 Message-ID: References: <51175.1467978804@inradius.net> <577FA895.5070003@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) Content-Type: multipart/mixed; boundary="===============0457493095955201551==" X-Trace: ger.gmane.org 1468068555 22316 80.91.229.3 (9 Jul 2016 12:49:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 Jul 2016 12:49:15 +0000 (UTC) Cc: "ntg-context@ntg.nl ConTeXt users" To: Wolfgang Schuster Original-X-From: ntg-context-bounces@ntg.nl Sat Jul 09 14:49:03 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bLrgr-0007C7-LU for gctc-ntg-context-518@m.gmane.org; Sat, 09 Jul 2016 14:49:01 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B1C59114AF; Sat, 9 Jul 2016 14:48:47 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ce-CP5_F7e_z; Sat, 9 Jul 2016 14:48:46 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id E0747114B4; Sat, 9 Jul 2016 14:48:46 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A50B7114AF for ; Sat, 9 Jul 2016 14:48:45 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wE-i_-nnZXd6 for ; Sat, 9 Jul 2016 14:48:44 +0200 (CEST) Original-Received: from bosmailout07.eigbox.net (bosmailout07.eigbox.net [66.96.185.7]) (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id A5ECB114AC for ; Sat, 9 Jul 2016 14:48:34 +0200 (CEST) Original-Received: from bosmailscan06.eigbox.net ([10.20.15.6]) by bosmailout07.eigbox.net with esmtp (Exim) id 1bLrgP-0001V3-EG for ntg-context@ntg.nl; Sat, 09 Jul 2016 08:48:33 -0400 Original-Received: from [10.115.3.33] (helo=bosimpout13) by bosmailscan06.eigbox.net with esmtp (Exim) id 1bLrgP-00010w-A0 for ntg-context@ntg.nl; Sat, 09 Jul 2016 08:48:33 -0400 Original-Received: from bosauthsmtp01.yourhostingaccount.com ([10.20.18.1]) by bosimpout13 with id GcoV1t00J01P9Sa01coYfK; Sat, 09 Jul 2016 08:48:33 -0400 X-Authority-Analysis: v=2.1 cv=Abo/HhnG c=1 sm=1 tr=0 a=FLmnjis/JmE4jomwi6pJ+A==:117 a=IL07SEk6+ZlfzFcWHto7AQ==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=esbi5I81GEsA:10 a=cAmyUtKerLwA:10 a=pGLkceISAAAA:8 a=on8k0PJXfjkaCZmmSzAA:9 a=CjuIK1q_8ugA:10 a=y85PGfU6AAAA:8 a=ZZcWRisi6E6ZQXhQzPEA:9 a=rn9M4KX8IpUjZMgE:21 a=_W_S_7VecoQA:10 a=6kGIvZw6iX1k4Y-7sg4_:22 a=bTEXwkBYmqUeW0oPaaAt:22 Original-Received: from c-75-69-98-17.hsd1.nh.comcast.net ([75.69.98.17]:49252 helo=[10.0.0.4]) by bosauthsmtp01.eigbox.net with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim) id 1bLrgL-0003vA-QI; Sat, 09 Jul 2016 08:48:29 -0400 In-Reply-To: <577FA895.5070003@gmail.com> X-Mailer: Apple Mail (2.1993) X-EN-UserInfo: 08df34410b47fe835bedcf202d0c2be6:931c98230c6409dcc37fa7e93b490c27 X-EN-AuthUser: kitz@inradius.net X-EN-OrigIP: 75.69.98.17 X-EN-OrigHost: c-75-69-98-17.hsd1.nh.comcast.net 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" Xref: news.gmane.org gmane.comp.tex.context:95378 Archived-At: --===============0457493095955201551== Content-Type: multipart/alternative; boundary="Apple-Mail=_CB199B11-49CE-498A-BD20-BF3306139747" --Apple-Mail=_CB199B11-49CE-498A-BD20-BF3306139747 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On 8Jul, 2016, at 09:20, Wolfgang Schuster = wrote: >=20 >> The code below works with context2016.02.15, but fails with = context2016.05.19. >>=20 >> Itemize within the defined paragraph (Mypar) no longer puts the = thinrule in the margin (see the third question.) The \ansblank command = seems to the second part of Mypar is=20 >> the margin? Pdf of the success and fail attached. >>=20 >> Thanks! John >>=20 >> \startMypar >> \item Third question refers to graphic at right.=20 >> \Mypar >> >> \stopMypar > \item > \startcombination[nx=3D2,ny=3D1] > = {\framed[frame=3Doff,align=3Dflushleft,location=3Dtop,width=3D.5\localhsiz= e]{Third question refers to graphic at right.}}{} > {\tbox{\externalfigure[cow]}}{} > \stopcombination Thank you Wolfgang. I had to change .5\localhsize to .5\textwidth for it = to work here (and scale down the cow to make it fit in the barn.) I am looking into combinations to center the graphic in the second x = box, and make a \setupcombination[mycombination] similar to = \defineparagraph[Mypar] to reduce typing. \tbox is new to me. Is that a ConTeXt macro of TEX \vtop{\hbox}? Thanks again, John= --Apple-Mail=_CB199B11-49CE-498A-BD20-BF3306139747 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii

The code below works with = context2016.02.15, but fails with context2016.05.19.

Itemize within the defined paragraph (Mypar) no longer puts = the thinrule in the margin (see the third question.) The \ansblank = command seems to the second part of Mypar is 
the margin? = Pdf of the success and fail attached.

Thanks!= John

\startMypar
\item Third = question refers to graphic at right. 
\Mypar
<A graphic/MPcode goes herer>
\stopMypar
\item
    = \startcombination[nx=3D2,ny=3D1]
        = {\framed[frame=3Doff,align=3Dflushleft,location=3Dtop,width=3D.5\localhsiz= e]{Third question refers to graphic at right.}}{}
        = {\tbox{\externalfigure[cow]}}{}
    \stopcombination

Thank you Wolfgang. I had to change .5\localhsize to = .5\textwidth for it to work here (and scale down the cow to make it fit = in the barn.)

I = am looking into combinations to center the graphic in the second x box, = and make a \setupcombination[mycombination] similar to = \defineparagraph[Mypar] to reduce typing.

\tbox is new to me. Is that a ConTeXt = macro of TEX \vtop{\hbox}?

Thanks again, John
= --Apple-Mail=_CB199B11-49CE-498A-BD20-BF3306139747-- --===============0457493095955201551== 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= --===============0457493095955201551==--