From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/95197 Path: news.gmane.org!not-for-mail From: Marcus Vinicius Mesquita Newsgroups: gmane.comp.tex.context Subject: [NTG-ConTeXt] Wrong order of sections and subsections Date: Sat, 18 Jun 2016 19:03:18 -0300 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4423974396445496997==" X-Trace: ger.gmane.org 1466287436 30561 80.91.229.3 (18 Jun 2016 22:03:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Jun 2016 22:03:56 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sun Jun 19 00:03:44 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bEOL8-0008AM-UB for gctc-ntg-context-518@m.gmane.org; Sun, 19 Jun 2016 00:03:43 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id BF176F753; Sun, 19 Jun 2016 00:03:32 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cX7Yy2iVISaU; Sun, 19 Jun 2016 00:03:32 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 0DC13F767; Sun, 19 Jun 2016 00:03:32 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 897ABF753 for ; Sun, 19 Jun 2016 00:03:31 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id P73hPxoRDwPl for ; Sun, 19 Jun 2016 00:03:30 +0200 (CEST) Original-Received: from mail-qk0-f181.google.com (mail-qk0-f181.google.com [209.85.220.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 9936AF752 for ; Sun, 19 Jun 2016 00:03:20 +0200 (CEST) Original-Received: by mail-qk0-f181.google.com with SMTP id p10so121751358qke.3 for ; Sat, 18 Jun 2016 15:03:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=ljoiMeA/T4UCe8hGUjN9OUTjjC2WRXra6few3TkLydE=; b=BE3nRLR2KpUK0Nno7vUC0vtSUnDVU0pB99RoxsJXIhUFjBT5s9Ut/p86upC+6gMtc9 ho1g/0FipJQ3d8rhB3uK6kTc2FXAR0Hj8ZDtCrDiBPjedQJ25EfmM+SZCSGdyLX17On/ 52PfnHIzNsbmBry4xh+7Yz/oro+NgwlxRxboj3SGwyRQyBotG1A84mnaeuTZVS5YABaV IAMSSprrwf+J9H2T42SWsjLXAHUohqRdcVDJLFkVVLlaeAnNmzs8pb3Mh7xWRuSVNL2+ cLIfPjfDgKdb506RCom71Nn1PhTYE5jdfndCJp+Hqygu26W7pxgx6kBdwdQslOQaYNQu Zuow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ljoiMeA/T4UCe8hGUjN9OUTjjC2WRXra6few3TkLydE=; b=Xzu38amYPMytB+L7litT/xjYV9ysslbb5yrHpYP2jNBIwV8fNRXA7sc7R/zD6hFKvE OdytMPIdzXYuVIsISqpsiuGk6DWb72y7OBDBDOaP3UJHX0D83d45qPJL0INlebBt8rXS /6d9rBZR7LUkq1nGkJZEEjmptteDdsqkRN6++4XpTYVXYLecvVfQ1halXVUZT275zOm4 QDRMosaozHi+LeW0K7A5vHMARsFhA4iRdnQoIwnXqyvf6KZkq5AW6SOkeS1Jz9A9jgRi HX9DjInI2D5a7otKqGIDgW5jxFkhB/ycLv37rHMz+d7dWHPO4rGTRGfI1TB/yT81v/l0 jznA== X-Gm-Message-State: ALyK8tILB/r79wdyzdz9GAPPpIbPPgftfPt+YrRKY77hcsMjWCpOi3Tcwj4sLkYm58aHkKKONes8pRPblQHP+Q== X-Received: by 10.55.43.130 with SMTP id r2mr11202457qkr.150.1466287399159; Sat, 18 Jun 2016 15:03:19 -0700 (PDT) Original-Received: by 10.55.45.195 with HTTP; Sat, 18 Jun 2016 15:03:18 -0700 (PDT) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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" Xref: news.gmane.org gmane.comp.tex.context:95197 Archived-At: --===============4423974396445496997== Content-Type: multipart/alternative; boundary=001a1147afb090cd57053594a372 --001a1147afb090cd57053594a372 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Dear List In the wiki, http://wiki.contextgarden.net/Titles, there is a MWE of how to flush section head data without typesetting it in the text. But then \placelist gives a wrong order of sections and subsections: 1 First section 1.1 First subsection 2 Second section 1.2 Second subsection 2.1 First subsection If \setuptexttexts is omitted and the argument placehead=3Dyes instead of placehead=3Dhidden, then the order is correct: 1 First section 1.1 First subsection 1.2 Second subsection 2 Second section 2.1 First subsection Am I missing something? Marcus Vinicius ______________________________- MWE from the wiki \setuphead [section] [placehead=3Dhidden, page=3Dyes] \setuphead [subsection] [placehead=3Dyes, page=3Dyes, continue=3Dyes, style=3D\it] \setuptexttexts[{\placerawheaddata[section]}] \starttext \placelist[section,subsection] \page \startsection[title=3DFirst section] \startsubsection[title=3DFirst subsection] Lorem ipsum \dots \stopsubsection \startsubsection[title=3Dsecond subsection] Lorem ipsum \dots \stopsubsection \stopsection \startsection[title=3DSecond section] \startsubsection[title=3DFirst subsection] Lorem ipsum \dots \stopsubsection \stopsection \stoptext Marcus Vinicius --=20 Todas as coisas fatigam o corpo, salvo a m=C3=BAsica, que n=C3=A3o fatiga n= em o corpo nem seus membros, por ser descanso da alma, primavera do cora=C3=A7=C3=A3o,= distra=C3=A7=C3=A3o do aflito, entretenimento do solit=C3=A1rio, e vi=C3=A1tico do viajante. Kunn=C3=A2sh al-H=C3=A2'ik (Cancioneiro de al-H=C3=A2'ik) --001a1147afb090cd57053594a372 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Dear List

In the wik= i, http://wiki.contextgard= en.net/Titles, there is a MWE of how to flush section head data without= typesetting it in the text. But then \placelist gives a wrong order of sec= tions and subsections:

1=C2=A0=C2=A0 First section
1.1=C2=A0=C2= =A0 First subsection
2=C2=A0=C2=A0 Second section
1.2=C2=A0=C2=A0 Sec= ond subsection
2.1=C2=A0=C2=A0 First subsection

If \setuptexttext= s is omitted and the argument placehead=3Dyes instead of placehead=3Dhidden= , then the order is correct:

1=C2=A0=C2=A0 First section
1.1=C2= =A0=C2=A0 First subsection
1.2=C2=A0=C2=A0 Second subsection
2=C2=A0= =C2=A0 Second section
2.1=C2=A0=C2=A0 First subsection


Am I m= issing something?


Marcus Vinicius

______________________= ________-

MWE from the wiki

\setuphead
=C2=A0=C2=A0 [secti= on]
=C2=A0=C2=A0 [placehead=3Dhidden,
=C2=A0=C2=A0=C2=A0 page=3Dyes]<= br>
\setuphead
=C2=A0=C2=A0 [subsection]
=C2=A0=C2=A0 [placehead= =3Dyes,
=C2=A0=C2=A0=C2=A0 page=3Dyes,
=C2=A0=C2=A0=C2=A0 continue=3D= yes,
=C2=A0=C2=A0=C2=A0 style=3D\it]

\setuptexttexts[{\placerawhe= addata[section]}]

\starttext

\placelist[section,subsection] \= page

\startsection[title=3DFirst section]

=C2=A0=C2=A0 \start= subsection[title=3DFirst subsection]
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Lore= m ipsum \dots
=C2=A0=C2=A0 \stopsubsection

=C2=A0=C2=A0 \startsub= section[title=3Dsecond subsection]
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Lorem = ipsum \dots
=C2=A0=C2=A0 \stopsubsection

\stopsection

\sta= rtsection[title=3DSecond section]

=C2=A0=C2=A0 \startsubsection[titl= e=3DFirst subsection]
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Lorem ipsum \dots=C2=A0=C2=A0 \stopsubsection

\stopsection

\stoptext

=
Marcus Vinicius


=
--
Todas as coisas fatigam o corpo, salvo a m= =C3=BAsica, que n=C3=A3o fatiga nem o corpo nem seus membros, por ser desca= nso da alma, primavera do cora=C3=A7=C3=A3o, distra=C3=A7=C3=A3o do aflito,= entretenimento do solit=C3=A1rio, e vi=C3=A1tico do viajante.
=

Kunn=C3=A2sh a= l-H=C3=A2'ik (Cancioneiro de al-H=C3=A2'ik)
--001a1147afb090cd57053594a372-- --===============4423974396445496997== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============4423974396445496997==--