From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/101092 Path: news.gmane.org!.POSTED!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: space sectioning control Date: Mon, 25 Jun 2018 13:41:15 +0200 Message-ID: <5B30D4DB.7060906@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8395442965506949235==" X-Trace: blaine.gmane.org 1529926772 22505 195.159.176.226 (25 Jun 2018 11:39:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 25 Jun 2018 11:39:32 +0000 (UTC) User-Agent: Postbox 5.0.25 (Macintosh/20180328) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jun 25 13:39:28 2018 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 esmtp (Exim 4.84_2) (envelope-from ) id 1fXPqB-0005lP-9m for gctc-ntg-context-518@m.gmane.org; Mon, 25 Jun 2018 13:39:27 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 1149F39CCC; Mon, 25 Jun 2018 13:41: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 OzJgmMf0Q6Wq; Mon, 25 Jun 2018 13:41:31 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 68F5B39DF2; Mon, 25 Jun 2018 13:41:31 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C499139CCC for ; Mon, 25 Jun 2018 13:41:30 +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 tpoS2_kinjHE for ; Mon, 25 Jun 2018 13:41:30 +0200 (CEST) Original-Received: from mail-wr0-f169.google.com (mail-wr0-f169.google.com [209.85.128.169]) (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 0CC452C987 for ; Mon, 25 Jun 2018 13:41:20 +0200 (CEST) Original-Received: by mail-wr0-f169.google.com with SMTP id a12-v6so13350161wro.1 for ; Mon, 25 Jun 2018 04:41:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=lV4D6BItLOTvZH5CijTgsC64tsL1VqwpJZzCHHcfbrk=; b=bPRMkYAmV8rhErvDwxPQkE5DuDR0OPmtHogPKg+qe8DWAS+pVYAf7bKjTuaM0ItqNC trf6+HQT+sDK0JJkSTtXl/UzICaYp0euZU5VLV3aMSG/86iuN871dErw6rLv+l9nasEl 1eGbmeRd6kB3iJfgDJoeM3nChdQjS79N0feF8reNQqQq7MXfazpYxvdtYg6yMAh2bXDO Zv6rbcHLo9bT5BbP5UuD69E55mHbW4ILmOYGLsMQDswtQrF1s/iWZI72c0QmdDGdaJqZ UDw07E5e7lCn3j+BarSVJ3g/sxhpEbm0cHexcenHjoRABZsGShC7CH84jEruVzET7j4B 0JlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=lV4D6BItLOTvZH5CijTgsC64tsL1VqwpJZzCHHcfbrk=; b=shRWaUyJQGYkOwosHAmr9DqZleEUPE1+igy2OQkUImgtVgaKBfLGGiuQWLQ20aGtOb Bug3pjKcUq7qWDdB83iZew3XtlQxRp93+8/WQMRUA2lVn8doPey23AezCLmSyxq1bLJn 50HZpBT9ls/cpXWr4IOmDUWV5k1wvFRUoJ/YyhalA61XRJULDoYQFyV379YjCqTrpWv0 eryNXZhZlnu1+Onr/1b6tfE4n28UwWFBGrHYtKZaU5s8gNNziWmjCUrgVlK4FtZUUYlE EJMu7UN8l+pkTY2LR0zmIiBvHyt3Pm5TALZubTs/EQNx23XuHfnPqCH5g2pRaUll54TE 3v5g== X-Gm-Message-State: APt69E1DSfQgURZdHdOIw5FqqaYlH4VJs06eTPAfdrA/zxA56XIpG8Q4 0z8NCZeum9iH3n9g5iLy91kBRYPe X-Google-Smtp-Source: AAOMgpfvlUdZJoSPnGZ/ODBVqQKTT3nPy4Sved8t7i9Hqaql4Vw8Ji+nCRh+Ngx4EZIdlHEpvXYs+g== X-Received: by 2002:adf:e0c5:: with SMTP id e5-v6mr5892957wri.199.1529926879243; Mon, 25 Jun 2018 04:41:19 -0700 (PDT) Original-Received: from [192.168.1.12] (x5ce30e85.dyn.telefonica.de. [92.227.14.133]) by smtp.gmail.com with ESMTPSA id e74-v6sm11691150wma.44.2018.06.25.04.41.17 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Jun 2018 04:41:18 -0700 (PDT) In-Reply-To: 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:101092 Archived-At: This is a multi-part message in MIME format. --===============8395442965506949235== Content-Type: multipart/alternative; boundary="------------070708060000080702010200" This is a multi-part message in MIME format. --------------070708060000080702010200 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit To number paragraphs you can create a counter with \definelabel. \definelabel[Paragraph][text=,numberstopper={.},headcommand=\groupedcommand{}{ }] \starttext \startchapter[title={First},reference={}] \Paragraph\input ward \Paragraph\input ward \stopchapter \startchapter[title={Second},reference={}] \Paragraph\input ward \Paragraph\input ward \stopchapter \stoptext Wolfgang > Idris Samawi Hamid ادريس سماوي حامد > 25. Juni 2018 um 04:45 > Dear gang, > > Here's an interesting one, attached and below: > > ======= > \setuphead[chapter] [alternative=normal] > \setuphead[subsection][alternative=text] > \setuphead[subsection][criterium=local,distance=0em,sectionstopper=.] > > \starttext > > \startchapter[title={First},reference={}] > \startsubsection%[title={First}] > \input ward > \stopsubsection > \startsubsection%[title={Second}] > \input ward > \stopsubsection > \stopchapter > > \startchapter[title={Second},reference={}] > \startsubsection%[title={}] > \input ward > \stopsubsection > \startsubsection%[title={}] > \input ward > \stopsubsection > \stopchapter > \stoptext > ======= > > Our subsections do not have titles. The space between the subsection > numeral and the text is too large, even with > > distance=0em > > Negative distances don't behave well - toggle lines 4 and 5. > > What can we do to control the space between numeral and text? Thank > you in advance. > > Best wishes > Idris > ___________________________________________________________________________________ > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ --------------070708060000080702010200 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit To number paragraphs you can create a counter with \definelabel.


\definelabel[Paragraph][text=,numberstopper={.},headcommand=\groupedcommand{}{ }]

\starttext

\startchapter[title={First},reference={}]

\Paragraph\input ward

\Paragraph\input ward

\stopchapter

\startchapter[title={Second},reference={}]

\Paragraph\input ward

\Paragraph\input ward

\stopchapter

\stoptext


Wolfgang

Dear gang,

Here's an interesting one, attached and below:

=======
\setuphead[chapter]   [alternative=normal]
\setuphead[subsection][alternative=text]
\setuphead[subsection][criterium=local,distance=0em,sectionstopper=.]

\starttext

\startchapter[title={First},reference={}]
\startsubsection%[title={First}]
\input ward
\stopsubsection
\startsubsection%[title={Second}]
\input ward
\stopsubsection
\stopchapter

\startchapter[title={Second},reference={}]
\startsubsection%[title={}]
\input ward
\stopsubsection
\startsubsection%[title={}]
\input ward
\stopsubsection
\stopchapter
\stoptext
=======

Our subsections do not have titles. The space between the subsection numeral and the text is too large, even with

distance=0em

Negative distances don't behave well - toggle lines 4 and 5.

What can we do to control the space between numeral and text? Thank you in advance.

Best wishes
Idris
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________

--------------070708060000080702010200-- --===============8395442965506949235== 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 X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============8395442965506949235==--