From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83238 Path: news.gmane.org!not-for-mail From: Christian Prim Newsgroups: gmane.comp.tex.context Subject: Re: Cloze Text (text with gaps) Date: Thu, 27 Jun 2013 09:16:02 +0200 Message-ID: References: <864ncktbrj.fsf@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0675609085==" X-Trace: ger.gmane.org 1372317376 24535 80.91.229.3 (27 Jun 2013 07:16:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Jun 2013 07:16:16 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jun 27 09:16:19 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 1Us6RG-00085R-V7 for gctc-ntg-context-518@m.gmane.org; Thu, 27 Jun 2013 09:16:19 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 34A6F101E4; Thu, 27 Jun 2013 09:16:18 +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 ndXS4SA1tvez; Thu, 27 Jun 2013 09:16:16 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 29D95101E5; Thu, 27 Jun 2013 09:16:16 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9D43F101E5 for ; Thu, 27 Jun 2013 09:16:15 +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 JKm8GA0IIhld for ; Thu, 27 Jun 2013 09:16:14 +0200 (CEST) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 64F6A101E4 for ; Thu, 27 Jun 2013 09:16:04 +0200 (CEST) Original-Received: from mail-la0-x234.google.com (mail-la0-x234.google.com [IPv6:2a00:1450:4010:c03::234]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r5R7G3cw013238 for ; Thu, 27 Jun 2013 09:16:03 +0200 Original-Received: by mail-la0-f52.google.com with SMTP id fo12so399145lab.25 for ; Thu, 27 Jun 2013 00:16:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=NsfMLpNcWEqYtRJo6/rVtfHpeHcbpcbBjFkmhwbzuus=; b=oDEKsgz7eFJpwouw4kt/LB058g0lUhlrEXj8CBWu4yFIJ4rCrpoM1boxpYse6vKnCe OofYpVeqdVgrfGjvXvdT3q4ISrTUBWN8rRFv3PBXakSmUhemvhg6DxUpAOQXugfiV2y9 mT6U9drxjKDbwRG88de71jTXQtjNhnMaVjaJ/YaZ/8weIYaPOXWHABzbMk8NUpHm4quj MAQqqPq3WpmJuPyTHeJQxVqm8RmyEmouqopvfFfOGeds3utBVtOj84bs8SIjBEOn+2KH nmhgkEN/0TT9MY+ALTRiVY3Hc+ox8uRjD9wy/ENHNTm+ucnjq/izqWsQAVO3sWFbfns1 NLUg== X-Received: by 10.112.34.209 with SMTP id b17mr3638732lbj.55.1372317362862; Thu, 27 Jun 2013 00:16:02 -0700 (PDT) Original-Received: by 10.112.28.38 with HTTP; Thu, 27 Jun 2013 00:16:02 -0700 (PDT) In-Reply-To: <864ncktbrj.fsf@gmail.com> X-Google-Sender-Auth: 9TpFjhkcJXKCk4LDRRCiIzNR65s X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4010:c03::234; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07JRjg3za - 3dae39a0a931 - 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:83238 Archived-At: --===============0675609085== Content-Type: multipart/alternative; boundary=14dae93d8edeeebf6004e01d88c4 --14dae93d8edeeebf6004e01d88c4 Content-Type: text/plain; charset=ISO-8859-1 Thanks David I think the first one is a very good idea. But I failed to give the \underbar a color different to the one of the text. Can you help me please? Thanks Christian 2013/6/27 David Rogers > Christian Prim writes: > > > I wonder if I can typeset a cloze text using context. The gaps > (__________) > > must have a given length (say in cm or the length of a given word, given > > sentence) and must break at the end of a line. > > > > \hl[4] is nice but won't do the trick since it won't break. \fillinline > and > > others fill the hole line, but I only want to fill a given size. > > > > Are there some ideas how to deal with it? > > > > Example: > > > > The name of the _____________ is _____ > > ________. And now it's time to go to bed. > > Some more text..... > > > I haven't tested these ideas... > > One possibility: type the answer in white, but give it a coloured > \underbar. (You might need to type longer answers, or in a larger font > size, to leave enough room for hand writing.) > > Another: use a \fillinline - you can define the length. > > -- > David > > ___________________________________________________________________________________ > 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 > > ___________________________________________________________________________________ > --14dae93d8edeeebf6004e01d88c4 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Thanks David

I think the first one is a= very good idea. But I failed to give the \underbar a color different to th= e one of the text. Can you help me please?

Thanks<= /div>
Christian


2013/6/27 David Rogers <davidandrewrogers@gmail.com= >
Christian Prim <christian.prim@gmx.ch> writes:

> I wonder if I can typeset a cloze text using context. The gaps (______= ____)
> must have a given length (say in cm or the length of a given word, giv= en
> sentence) and must break at the end of a line.
>
> \hl[4] is nice but won't do the trick since it won't break. \f= illinline and
> others fill the hole line, but I only want to fill a given size.
>
> Are there some ideas how to deal with it?
>
> Example:
>
> The name of the _____________ is _____
> ________. And now it's time to go to bed.
> Some more text.....


I haven't tested these ideas...

One possibility: type the answer in white, but give it a coloured
\underbar. (You might need to type longer answers, or in a larger font
size, to leave enough room for hand writing.)

Another: use a \fillinline - you can define the length.

--
David
___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" target=3D"_blank"= >http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =A0: http://= www.pragma-ade.nl / http://tex.aanhet.net
archive =A0: http://foundry.supelec.fr/projects/contextrev/
wiki =A0 =A0 : http:= //contextgarden.net
___________________________________________________________________________= ________

--14dae93d8edeeebf6004e01d88c4-- --===============0675609085== 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 ___________________________________________________________________________________ --===============0675609085==--