From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/98386 Path: news.gmane.org!.POSTED!not-for-mail From: Rik Kabel Newsgroups: gmane.comp.tex.context Subject: Multiline descriptions do not line up Date: Sat, 8 Jul 2017 23:45:57 -0400 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0213274600126079056==" X-Trace: blaine.gmane.org 1499572005 25641 195.159.176.226 (9 Jul 2017 03:46:45 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 9 Jul 2017 03:46:45 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jul 09 05:46:40 2017 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 1dU3BA-0006Rz-0y for gctc-ntg-context-518@m.gmane.org; Sun, 09 Jul 2017 05:46:40 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 7F0C6871ED; Sun, 9 Jul 2017 05:46: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 bh6cBsetxoHM; Sun, 9 Jul 2017 05:46:12 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 4F543871EA; Sun, 9 Jul 2017 05:46:12 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 3A465871E9 for ; Sun, 9 Jul 2017 05:46:11 +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 3mCFDeuDs0WE for ; Sun, 9 Jul 2017 05:46:10 +0200 (CEST) Original-Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 31B74871E8 for ; Sun, 9 Jul 2017 05:45:59 +0200 (CEST) Original-Received: from [192.168.201.10] (cpe-24-194-22-135.nycap.res.rr.com [24.194.22.135]) by mailbackend.panix.com (Postfix) with ESMTPSA id B0D0510F66 for ; Sat, 8 Jul 2017 23:45:58 -0400 (EDT) Content-Language: en-US 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:98386 Archived-At: This is a multi-part message in MIME format. --===============0213274600126079056== Content-Type: multipart/alternative; boundary="------------7D38DEFEC45DC4BB2FD56F85" Content-Language: en-US This is a multi-part message in MIME format. --------------7D38DEFEC45DC4BB2FD56F85 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit What is needed to align descriptions when the description text is wrapped? Items seven and thirteen below are particularly bad, and in a real document the error is significantly greater. \definedescription [Desc] [headstyle=\tf,alternative=hanging] \definelayer [vLine] \setlayer [vLine] [x=3.385cm]{\blackrule[color=red,width=0.2pt,height=\textheight]} \setupbackgrounds [text] [background=vLine] \starttext \startDesc{one} Description of item one. Description of item one.% Description of item one. \stopDesc \startDesc{two} Description of item two. Description of item two.% Description of item two. \stopDesc \startDesc{three} Description of item three. Description of item three.% Description of item three. \stopDesc \startDesc{four} Description of item four. Description of item four.% Description of item four. \stopDesc \startDesc{five} Description of item five. Description of item five.% Description of item five. \stopDesc \startDesc{six} Description of item six. Description of item six.% Description of item six. \stopDesc \startDesc{seven} Description of item seven. Description of item seven. Description of item seven. \stopDesc \startDesc{eight} Description of item eight. Description of item eight. Description of item eight. \stopDesc \startDesc{nine} Description of item nine. Description of item nine. Description of item nine. \stopDesc \startDesc{ten} Description of item ten. Description of item ten. Description of item ten. \stopDesc \startDesc{eleven} Description of item eleven. Description of item eleven. Description of item eleven. \stopDesc \startDesc{twelve} Description of item twelve. Description of item twelve. Description of item twelve. Description of item twelve. Description of item twelve. Description of item twelve. Description of item twelve. Description of item twelve. Description of item twelve. \stopDesc \startDesc{thirteen} Description of item thirteen. Description of item thirteen. Description of item thirteen. Description of item thirteen. Description of item thirteen. Description of item thirteen. Description of item thirteen. Description of item thirteen. Description of item thirteen. \stopDesc \stoptext -- Rik --------------7D38DEFEC45DC4BB2FD56F85 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

What is needed to align descriptions when the description text is wrapped? Items seven and thirteen below are particularly bad, and in a real document the error is significantly greater.

\definedescription [Desc]
                   [headstyle=\tf,alternative=hanging]
\definelayer       [vLine]
\setlayer          [vLine]
                   [x=3.385cm]{\blackrule[color=red,width=0.2pt,height=\textheight]}
\setupbackgrounds  [text]
                   [background=vLine]
\starttext
  \startDesc{one}
      Description of item one. Description of item one.% Description of item one.
  \stopDesc
  \startDesc{two}
      Description of item two. Description of item two.% Description of item two.
  \stopDesc
  \startDesc{three}
      Description of item three. Description of item three.% Description of item three.
  \stopDesc
  \startDesc{four}
      Description of item four. Description of item four.% Description of item four.
  \stopDesc
  \startDesc{five}
      Description of item five. Description of item five.% Description of item five.
  \stopDesc
  \startDesc{six}
      Description of item six. Description of item six.% Description of item six.
  \stopDesc
  \startDesc{seven}
      Description of item seven. Description of item seven. Description of item seven.
  \stopDesc
  \startDesc{eight}
      Description of item eight. Description of item eight. Description of item eight.
  \stopDesc
  \startDesc{nine}
      Description of item nine. Description of item nine. Description of item nine.
  \stopDesc
  \startDesc{ten}
      Description of item ten. Description of item ten. Description of item ten.
  \stopDesc
  \startDesc{eleven}
      Description of item eleven. Description of item eleven. Description of item eleven.
  \stopDesc
  \startDesc{twelve}
      Description of item twelve. Description of item twelve. Description of item twelve. Description of item twelve. Description of item twelve. Description of item twelve. Description of item twelve. Description of item twelve. Description of item twelve.
  \stopDesc
  \startDesc{thirteen}
      Description of item thirteen. Description of item thirteen. Description of item thirteen. Description of item thirteen. Description of item thirteen. Description of item thirteen. Description of item thirteen. Description of item thirteen. Description of item thirteen.
  \stopDesc
\stoptext

--
Rik
--------------7D38DEFEC45DC4BB2FD56F85-- --===============0213274600126079056== 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 --===============0213274600126079056==--