From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87233 Path: news.gmane.org!not-for-mail From: Maggyero Newsgroups: gmane.comp.tex.context Subject: Head titles and section blocks bug in s-pre-60.tex module Date: Mon, 5 May 2014 18:46:13 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0338333633==" X-Trace: ger.gmane.org 1399395709 10364 80.91.229.3 (6 May 2014 17:01:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 6 May 2014 17:01:49 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue May 06 19:01:45 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 1Whi09-0006TU-07 for gctc-ntg-context-518@m.gmane.org; Tue, 06 May 2014 18:13:53 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CB11210251 for ; Mon, 5 May 2014 18:46:33 +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 tbOoZgfFGeKa for ; Mon, 5 May 2014 18:46:33 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 4D84E1022C for ; Mon, 5 May 2014 18:46:28 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 97212101E2 for ; Mon, 5 May 2014 18:46:24 +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 Ikh4LjY4zXrt for ; Mon, 5 May 2014 18:46:22 +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 5BB81101E1 for ; Mon, 5 May 2014 18:46:14 +0200 (CEST) Original-Received: from mail-wi0-x22b.google.com (mail-wi0-x22b.google.com [IPv6:2a00:1450:400c:c05::22b]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s45GkCWs009926 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Mon, 5 May 2014 18:46:13 +0200 Original-Received: by mail-wi0-f171.google.com with SMTP id hm4so5880882wib.10 for ; Mon, 05 May 2014 09:46:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=VTxjK7ERXrjJIAKdwntNUoz5f+WCFwz1D/jL7ztFvO4=; b=mJvLMdZAAb6Z1Ad12vL/L3uGBDiL60VEunePR1iUeLXrSkm+0vycFuKyKQHL3LPH/O UfOi218aAE4SGWXBskClhhzXwQE2DaS5Azr4nJJTu5NeN8xzsK0mPlxlv+XIQkdCSROi 4HiY+rp4uFUX1UT8GRws3n9cMIgaZtoIrUnXAhSH0jVd+s7BX/lFGQDFtlhuQ/5jvjiN Sf/lji0hf/I0d2Ip22muwtsd/XSaTwBfcf7/Ms+XBMqtNDsKofRwFm/VyK1X4nV5sT/z 0ow3ILDBmnZ7t6Xw/cWOiXSxfu/0mShm6KdyggOufAnler120KGLdar30kG2OKqO9opT v6Ig== X-Received: by 10.194.203.137 with SMTP id kq9mr3221220wjc.55.1399308373515; Mon, 05 May 2014 09:46:13 -0700 (PDT) Original-Received: by 10.216.159.132 with HTTP; Mon, 5 May 2014 09:46:13 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c05::22b; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07LWgKctK - 81a7d0cc12e7 - 20140505 (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:87233 Archived-At: --===============0338333633== Content-Type: multipart/alternative; boundary=047d7b874f2088e19204f8a9de65 --047d7b874f2088e19204f8a9de65 Content-Type: text/plain; charset=UTF-8 Hans, I think there is a bug in your s-pre-60.tex module regarding the step mechanism interacting with section blocks: the head titles disappear each time ConTeXt starts a new section block. I have found a way to solve this problem by putting \StartSteps\StopSteps (empty pair, and it works also with \StartStep\StopStep empty pair) right after the start of each section block, like this for instance: \startbodymatter\StartSteps\Stopsteps blablabla \stopbodymatter. Could you correct this? Here is a minimal example illustrating the problem: \usemodule[pre-60] \setupinteraction[state=start] \starttext \startfrontmatter \startsection[title=My frontmatter section] % <-- Title displayed: fine. \StartSteps \startitemize \item my item\FlushStep \item my item\FlushStep \item my item\FlushStep \stopitemize \StopSteps \stopsection \stopfrontmatter \startbodymatter \startsection[title=My bodymatter section] % <-- Title NOT displayed: bug? \StartSteps \startitemize \item my item\FlushStep \item my item\FlushStep \item my item\FlushStep \stopitemize \StopSteps \stopsection \stopbodymatter \startbackmatter \startsection[title=My backmatter section] % <-- Title NOT displayed: bug? \StartSteps \startitemize \item my item\FlushStep \item my item\FlushStep \item my item\FlushStep \stopitemize \StopSteps \stopsection \stopbackmatter \startappendices \startsection[title=My backmatter section] % <-- Title NOT displayed: bug? \StartSteps \startitemize \item my item\FlushStep \item my item\FlushStep \item my item\FlushStep \stopitemize \StopSteps \stopsection \stopappendices \stoptext Regards. --047d7b874f2088e19204f8a9de65 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hans, I think there is a bug in your s-pre-60.tex mod= ule regarding the step mechanism interacting with section blocks: the head = titles disappear each time ConTeXt starts a new section block. I have found= a way to solve this problem by putting \StartSteps\StopSteps (empty pair, = and it works also with \StartStep\StopStep empty pair) right after the star= t of each section block, like this for instance: \startbodymatter\StartStep= s\Stopsteps blablabla \stopbodymatter. Could you correct this?

Here is a minimal example illustrating the problem:


\usemodule[pre-60]
\setupint= eraction[state=3Dstart]

\starttext
=C2= =A0 =C2=A0\startfrontmatter
=C2=A0 =C2=A0 =C2=A0 \startsection[title=3DMy frontmatter section] % &= lt;-- Title displayed: fine.
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\S= tartSteps
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\startitemize
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 \item my item\FlushStep
<= div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 \item my item\FlushStep
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 \item my item\FlushStep
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\stopitemize
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0\StopSteps
=C2=A0 =C2=A0 =C2=A0 \stopsect= ion
=C2=A0 =C2=A0\stopfrontmatter

=C2=A0= =C2=A0\startbodymatter
=C2=A0 =C2=A0 =C2=A0 \startsection[title= =3DMy bodymatter section] % <-- Title NOT displayed: bug?
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\StartSteps
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0\startitemize
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 \item my item\FlushStep
=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 \item my item\FlushStep
=C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 \item my item\FlushStep
=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0\stopitemize
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\StopSteps
=C2=A0 =C2=A0 = =C2=A0 \stopsection
=C2=A0 =C2=A0\stopbodymatter

=C2=A0 =C2=A0\startbackmatter
=C2=A0 =C2=A0 =C2=A0 \star= tsection[title=3DMy backmatter section] % <-- Title NOT displayed: bug?<= /div>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\StartSteps
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0\startitemize
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 \item my item\FlushStep
=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 \item my item\FlushStep
=C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 \item my item\FlushStep
=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0\stopitemize
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\StopSteps
=C2=A0 =C2=A0 = =C2=A0 \stopsection
=C2=A0 =C2=A0\stopbackmatter

=C2=A0 =C2=A0\startappendices
=C2=A0 =C2=A0 =C2=A0 \star= tsection[title=3DMy backmatter section] % <-- Title NOT displayed: bug?<= /div>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\StartSteps
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0\startitemize
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 \item my item\FlushStep
=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 \item my item\FlushStep
=C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 \item my item\FlushStep
=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0\stopitemize
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\StopSteps
=C2=A0 =C2=A0 = =C2=A0 \stopsection
=C2=A0 =C2=A0\stopappendices
\stopt= ext


Regards.
--047d7b874f2088e19204f8a9de65-- --===============0338333633== 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 ___________________________________________________________________________________ --===============0338333633==--