From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/107595 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: jbf Newsgroups: gmane.comp.tex.context Subject: reduced space below chapter title Date: Tue, 2 Jun 2020 19:41:08 +1000 Message-ID: <07e5025e-2a5f-f621-3e1c-9b13090ec323@gmail.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0092309431720859994==" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="120675"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jun 02 11:41:47 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jg3QY-000VI7-VO for gctc-ntg-context-518@m.gmane-mx.org; Tue, 02 Jun 2020 11:41:46 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 309EA184813; Tue, 2 Jun 2020 11:41:18 +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 2ApE1BIfmphL; Tue, 2 Jun 2020 11:41:16 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5C1AB184814; Tue, 2 Jun 2020 11:41:16 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 8F239184812 for ; Tue, 2 Jun 2020 11:41:15 +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 hVhMOaYufGUP for ; Tue, 2 Jun 2020 11:41:14 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.214.171; helo=mail-pl1-f171.google.com; envelope-from=roma83537@gmail.com; receiver= Original-Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 2DC6D184811 for ; Tue, 2 Jun 2020 11:41:14 +0200 (CEST) Original-Received: by mail-pl1-f171.google.com with SMTP id x11so1126911plv.9 for ; Tue, 02 Jun 2020 02:41:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-language; bh=7mYwuYZDRb4t62ADTlo8Wqz+OZL4ZeYMyigWS0dN+2o=; b=t/Z4yTTcA7nu3ZZhWg3U95vtpPv/4TG/TDuFn1PIrlOhqVaAP6U1zewaJxxMCqNbd2 3VHlLfKK0OekE7NxbLWq+hcp4lnvIcyZoEUoegoCDL40gqxpNfNUr82U5AVOjr2GDn8G PIGIomvD7PY8KU/dLOMu7RCp3yasv/T1m1Oxm35Oh3PgafPnLHc919x3v3byLRdl781d 2Jrz4oZP58wYcZb2lOKcmc9asdMvYmNc1M1SLPRB+msZU5E6APeYVQsd2QOsLm9Rtb9r bYQBDmUmz2bfbdurW8SR0Aq7pYyYe9XOjX6BgyCwgq+ba76lMPauWURzxYlfK7Hc47VR tPAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language; bh=7mYwuYZDRb4t62ADTlo8Wqz+OZL4ZeYMyigWS0dN+2o=; b=mkRdyAO50s71yuL6YlQyES9oZJb43HLK8zPsYzwRaYmJ4uUBg2jpAmSJpGguLqTjWg UD+KvnoJiHCNSxQUmy4yjYsX5enDmWhtjYrijyvlZkTR5dmSL8ULIibxM+r0dwWJTWBp rFJpyJDy5E2kaQMRDMYYcTngNvlrKI86rUUMXPY0D9ivdX9GXWhAGDVSmN5x6ThP5S3X AqWV38MeyS8QMhnlQxLVBV7Z9/uXhPTnkPT95YG8O+qwy19G22RbThT3ysIPifZaFUQL 0C7m7Sv6E70xx6nc+DLJVUygE5yzRDTDpjS4/7lVypXGeYux6fVtHHHv1D1YZNAwkV3C TJqg== X-Gm-Message-State: AOAM530hmy1TODLkC6N8zUALxaQ4DuS5GM0X6GmLtKsNjUWsTsdQXGPO cyCXltixNHnj9fyBbkhAvZdVKD4qqpg= X-Google-Smtp-Source: ABdhPJyatE+PUJiylQee8J2cqgGy9WBjiHiOa42NYK3Jw1csJ8T/72y6OqL/ZUgRdMaSW23BtQCN6A== X-Received: by 2002:a17:902:ee15:: with SMTP id z21mr21995334plb.233.1591090871848; Tue, 02 Jun 2020 02:41:11 -0700 (PDT) Original-Received: from [192.168.0.100] ([120.21.40.17]) by smtp.gmail.com with ESMTPSA id mg14sm1814189pjb.48.2020.06.02.02.41.09 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 02 Jun 2020 02:41:11 -0700 (PDT) Content-Language: en-US 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.io gmane.comp.tex.context:107595 Archived-At: This is a multi-part message in MIME format. --===============0092309431720859994== Content-Type: multipart/alternative; boundary="------------E283C67A6110E9BC0644F5AF" Content-Language: en-US This is a multi-part message in MIME format. --------------E283C67A6110E9BC0644F5AF Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi list, I am attempting to achieve, for every second chapter, to have only one line of space between the chapter title and the text that follows. I looked at the following example in the wiki: \setuppapersize[A6][A6] \setupbodyfont[8pt] \def\MyChapterCommand#1#2% {\vbox to 4cm\bgroup {#1\hskip.75em #2} \vss \egroup} \setuphead[chapter][header=nomarking, command=\MyChapterCommand] \starttext \chapter{test} \input tufte \stoptext and presumed that I could adjust that to something like 1cm instead of 4cm. The problem is that when I try to process the original example, I get a fatal error at the line which reads \chapter{test} \input tufte. I'm not sure why that error, but that aside, would the \def\MyChapterCommand approach suggested above be the right way to achieve my purpose? In other words, I want the text that follows the chapter title to follow immediately for specific chapters, rather than the considerable vertical space that follows the default setup for chapter titles. Julian --------------E283C67A6110E9BC0644F5AF Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit

Hi list,

I am attempting to achieve, for every second chapter, to have only one line of space between the chapter title and the text that follows.

I looked at the following example in the wiki:

\setuppapersize[A6][A6]
\setupbodyfont[8pt]
\def\MyChapterCommand#1#2%
  {\vbox to 4cm\bgroup
     {#1\hskip.75em #2}
     \vss
     \egroup}
\setuphead[chapter][header=nomarking, command=\MyChapterCommand]
\starttext
\chapter{test} \input tufte
\stoptext

and presumed that I could adjust that to something like 1cm instead of 4cm.

The problem is that when I try to process the original example, I get a fatal error at the line which reads \chapter{test} \input tufte.

I'm not sure why that error, but that aside, would the \def\MyChapterCommand approach suggested above be the right way to achieve my purpose? In other words, I want the text that follows the chapter title to follow immediately for specific chapters, rather than the considerable vertical space that follows the default setup for chapter titles.

Julian

--------------E283C67A6110E9BC0644F5AF-- --===============0092309431720859994== 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== --===============0092309431720859994==--