From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/100715 Path: news.gmane.org!.POSTED!not-for-mail From: Fabrice Couvreur Newsgroups: gmane.comp.tex.context Subject: Horizontal line after text in an environment Date: Wed, 25 Apr 2018 16:59:59 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0061699514669683526==" X-Trace: blaine.gmane.org 1524668319 22256 195.159.176.226 (25 Apr 2018 14:58:39 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 25 Apr 2018 14:58:39 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Apr 25 16:58:35 2018 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 blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fBLsR-0005eC-Bi for gctc-ntg-context-518@m.gmane.org; Wed, 25 Apr 2018 16:58:35 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 16310626348; Wed, 25 Apr 2018 17:00:16 +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 MgD1JDeIKIbB; Wed, 25 Apr 2018 17:00:15 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 402E9626119; Wed, 25 Apr 2018 17:00:15 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 559AB626119 for ; Wed, 25 Apr 2018 17:00:14 +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 bWtX_KL7yXIv for ; Wed, 25 Apr 2018 17:00:10 +0200 (CEST) Original-Received: from mail-wr0-f182.google.com (mail-wr0-f182.google.com [209.85.128.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id DAF86626113 for ; Wed, 25 Apr 2018 17:00:00 +0200 (CEST) Original-Received: by mail-wr0-f182.google.com with SMTP id o15-v6so53648465wro.11 for ; Wed, 25 Apr 2018 08:00:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=+PxHidDnJ7H8e/2efWjrSJW6pojZdL7QqJnkWvj2mbw=; b=E7EeI6drpFznJh8cY51+TMdcjVpVcMc+6I1zTH6nWBxlSlZ43THPazkpayfj97nX35 l9vKHT6wpq30NgiZw+9mQEgz4gW7hjH4digE9mrdS+5on0zPy5xuDT5zLOvDcUcu8k3N BiwdiMAA81e0PLYtckPeJhPnLAeZH9Z8/fW/5ylvER+JUuwYES05fnOZP3GimVZe0Hbg Fw3qrkoQbYBmUaTTei59xZW2R0g+mDfM5BUiid+YuHmO8RhsIBrJgiEGtJOAxRj1DSDD 1xS7QUpxi0FFCZ6ofFwiFhbhL59pxywlQmOm4Wj8FX03PFl2XxeZfgiCub9ObdOEoyW+ Tsjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=+PxHidDnJ7H8e/2efWjrSJW6pojZdL7QqJnkWvj2mbw=; b=syHgFjOrWhqjxs4WuY37nXpnWEyCVDD6FHGBJmVKjsatHBIn0Ke/6upcesnJGyXO+9 H3+XkDcnov1b35OZAARQQLMZxAiZSQuViCNZfsyfl9khzx88lFrBDrhV6Fsb425sjMA9 itc7+QLc1nBYBdxHVilu0SMb1OkCzlzxwMn2hoY2ZgnU0khEsGZWQFlCWKRhKry4ASzm 2j7NbVxA2bcU6sPMqhrOaVoA5xsiVKO8E8y49kMJUt8FfB5KNfgqcn7HoBFgxCaFxycA bV/vzWHfcooYxrJTTBSPimUzQcM35LLXboCZW/esbCrH64GoFkrXbxxeBr8J0CE3tStq GF5A== X-Gm-Message-State: ALQs6tBOOCaJTxbXCqGRIPS6N95NFo7votggQ0Ytx0kwCfsKSFUS0LN6 PBYQhSk6U2bXtE3AymJLyxz6YBLKn7TfEINo5YfsRw== X-Google-Smtp-Source: AIpwx4/2YVsxGN2CM8X/gvrAGz5Qkg/OzD5yp3CgK0q2uUMC+e4emFOdgjvl109S8MANY66HK0hVEKqox9rHuAPPzB8= X-Received: by 2002:adf:e985:: with SMTP id h5-v6mr20959357wrm.137.1524668400099; Wed, 25 Apr 2018 08:00:00 -0700 (PDT) Original-Received: by 10.223.149.6 with HTTP; Wed, 25 Apr 2018 07:59:59 -0700 (PDT) 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:100715 Archived-At: --===============0061699514669683526== Content-Type: multipart/alternative; boundary="00000000000063655d056aad8645" --00000000000063655d056aad8645 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, In this environment, when the text has sufficient height, the horizontal line is well below the figure. However when the height of text is not sufficient, the position of the line is not correct and I would like it also below the figure. Thanks Fabrice \setuptolerance[stretch,verytolerant] \useMPlibrary[dum] \define[1]\ProprieteHeadcommand {\textrule[top]{#1}} \defineenumeration [propriete] [text=3DPropri=C3=A9t=C3=A9, title=3Dyes, headstyle=3D{bold}, style=3Ditalic, headcommand=3D\ProprieteHeadcommand, numbercommand=3D\groupedcommand{}{\nbsp}, after=3D\textrule] \starttext \startpropriete \placefigure[right,none]{}{\externalfigure[dummy]} \startitemize \item \input ward \item \input ward \stopitemize \stoppropriete \startpropriete \placefigure[right,none]{}{\externalfigure[dummy]} \startitemize \item First item \item Second item \stopitemize \stoppropriete \stoptext --00000000000063655d056aad8645 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,
In this environm= ent, when the text has sufficient height, the horizontal line is well below= the figure. However when the height = of text is not sufficient, the position of the line is not correct and I would like it also below the figure.
Thanks
Fabrice


\setuptolerance[= stretch,verytolerant]
\useMPlibrary[dum]


\define[1]\Propriete= Headcommand
=C2=A0 {\textrule[top]{#1}}

\defineenumeration
=C2= =A0 [propriete]
=C2=A0 [text=3DPropri=C3=A9t=C3=A9,
=C2=A0=C2=A0 titl= e=3Dyes,
=C2=A0=C2=A0 headstyle=3D{bold},
=C2=A0=C2=A0 style=3Ditalic= ,
=C2=A0=C2=A0 headcommand=3D\ProprieteHeadcommand,
=C2=A0=C2=A0 numb= ercommand=3D\groupedcommand{}{\nbsp},
=C2=A0=C2=A0 after=3D\textrule]
\starttext

\startpropriete
\placefigure[right,none]{}{\exter= nalfigure[dummy]}
\startitemize
\item \input ward
=C2=A0
\item= \input ward
\stopitemize
\stoppropriete
\startpropriete
\place= figure[right,none]{}{\externalfigure[dummy]}
\startitemize
\item Firs= t item
=C2=A0
\item Second item
\stopitemize
\stoppropriete
\stoptext
--00000000000063655d056aad8645-- --===============0061699514669683526== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============0061699514669683526==--