From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/77231 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Bug in \typo_paragraphs_setup_three. Date: Sun, 8 Jul 2012 20:15:58 +0200 Message-ID: <2582E1D5-80D4-46C4-A6D4-73642010E652@gmail.com> References: <5468AFEF-0BEF-4767-83DA-B0B7666B06CC@boede.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1341771377 2273 80.91.229.3 (8 Jul 2012 18:16:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 8 Jul 2012 18:16:17 +0000 (UTC) Cc: Hans Hagen To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jul 08 20:16:16 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Snw1j-0001KL-PA for gctc-ntg-context-518@m.gmane.org; Sun, 08 Jul 2012 20:16:11 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A4A23101DD; Sun, 8 Jul 2012 20:16:10 +0200 (CEST) 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 8zVgVdf+ej6k; Sun, 8 Jul 2012 20:16:09 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F35A4101E6; Sun, 8 Jul 2012 20:16:08 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 453CA101E6 for ; Sun, 8 Jul 2012 20:16:08 +0200 (CEST) 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 F4t2UMZpJkqZ for ; Sun, 8 Jul 2012 20:16:07 +0200 (CEST) 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 765E4101DD for ; Sun, 8 Jul 2012 20:16:07 +0200 (CEST) Original-Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q68IG6UB017537 for ; Sun, 8 Jul 2012 20:16:06 +0200 Original-Received: by wibhq4 with SMTP id hq4so1801195wib.2 for ; Sun, 08 Jul 2012 11:16:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=JRosrv9mvqsJ96R6hKYGnAe2AG3aV23OtcCihlzZK5Y=; b=eS0XvoCnqQ75jiHIpJWHvKlpnj5xKQr5q77qhABmJwtQ2lyeHklsHXHGKjoZZyP7Vs RPmrlSEM/TvCA17zuxRYkyIf0HrwWDSCv0zcFgJ22RBiVxCDKaA+jyblUee6J+10SMQU aVlALaqIskJYCl8wVnSS3sWW8biNcSb4zN+P5401iv2GuYGQLpa+Y3jDeUwOtDQ/EIqT Ko24lJm3rCg4m8PJCoRbogxDMsX0FxGrAK4YcQtpmDS0v4M/js6DQ/fAVpdagCmLj0Qn abb4Z5IFSNO+yQWqrsveqRZL1evG9cDBLVR+juJP4YvZe6vAhXjU5SfTvGZaYyBGaFZj 7EgA== Original-Received: by 10.216.90.19 with SMTP id d19mr14171770wef.113.1341771366152; Sun, 08 Jul 2012 11:16:06 -0700 (PDT) Original-Received: from [192.168.2.36] (p57AFAAFE.dip.t-dialin.net. [87.175.170.254]) by mx.google.com with ESMTPS id e9sm28334321wiw.10.2012.07.08.11.16.03 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 08 Jul 2012 11:16:05 -0700 (PDT) In-Reply-To: <5468AFEF-0BEF-4767-83DA-B0B7666B06CC@boede.nl> X-Mailer: Apple Mail (2.1278) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.212.179; 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: 0THvSg6i7 - 7809b517cf1c - 20120708 (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.13 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:77231 Archived-At: Am 08.07.2012 um 19:27 schrieb Willi Egger: > Hello! > = > I wanted to write a letter=85 Then it appeared that there is something wr= ong in \typo_paragraphs_setup_three. The problem is present in todays beta= (as was in the previous version). > Please try the attached minimal example. tabl-mis.mkiv \def\typo_paragraphs_setup[#1][#2][#3]% we are downward compatible with [ea= ch] and [1,3] {\ifthirdargument - \def\typo_paragraphs_setup_three[#1][#2][#3]% - {\doifelse{#2}\v!each - {\typo_paragraphs_setup_saved[#1][#3]} - {\def\typo_paragraphs_setup_step##1{\typo_paragraphs_setup_saved[= #1:##1][#3]}% - \processcommalist[#2]\typo_paragraphs_setup_step}} + \doifelse{#2}\v!each + {\dorecurse{\namedparagraphsparameter{#1}\c!n}{\typo_paragraphs_setu= p_saved[#1:\recurselevel][#3]}} + {\def\typo_paragraphs_setup_step##1{\typo_paragraphs_setup_saved[#1:= ##1][#3]}% + \processcommalist[#2]\typo_paragraphs_setup_step}% \else\ifsecondargument \typo_paragraphs_setup_saved[#1][#2]% \else\iffirstargument \typo_paragraphs_setup_saved[#1]% \fi\fi\fi} \appendtoks \letvalue {\e!next \currentparagraphs}\nextparagraphs \setuevalue{\e!start\currentparagraphs}{\startparagraphs[\currentparagr= aphs]}% \letvalue {\e!stop \currentparagraphs}\stopparagraphs %setuevalue{\e!setup\currentparagraph\e!endsetup}{\typo_paragraphs_setu= p_saved[\currentparagraphs]}% - \dorecurse{\paragraphsparameter\c!n} - {\normalexpanded{\typo_paragraphs_setup_saved[\currentparagraphs:\rec= urselevel][\c!width=3D,\s!parent=3D\??paragraphs\currentparagraphs]}}% - \typo_paragraphs_setup_saved[\currentparagraphs][\c!distance=3D\zeropoi= nt]% + \dorecurse{\paragraphsparameter\c!n} + {\normalexpanded{\typo_paragraphs_setup_saved[\currentparagraphs:\rec= urselevel][\c!width=3D,\c!distance=3D\zeropoint,\s!parent=3D\??paragraphs\c= urrentparagraphs]}}% \to \everydefineparagraphs BTW 1: Change the \Attachment command to \nextAttachment. BTW 2: For something like your example tabulate would be simpler because yo= u don=92t have to define anything- \starttext \starttabulate \NC Bijlage \EQ Een foto. \NC\NR \stoptabulate \stoptext BTW 3: Hans added a few new commands to paragraphs to make a more table (na= tural table and xtable) like. %D \defineparagraphs[sample][n=3D2,rule=3Don] %D %D \startsample %D first \nextsample %D second \nextsample %D third %D \stopsample %D %D \startsample %D \input tufte \nextsample %D \input ward \nextsample %D \input davis \nextsample %D \input zapf %D \stopsample %D %D \startparagraphs[sample] %D first \nextsample %D second \nextsample %D third %D \stopparagraphs %D %D \startparagraphs[sample] %D \startparagraphscell %D first %D \stopparagraphscell %D \startparagraphscell %D second %D \stopparagraphscell %D \startparagraphscell %D third %D \stopparagraphscell %D \stopparagraphs Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________