From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83249 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Cloze Text (text with gaps) Date: Thu, 27 Jun 2013 21:02:14 +0200 Message-ID: References: <47459C5E-209A-451D-9F32-2C04BFAF50F2@gmail.com> <51CC8A37.5080102@gyza.cz> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1372359755 26140 80.91.229.3 (27 Jun 2013 19:02:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Jun 2013 19:02:35 +0000 (UTC) To: hajtmar@gyza.cz, mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jun 27 21:02:37 2013 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 1UsHSm-0005fr-8B for gctc-ntg-context-518@m.gmane.org; Thu, 27 Jun 2013 21:02:36 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 526DE101F7; Thu, 27 Jun 2013 21:02:35 +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 4INBv45M7o0U; Thu, 27 Jun 2013 21:02:33 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 65394101E5; Thu, 27 Jun 2013 21:02:33 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DF741101E5 for ; Thu, 27 Jun 2013 21:02:31 +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 tDA6g5LcqhfX for ; Thu, 27 Jun 2013 21:02:30 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id E0CBB101E4 for ; Thu, 27 Jun 2013 21:02:20 +0200 (CEST) Original-Received: from mail-ea0-x22d.google.com (mail-ea0-x22d.google.com [IPv6:2a00:1450:4013:c01::22d]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r5RJ2ET9000426 for ; Thu, 27 Jun 2013 21:02:14 +0200 Original-Received: by mail-ea0-f173.google.com with SMTP id g15so602168eak.18 for ; Thu, 27 Jun 2013 12:02:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=QayL8fe+fq6HjAB5VLi0vfik4BXQwMLq4EYoCzmTL0M=; b=uWE6avwZmA9yfO21yKD9eN9e3HZuFyHkYazOMm1hNSFyugI/wfVfbFGs1NXt99p8C2 FKY9aQLgcMjUmU5A4rzdEB9BvP6Ehn2cXXtp0ZQuuDKsLL1boE6AWgahHOcBEkbULiut LhGXf/4X/01ZRINkV+IAVF02ty8Z4Jbs91Sj5/XujIVLfcPxhLYuG5pyA8ZWu2glwfAT Mrq5aa6Vys4QjOmj7mozrCuoVNVCt2NjcEdSEBx9sc+2xp1iBO0e8aJbp+MY772LPGep xZ1N7znpbbF3MBqxdeMNE2olG6HDFu1Z0R9iXA6ykaoH/IsW3nFCcFQm/vd6eQ7+Cove wHFw== X-Received: by 10.14.176.68 with SMTP id a44mr10424249eem.31.1372359734656; Thu, 27 Jun 2013 12:02:14 -0700 (PDT) Original-Received: from keima.localdomain (nrbg-4dbe588d.pool.mediaWays.net. [77.190.88.141]) by mx.google.com with ESMTPSA id w43sm5601390eez.6.2013.06.27.12.02.13 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 27 Jun 2013 12:02:14 -0700 (PDT) In-Reply-To: <51CC8A37.5080102@gyza.cz> X-Mailer: Apple Mail (2.1508) X-Bayes-Prob: 0.1809 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4013:c01::22d; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01JRv2eW2 - 43b2f2fc36a4 - 20130627 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 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-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:83249 Archived-At: Am 27.06.2013 um 20:53 schrieb Jaroslav Hajtmar : > Hello Wolfgang. > Here is example of other using of your TextGap. > There is a problem in some lines? Why linewidth is change? Add =93width 0pt=94 to the \vrule arguments. See also my definition of \Wor= dGap. \def\TextGap[#1]% {\scratchdimen#1\relax \divide\scratchdimen\plusten \dorecurse\plusten {\vrule width \scratchdimen height \linewidth depth \zeropoint\relax \ifnum\recurselevel<10 \hskip\zeropoint\relax \fi}} \def\WordGap {\dowithnextbox{\TextGap[\nextboxwd]}\hbox} \starttext a \TextGap[4cm] b \TextGap[4cm] c \TextGap[4cm] d \TextGap[4cm] e My words: \WordGap{My words}. Why is line very thick here? Here is an sentence: \WordGap{Here is an sentence} -- linewidth is OK here. Here is an sentence: \WordGap{Here is an sentence}. And why is problem here= again? \stoptext 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 ___________________________________________________________________________= ________