From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/105243 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Michelle Weidling Newsgroups: gmane.comp.tex.context Subject: Re: space between headings Date: Fri, 11 Oct 2019 17:12:29 +0200 Message-ID: <6d797562-4a9e-0168-b7d9-b1c17a022008@sub.uni-goettingen.de> References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8423803826117567681==" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="179509"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 To: Original-X-From: ntg-context-bounces@ntg.nl Fri Oct 11 18:25:07 2019 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 blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iIxiz-000kSV-Fq for gctc-ntg-context-518@m.gmane.org; Fri, 11 Oct 2019 18:25:05 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E60171617D9; Fri, 11 Oct 2019 18:24:43 +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 BuQXqw-Ea3gU; Fri, 11 Oct 2019 18:24:42 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 62EBF161AC6; Fri, 11 Oct 2019 18:24:42 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 73A8E1617D9 for ; Fri, 11 Oct 2019 18:24:41 +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 iASAtWtDIK1W for ; Fri, 11 Oct 2019 18:24:40 +0200 (CEST) Received-SPF: None (mailfrom) identity=mailfrom; client-ip=134.76.10.29; helo=xmailer.gwdg.de; envelope-from=weidling@sub.uni-goettingen.de; receiver= X-Greylist: delayed 4329 seconds by postgrey-1.36 at zapf.ntg.nl; Fri, 11 Oct 2019 18:24:40 CEST Original-Received: from xmailer.gwdg.de (xmailer.gwdg.de [134.76.10.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 22A63161799 for ; Fri, 11 Oct 2019 18:24:40 +0200 (CEST) Original-Received: from excmbx-02.um.gwdg.de ([134.76.9.217] helo=email.gwdg.de) by mailer.gwdg.de with esmtp (GWDG Mailer) (envelope-from ) id 1iIwak-0004hO-Q6 for ntg-context@ntg.nl; Fri, 11 Oct 2019 17:12:30 +0200 Original-Received: from [10.0.5.185] (10.250.9.199) by EXCMBX-02.um.gwdg.de (134.76.9.217) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1779.2; Fri, 11 Oct 2019 17:12:13 +0200 Openpgp: preference=signencrypt Autocrypt: addr=weidling@sub.uni-goettingen.de; prefer-encrypt=mutual; keydata= mQINBFXlbtABEADHbOLSoTekuzwrrV23NJitthsRvjLV6vivS/ASuQPNEboq3Z/As+H/JDfq hLsnE/xLKcesWf5HZBPvA1EopR7RaFRAkiGhklcfyxRIGSNW8tQcmXUDHHLNscc8jaHnJoRq ai1iZeoI+bcBoihEVo+Db34a0NoLcAiAJZm/HxE3VPqKHKe3PZk33sGpB5z3UKMmSptEL+WN EELeozxBmFaQpzLYMy2aMegQNTYX3mnHtPWfKvnSVgTt8VSJPZSra57iTGd9rrDprjRf13bK BKjYWiSyuR7zUc6g+RWQWHhOD+7niVTN6W9K6LcZdK/QX6V580h+MMZw3R9IFFt8yrUSzxBb nVJutwTvu+OJJiqXmFlQbAWgTfYyQ8vrXfRepgrvQVv0PiACJ4xFZ64RkXxd9b6iDfO2aCbR Khsxrx6OlYXvcVJ6c1RNN5tmEoHmN8LAjdbNVerztrYTVZvY0mgtsSocMpIpUKkt9bhERRTi y4qOqYeKsp6v/32YPUS5vKzgJlWplfxeIL3TAStJYKhcTEhSrvAbP3UeW00CHZ5wFpBUMiJw Lul9HBpBVeo1/1+kjzsLROR4xH/pUM6Tdv9Uep77qMbdR8BmYcn6OddyRHC+pl+nQne7kwcr YctO0NEDU2M5EtLHoDFlnCSAi08kHV4YvPwWEqGI0Pec5Xk9jwARAQABtDJNaWNoZWxsZSBX ZWlkbGluZyA8d2VpZGxpbmdAc3ViLnVuaS1nb2V0dGluZ2VuLmRlPokCQAQTAQgAKgIbIwUJ CWYBg In-Reply-To: X-Originating-IP: [10.250.9.199] X-ClientProxiedBy: excmbx-16.um.gwdg.de (134.76.9.227) To EXCMBX-02.um.gwdg.de (134.76.9.217) X-Virus-Scanned: (clean) by clamav X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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:105243 Archived-At: --===============8423803826117567681== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="yl2Bz18z3sZOXmKP1N5cFzT24eUb80c1m" --yl2Bz18z3sZOXmKP1N5cFzT24eUb80c1m Content-Type: multipart/mixed; boundary="NOGFotnBwoTbs3VbPByqq7R543tvHpSjB"; protected-headers="v1" From: Michelle Weidling To: ntg-context@ntg.nl Message-ID: <6d797562-4a9e-0168-b7d9-b1c17a022008@sub.uni-goettingen.de> Subject: Re: [NTG-context] space between headings References: In-Reply-To: --NOGFotnBwoTbs3VbPByqq7R543tvHpSjB Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Dear Pablo, I'm not sure if this is the best way to solve it, but you could define custom headers for this situation that toss the spaces: \definehead[modifiedSection][section] \setuphead[modifiedSection] [after=3D{\blank[none]}] =09 \definehead[modifiedSubsection][subsection] \setuphead[modifiedSubsection] [before=3D{\blank[none]}] =09 \showframe\showgrid \starttext \modifiedSection{Section} \modifiedSubsection{Subsection} A sentence. \section{Section} Another sentence. \subsection{Subsection} Even another sentence. \stoptext When doing this it's important to modify both the section and the subsection heading, otherwise the space will still appear. (This approach feels a bit brute force to me and I'd be happy to see a more elegant solution.) Best, Michelle Am 10.10.19 um 19:17 schrieb Pablo Rodriguez: > Dear list, >=20 > I have the following sample: >=20 > \showframe\showgrid > \starttext > \section{Section} > \subsection{Subsection} > A sentence. > \section{Section} > Another sentence. > \subsection{Subsection} > Even another sentence. > \stoptext >=20 > Is there any way to setup the space after of \section when it is > followed by another heading? >=20 > I mean, is there no way to decrease the space between two headings? >=20 > Many thanks for your help, >=20 > Pablo > -- > http://www.ousia.tk > _______________________________________________________________________= ____________ > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > _______________________________________________________________________= ____________ >=20 --=20 Michelle Weidling Digital Humanities Georg-August-Universit=C3=A4t G=C3=B6ttingen Nieders=C3=A4chsische Staats- und Universit=C3=A4tsbibliothek G=C3=B6ttin= gen D-37073 G=C3=B6ttingen Papendiek (Historisches Geb=C3=A4ude, Raum 2.408) +49 551 39-25842 (Tel.) weidling@sub.uni-goettingen.de http://www.sub.uni-goettingen.de --NOGFotnBwoTbs3VbPByqq7R543tvHpSjB-- --yl2Bz18z3sZOXmKP1N5cFzT24eUb80c1m Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEocwOLyjbG+cRpIJAfIcAihh5S3AFAl2gm90ACgkQfIcAihh5 S3Cu1g/+N4GD/ns1NCQtlaLBdBb24C2Bf1DorwcNQmwU9u83rKn2rGXFBinn2v67 PWVRvH/dNLWw2Cn9gxRkkBo+RuhhbWxNg/wDoPu8F30uOEbHHZZL+pqVlME6mkQV Km9nMjSRNQlGiq7OXRz5cQg5Jjjb4IbEpLKlFwBhwmH032skrK7LJByd4Zmc60GX cu/BJWN+yzhOyXRR6IhoYXC46/2cEtCEGMCn07qpEZze/5iBTrSI1C87t3QCts0q 7fbMklRSeQUaJy2g0ASOAHJsOYslHGKI6OylDlQmi2FTQx5XWiUYw2J0pUi4PPpb WKUwvwsEthx9EiJxlBwKcITsky/weGFmqbkR7LEtY6PCLIQe61KoETMm7PDGMDkC 06m8PnfQ6EHcHrtwMNqcpwUJYQYpHkMVGOihvaX8rgsLvdeGOcgEgTbLSufTllUG jhKY/uZPbUteFIKN1s4XkvWti1jhb8T+RaETJ3rbCNAAZYrTR1DlL9vSlHIO1FC2 u5s0+TRRv1u4EufXzJ2yeXQoyTCDzn3qOBbom9vqL0KLnp9KToshhBszoDbkS8S7 UzVC9nxkfY3xxY2P3NwP/bONl2BH6GANGaAHqd0j4Qhg5vllFZEFBIaTljLl6W8J c/KZOHzpx+/8iJY2QlHG5+kV5u14QO0wKYRtRCk/Hw+1bCB/aRM= =cjAe -----END PGP SIGNATURE----- --yl2Bz18z3sZOXmKP1N5cFzT24eUb80c1m-- --===============8423803826117567681== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============8423803826117567681==--