From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85844 Path: news.gmane.org!not-for-mail From: Otared Kavian Newsgroups: gmane.comp.tex.context Subject: Re: setuphead for in-paragraph head ? Date: Thu, 9 Jan 2014 18:36:32 +0100 Message-ID: <3BA99063-FA3F-449B-B022-1A2109B25A59@gmail.com> References: <52CEB6B4.7070308@gyza.cz> <133B935F-59FF-4C57-9A37-00B42BCAB67F@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Content-Type: multipart/mixed; boundary="===============0487167123==" X-Trace: ger.gmane.org 1389289000 20690 80.91.229.3 (9 Jan 2014 17:36:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Jan 2014 17:36:40 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jan 09 18:36:47 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W1JXC-0000B9-97 for gctc-ntg-context-518@m.gmane.org; Thu, 09 Jan 2014 18:36:46 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D97C6101EA; Thu, 9 Jan 2014 18:36:45 +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 Wr8Opkq0RdWM; Thu, 9 Jan 2014 18:36:40 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 8D2AA101E2; Thu, 9 Jan 2014 18:36:40 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A4F74101E2 for ; Thu, 9 Jan 2014 18:36:38 +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 tNfkGb8E1Z5x for ; Thu, 9 Jan 2014 18:36:37 +0100 (CET) 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 2639C101DE for ; Thu, 9 Jan 2014 18:36:37 +0100 (CET) Original-Received: from mail-we0-x236.google.com (mail-we0-x236.google.com [IPv6:2a00:1450:400c:c03::236]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s09HaZCE027419 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Thu, 9 Jan 2014 18:36:35 +0100 Original-Received: by mail-we0-f182.google.com with SMTP id q59so3008374wes.41 for ; Thu, 09 Jan 2014 09:36:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:message-id:mime-version:subject:date:references :to:in-reply-to; bh=Br+vIaPhbd6hKM1K13jN/c/m1WwfoHTPhdvjOw2XNys=; b=fbwOS/MRL4LmQn79oMGkTzU6qQiyqMD8pgqspEg1eEOCNxe2Uap+9bGoV65oJAYyre OXKvzMzof3ESHJpD20D6zFGXjTTqTT60S1f7cdO/3vaUQ1REa45+ZsoeqOluJdItLyw6 OLUyXXqxN1HnHovpv4+uRDXiQV2ynuTSi8h5b8FhBP5/ypt1Yg3K+TI3v2FrBOf0qM8c Ku/o1jZOgpnFCAatS+M9z0C8cbVcxkSlzHNtFjS6BNGgcNJaAX1HTjZP27+K7cXoM5R2 kKHAG1sdFwm+oqaFKhR56Wn/VmkouyiJ6WWVpEqSLYKCn/DIs3vubvupfVz9Xlcb4I8i qeWQ== X-Received: by 10.180.87.232 with SMTP id bb8mr220025wib.48.1389288995717; Thu, 09 Jan 2014 09:36:35 -0800 (PST) Original-Received: from [192.168.1.35] (75.218.192.77.rev.sfr.net. [77.192.218.75]) by mx.google.com with ESMTPSA id of4sm15028816wic.8.2014.01.09.09.36.34 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 09 Jan 2014 09:36:34 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.1827) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c03::236; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07LbRAzKk - 2c51ff0561fe - 20140109 (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:85844 Archived-At: --===============0487167123== Content-Type: multipart/alternative; boundary="Apple-Mail=_E7DFAA1B-3C89-4C14-9683-0CBF815473A9" --Apple-Mail=_E7DFAA1B-3C89-4C14-9683-0CBF815473A9 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Hi Wolfgang, Hi Aditya, Thanks for your attention. Unfortunately adding=20 \keepblocks[question]=20 the example I sent before does not work in mkiv, and changing=20 location=3Dhanging to alternative=3Dhanging does not help neither=85 The error message in mkiv is: \dostopnormalblock ...meter \c!after \par \egroup=20 =20 ...fact that $2\times 5 =3D 10$. \dostopnormalblock=20 \dostartnormalblock = {hint}... \dodowithpar ...dler \v!construction \endcsname #1 \csname = \??constructionsto=85 So I don=92t know what to do if one has to use mkiv. Best regards: OK On 9 janv. 2014, at 18:23, Wolfgang Schuster = wrote: >=20 > Am 09.01.2014 um 16:36 schrieb Otared Kavian : >=20 >>=20 >> On 9 janv. 2014, at 15:48, Jaroslav Hajtmar wrote: >>=20 >>> Hello Otared. >>> I will throw this one... Thanx. >>>=20 >>> Once I was using exercise-answer package for LaTeX. >>> Is there anything like this to use in ConTeXt? >>>=20 >>> Thanx >>> Jaroslav Hajtmar >>=20 >> Hello Jaroslav, >>=20 >> I have something like the following which was given to me by Hans a = long time ago: unfortunately for some reason this does not work anymore = with ConTeXt mkiv, but it is quite fine with mkii: >=20 > Add \keepblocks[question]. >=20 > Wolfgang > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > 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 > = __________________________________________________________________________= _________ --Apple-Mail=_E7DFAA1B-3C89-4C14-9683-0CBF815473A9 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 Hi = Wolfgang, Hi Aditya,

Thanks for your = attention.
Unfortunately adding 
= \keepblocks[question] 
the example I sent before = does not work in mkiv, and changing 
= location=3Dhanging
to
= alternative=3Dhanging
does not help = neither=85
The error message in mkiv is:
\dostopnormalblock = ...meter \c!after \par \egroup 

       =                     =                     =    

<argument> ...fact that $2\times 5 =3D 10$. = \dostopnormalblock 
            =                     =                   = \dostartnormalblock {hint}...
\dodowithpar ...dler \v!construction = \endcsname #1
              =                     =                 \csname = \??constructionsto=85

So I don=92t know what to do if one = has to use mkiv.

Best regards: = OK

On 9 janv. 2014, at 18:23, Wolfgang Schuster = <schuster.wolfgang@gmail.com> wrote:




On 9 janv. 2014, at 15:48, Jaroslav = Hajtmar <hajtmar@gyza.cz> = wrote:

Hello Otared.
I will throw = this one... Thanx.

Once I was using exercise-answer package for = LaTeX.
Is there anything like this to use in = ConTeXt?

Thanx
Jaroslav Hajtmar

Hello = Jaroslav,

I have something like the following which was given to = me by Hans a long time ago: unfortunately for some reason this does not = work anymore with ConTeXt mkiv, but it is quite fine with = mkii:

Add \keepblocks[question].=

Wolfgang
____________________________= _______________________________________________________
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.sup= elec.fr/projects/contextrev/
wiki     : http://contextgarden.net
________= __________________________________________________________________________= _

= --Apple-Mail=_E7DFAA1B-3C89-4C14-9683-0CBF815473A9-- --===============0487167123== 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 ___________________________________________________________________________________ --===============0487167123==--