From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/73951 Path: news.gmane.org!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Re: another surprising change (line break in TOC) Date: Wed, 18 Jan 2012 08:30:19 +0100 Message-ID: References: <5B970A6D-978E-4343-81E5-302237FF639A@googlemail.com> <4F144DEF.7040108@wxs.nl> <6C1E0926-9262-4899-9F33-7D354C13B4E5@st.estfiles.de> <08645D53-B5D7-4B4E-8C4F-525471B04FFE@st.estfiles.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0761106537==" X-Trace: dough.gmane.org 1326871846 21689 80.91.229.12 (18 Jan 2012 07:30:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 18 Jan 2012 07:30:46 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jan 18 08:30:42 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RnPyk-0000gR-BP for gctc-ntg-context-518@m.gmane.org; Wed, 18 Jan 2012 08:30:42 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C763ECB20A; Wed, 18 Jan 2012 08:30:40 +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 OGlv6k-LPydB; Wed, 18 Jan 2012 08:30:37 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7605CCB1F8; Wed, 18 Jan 2012 08:30:37 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F08ECCB1F8 for ; Wed, 18 Jan 2012 08:30: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 kXQi2k8V914H for ; Wed, 18 Jan 2012 08:30:21 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 29729CB1F6 for ; Wed, 18 Jan 2012 08:30:20 +0100 (CET) Original-Received: from mail-iy0-f169.google.com (mail-iy0-f169.google.com [209.85.210.169]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q0I7UJIe015253 for ; Wed, 18 Jan 2012 08:30:20 +0100 Original-Received: by iadj38 with SMTP id j38so5296660iad.14 for ; Tue, 17 Jan 2012 23:30:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=yGVGOq4tr3jtKVQQsninVCKLAHL8Mc1YpSg7iLJ229w=; b=f/KOkeNqgY5FVIzPnSlD6y7tfORndnu57gyA6ioCs0NMrM1Pzy6qSJZqERVYp+HJv/ l9KdrwbsSmPjeHFaO8ZJBdQpMJh5ZCHRpGyhFgx2CEOh9o1YCHtW+AAEB9AWqAzqij7T ECGNe+X+9x47Yh73b3HpU6Y/IpCmlT4eyorQM= Original-Received: by 10.42.246.71 with SMTP id lx7mr17000636icb.54.1326871819226; Tue, 17 Jan 2012 23:30:19 -0800 (PST) Original-Received: by 10.50.57.131 with HTTP; Tue, 17 Jan 2012 23:30:19 -0800 (PST) In-Reply-To: <08645D53-B5D7-4B4E-8C4F-525471B04FFE@st.estfiles.de> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.210.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0bGmTujBw - 28c748736349 - 20120118 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:73951 Archived-At: --===============0761106537== Content-Type: multipart/alternative; boundary=90e6ba3fd811728e6f04b6c86bf0 --90e6ba3fd811728e6f04b6c86bf0 Content-Type: text/plain; charset=UTF-8 On Wed, Jan 18, 2012 at 7:25 AM, Steffen Wolfrum wrote: > > Am 17.01.2012 um 23:41 schrieb Wolfgang Schuster: > > > You should try to make your code more readable. > > > > \definelistplacement[MyListItemIT][none]#1#2#3% > > {\maxaligned\bgroup > > \rlap{\it#1}% > > > \framed[frame=off,align=middle,location=bottom,width=broad,foregroundstyle=\TOCstyleBF]{#2}% > > \llap{\tf#3}% > > \egroup} > > > I did not know "\maxaligned" > > even me --- it's normal, it's hard to be in sync with all the changes of the source. I suspect that it's an internal macro, can even change. Wolfgang often uses internal macro, gaining speed but loosing compatibility. As general rule (another...) in my stylesheets I try to use TeX macros and ConTeXt switches (i.e. key=val) especially if they are related to long term projects. -- luigi --90e6ba3fd811728e6f04b6c86bf0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On Wed, Jan 18, 2012 at 7:25 AM, Steffen= Wolfrum <co= ntext@st.estfiles.de> wrote:

> You should try to make your code more readable.
>
> \definelistplacement[MyListItemIT][none]#1#2#3%
> =C2=A0 {\maxaligned\bgroup
> =C2=A0 =C2=A0 =C2=A0\rlap{\it#1}%
> =C2=A0 =C2=A0 =C2=A0\framed[frame=3Doff,align=3Dmiddle,location=3Dbott= om,width=3Dbroad,foregroundstyle=3D\TOCstyleBF]{#2}%
> =C2=A0 =C2=A0 =C2=A0\llap{\tf#3}%
> =C2=A0 =C2=A0\egroup}


I did not know "\maxaligned"

even me --- it's n= ormal, it's hard to be in sync with all the changes of the source. I su= spect that it's an internal macro, can even change.=C2=A0
Wolfgang often uses internal macro, gaining speed but loosing compatib= ility.
As general rule (another...) in my stylesheets I try to us= e TeX macros and ConTeXt switches (i.e. key=3Dval) especially if they are r= elated to long term projects.


--
luigi

--90e6ba3fd811728e6f04b6c86bf0-- --===============0761106537== 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0761106537==--