From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/91142 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: \setuphead for all existing sections Date: Tue, 21 Apr 2015 00:38:18 +0200 Message-ID: References: <55313646.4030407@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Content-Type: multipart/mixed; boundary="===============1935697322==" X-Trace: ger.gmane.org 1429569548 8138 80.91.229.3 (20 Apr 2015 22:39:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Apr 2015 22:39:08 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 21 00:38:56 2015 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 1YkKL9-0005Xd-O5 for gctc-ntg-context-518@m.gmane.org; Tue, 21 Apr 2015 00:38:55 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2512F103DA for ; Tue, 21 Apr 2015 00:38:55 +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 DHT3s0mSU0Vw for ; Tue, 21 Apr 2015 00:38:54 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id C10EA10230 for ; Tue, 21 Apr 2015 00:38:28 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BC93B101FB for ; Tue, 21 Apr 2015 00:38:23 +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 f2wGZgsrm0D1 for ; Tue, 21 Apr 2015 00:38:22 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 57AF0101FA for ; Tue, 21 Apr 2015 00:38:22 +0200 (CEST) Original-Received: from mail-wi0-x22c.google.com (mail-wi0-x22c.google.com [IPv6:2a00:1450:400c:c05::22c]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id t3KMcLZi011241 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Tue, 21 Apr 2015 00:38:21 +0200 Original-Received: by wiun10 with SMTP id n10so1319131wiu.1 for ; Mon, 20 Apr 2015 15:38:21 -0700 (PDT) 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=FFf/tvkeN6a51Bypej3AogbNtQP/Xr0FvPtgCwWdsRc=; b=xlhlGOtLdJ9KDrQEZVAec2iyFWMpsv17XX4kz3rQ0i5BqEM6rlMtQeh4mRuXiPyPDN 6tLhi02TLRNja7ZDy8EAuEz5FpU2WLrcazjaSQM2TKpWR/jOrskxl7UOt6RZuspTZiGQ ajkVKYA5cGIVqYBXB+9ABLM1fqohCApX4zvfl8LZzKtFLieXUfmIOZ/BkAiEn9Zoq9LB fP3GC1DsurlucV56VW2fxurMd0EbTFQGqrSS1onwiAVv96MeAtKIQAFosNax15qJ4Ql3 wej+sjY9iZE2R+nnCWf/2RwRD9F+/2AuDPNXOSO0c+Ii4cX9D61jvU1dU+kfM5xteFmV zjdQ== X-Received: by 10.194.62.83 with SMTP id w19mr35828363wjr.40.1429569500827; Mon, 20 Apr 2015 15:38:20 -0700 (PDT) Original-Received: from keima.localdomain (x2f262b6.dyn.telefonica.de. [2.242.98.182]) by mx.google.com with ESMTPSA id o6sm17068634wiz.24.2015.04.20.15.38.19 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 Apr 2015 15:38:20 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.2098) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c05::22c; country=IE; latitude=53.3478; longitude=-6.2597; http://maps.google.com/maps?q=53.3478,-6.2597&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03OimClnr - 487738bd45af - 20150421 (trained as not-spam) Received-SPF: pass (filter3-ams.mf.surf.net: domain of schuster.wolfgang@gmail.com designates 2a00:1450:400c:c05::22c as permitted sender) receiver=filter3-ams.mf.surf.net; client-ip=2a00:1450:400c:c05::22c; envelope-from=; helo=mail-wi0-x22c.google.com; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) 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:91142 Archived-At: --===============1935697322== Content-Type: multipart/alternative; boundary="Apple-Mail=_BDC93147-0123-4CF4-BAF1-B62838A51734" --Apple-Mail=_BDC93147-0123-4CF4-BAF1-B62838A51734 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > Am 20.04.2015 um 20:43 schrieb Luk=C3=A1=C5=A1 Proch=C3=A1zka = : >=20 > Hello Pablo, >=20 > \setupheads doesn't work for this - see the test: >=20 > ---- > \setupheads[distance=3D1in] > \setuphead[subsection][distance=3D2in] >=20 > \starttext > \section{Sec} > \subsection{Subsec} > \stoptext > ---- >=20 > Subsection has the specified distance of 1 in, whilst the section = doesn't. >=20 > Section was altered by \setupheads, whilst subsection by \setuphead. >=20 > Wiki http://wiki.contextgarden.net/Command/setupheads = says that \setuphead = has some more options than \setupheads. The \setupheads command is only a synonym for \setuphead but there can = be a difference between \setuphead[..,..=3D..,..] and \setuphead[
Am 20.04.2015 um 20:43 schrieb Luk=C3=A1=C5=A1 Proch=C3=A1zka = <LPr@pontex.cz>:

Hello Pablo,

\setupheads doesn't work for this - see the = test:

----
\setupheads[distance=3D1in]
\setuphead[subsection][distance=3D2in]

\starttext
 \section{Sec}
   \subsection{Subsec}
\stoptext
----

Subsection has the = specified distance of 1 in, whilst the section doesn't.

Section was altered by \setupheads, whilst = subsection by \setuphead.

Wiki http://wiki.contextgarden.net/Command/setupheads says that \setuphead has = some more options than \setupheads.

The \setupheads command is only a synonym for = \setuphead but there can be a difference between

    = \setuphead[..,..=3D..,..]

and

    \setuphead[<section][..,..=3D..,..]

Wolfgang
= --Apple-Mail=_BDC93147-0123-4CF4-BAF1-B62838A51734-- --===============1935697322== 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= --===============1935697322==--