From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/35193 Path: news.gmane.org!not-for-mail From: Hans van der Meer Newsgroups: gmane.comp.tex.context Subject: inmargin Date: Fri, 29 Jun 2007 17:14:20 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: multipart/mixed; boundary="===============1362190813==" X-Trace: sea.gmane.org 1183130140 17140 80.91.229.12 (29 Jun 2007 15:15:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 29 Jun 2007 15:15:40 +0000 (UTC) To: NTG ConTeXt Original-X-From: ntg-context-bounces@ntg.nl Fri Jun 29 17:15:40 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1I4IC7-0008Vn-Bc for gctc-ntg-context-518@m.gmane.org; Fri, 29 Jun 2007 17:15:35 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5CFAB1FEFD; Fri, 29 Jun 2007 17:15:34 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 20579-03; Fri, 29 Jun 2007 17:15:34 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1FA641FAD4; Fri, 29 Jun 2007 17:13:42 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3431A1FAC7 for ; Fri, 29 Jun 2007 17:13:39 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 20579-02-2 for ; Fri, 29 Jun 2007 17:13:33 +0200 (CEST) Original-Received: from smtp.science.uva.nl (smtp.science.uva.nl [146.50.4.84]) by ronja.ntg.nl (Postfix) with ESMTP id 10F7E1FEF0 for ; Fri, 29 Jun 2007 17:13:33 +0200 (CEST) Original-Received: from 119-92.uva.surfnetthuis.nl [145.98.119.92] by smtp.science.uva.nl with ESMTP (sendmail 8.11.6p2/config 11.38). id l5TFDV021255; Fri, 29 Jun 2007 17:13:31 +0200 X-Organisation: Faculty of Science, University of Amsterdam, The Netherlands X-URL: http://www.science.uva.nl/ X-Mailer: Apple Mail (2.752.2) X-Virus-Scanned: by amavisd-new X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:35193 Archived-At: --===============1362190813== Content-Type: multipart/alternative; boundary=Apple-Mail-1-811914303 --Apple-Mail-1-811914303 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed I was thinking that things placed in the margin (\inmargin,\inright, \inleft) would not take up vertical space, but it seems to do just that inside an itemize. Example: \starttext \textwidth=4cm \hairline %(1) \startitemize[n,joinedup] \item abc \item cde \stopitemize \hairline %(2) % This seems to me the logical place for the remark. \startitemize[n,joinedup] \inright{pqr} % < squeezing spaces does not help \item abc \item cde \stopitemize \hairline %(3) \startitemize[n,joinedup] % But it has to be placed here to get the result wanted. \item abc \inright{pqr} \item cde \stopitemize \hairline \stoptext I wanted a remark in the right margin logically applying to the itemize as a whole. Placing it as in (2) looked the right way, but then the next item is placed lower on the page. That becomes a problem when a nested itemize is put there resulting in an empty line at the first itemmarker. Placing the \inright on the first item of the inner itemize seems an illogical place to me. It is, of course, not really problem because trial (3) shows how to avoid this. Still the question remains if there is some misbehaviour here in either the code for \inright or for \itemize? Therefore I am pointing this out just in case it might reveal a more or less subtle bug too more wiser ConTeXt-brains then mine. Hans van der Meer --Apple-Mail-1-811914303 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1 I was thinking that things = placed in the margin (\inmargin,\inright,\inleft) would not take up = vertical space, but it seems to do just that inside an itemize.

Example:

\starttext
\textwid= th=3D4cm
\hairline
%(1)
\startitemize[n,join= edup]
= \item abc
\item = cde
\stopitemize
\hairline
%(2)
% = This seems to me the logical place for the = remark.
\startitemize[n,joinedup]=A0 =A0\inright{pqr}=A0=A0% = < squeezing spaces does not help
\item = abc
= \item = cde
\stopitemize
\hairline
%(3)
\s= tartitemize[n,joinedup]
% But it has to be placed here to get = the result wanted.
\item abc=A0 = =A0\inright{pqr}
\item = cde
\stopitemize
\hairline
\stoptext

I wanted a remark in = the right margin logically applying to the itemize as a = whole.
Placing it as in (2) looked the right way, but then the = next item is placed lower on the page. That becomes a problem when a = nested itemize is put there resulting in an empty line at the first = itemmarker. Placing the \inright on the first item of the inner itemize = seems an illogical place to me.=A0It is, of course, not really problem = because trial (3) shows how to avoid this.

Still the question remains = if there is some misbehaviour here in either the code for \inright or = for \itemize? Therefore I am pointing this out just in case it might = reveal a more or less subtle bug too more wiser ConTeXt-brains then = mine.=A0

Hans van der = Meer

=

= --Apple-Mail-1-811914303-- --===============1362190813== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1362190813==--