From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85846 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: setuphead for in-paragraph head ? Date: Thu, 9 Jan 2014 18:41:37 +0100 Message-ID: <8E7ED7B8-29C0-4865-B7A8-DD1BD09709E3@gmail.com> References: <52CEB6B4.7070308@gyza.cz> <133B935F-59FF-4C57-9A37-00B42BCAB67F@gmail.com> <3BA99063-FA3F-449B-B022-1A2109B25A59@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="===============0724638345==" X-Trace: ger.gmane.org 1389289302 24628 80.91.229.3 (9 Jan 2014 17:41:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Jan 2014 17:41:42 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jan 09 18:41:51 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 1W1Jc3-0003ez-BT for gctc-ntg-context-518@m.gmane.org; Thu, 09 Jan 2014 18:41:47 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0DB97101EF; Thu, 9 Jan 2014 18:41:47 +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 i9fjo9ovr-2a; Thu, 9 Jan 2014 18:41:45 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 5AECC101E6; Thu, 9 Jan 2014 18:41:45 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CB741101E6 for ; Thu, 9 Jan 2014 18:41:43 +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 pb-vu17OIFdx for ; Thu, 9 Jan 2014 18:41:42 +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 998FF101DE for ; Thu, 9 Jan 2014 18:41:42 +0100 (CET) Original-Received: from mail-bk0-x234.google.com (mail-bk0-x234.google.com [IPv6:2a00:1450:4008:c01::234]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s09HfeUP030506 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Thu, 9 Jan 2014 18:41:41 +0100 Original-Received: by mail-bk0-f52.google.com with SMTP id u14so1228220bkz.39 for ; Thu, 09 Jan 2014 09:41:41 -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=4y2W72nUGRx0rijD/DegNyATasbR+0hlJHZ1wJX170s=; b=l3gRgkTZWgjv/pXK+RWDpIJWG/kLg5dfHSdQ4Qb5aQOfKaDiFUsweXzCbqlkqNZYcD m7bs3BiBIRZ8xmZHTBn4B2qg6yuaw+v/mzU8uY5TcbUEjBLmh+nXjTw/dzZpjbOcftm5 Wo0/0F9OupnZ3BEl3c2B5vjYWzs0NAU1B3x5RlKonoWPWqk3F5QVFmLmA0bYSjUx5Q29 MicS71xfUDp4MYhzjgbHd6qPCP4t+Ik6VRQ9M6y6vVdBQ3GYOeGZXCwkCxFDvR5gRHQM EIotxT81Zp5w2yfwpI2MbpRfy/t21JHgTk+AbcM7GfkuF+1HcMgLN+YlxKRmAaVIxpJr 3PBQ== X-Received: by 10.205.86.137 with SMTP id as9mr1440891bkc.89.1389289301085; Thu, 09 Jan 2014 09:41:41 -0800 (PST) Original-Received: from keima.localdomain (x2f24cd5.dyn.telefonica.de. [2.242.76.213]) by mx.google.com with ESMTPSA id xm9sm5160466bkb.1.2014.01.09.09.41.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 09 Jan 2014 09:41:40 -0800 (PST) In-Reply-To: <3BA99063-FA3F-449B-B022-1A2109B25A59@gmail.com> X-Mailer: Apple Mail (2.1827) X-Bayes-Prob: 0.0014 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4008:c01::234; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07LbRFEa5 - 32a8ffcd45a8 - 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:85846 Archived-At: --===============0724638345== Content-Type: multipart/alternative; boundary="Apple-Mail=_9D02A286-9757-456C-9D7E-CE9D13E7AAF7" --Apple-Mail=_9D02A286-9757-456C-9D7E-CE9D13E7AAF7 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Am 09.01.2014 um 18:36 schrieb Otared Kavian : > Hi Wolfgang, Hi Aditya, >=20 > 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 >=20 > So I don=92t know what to do if one has to use mkiv. When you enumerations in this form \beginanswer \answer $10$ \endanswer you have to finish the paragraph, e.g. by adding \par \beginanswer \answer $10$\par \endanswer or better use the start/stop commands for the enumeration. \beginanswer \startanswer $10$ \stopanswer \endanswer Wolfgang= --Apple-Mail=_9D02A286-9757-456C-9D7E-CE9D13E7AAF7 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252
Am 09.01.2014 um 18:36 schrieb Otared = Kavian <otared@gmail.com>:

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.

When you = enumerations in this = form

\beginanswer
\answer = $10$
\endanswer

you have to finish = the paragraph, e.g. by adding = \par

\beginanswer
\answer = $10$\par
\endanswer

or better = use the start/stop commands for the = enumeration.

\beginanswer
\startanswer
$10$
\stopanswer
\endanswer
<= br>
Wolfgang
= --Apple-Mail=_9D02A286-9757-456C-9D7E-CE9D13E7AAF7-- --===============0724638345== 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 ___________________________________________________________________________________ --===============0724638345==--