ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: space sectioning control
Date: Mon, 25 Jun 2018 13:41:15 +0200	[thread overview]
Message-ID: <5B30D4DB.7060906@gmail.com> (raw)
In-Reply-To: <op.zk48ljowejo439@desktop-mt1m160>


[-- Attachment #1.1: Type: text/plain, Size: 1985 bytes --]

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 ادريس سماوي حامد <mailto:Idris.Hamid@colostate.edu>
> 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
> ___________________________________________________________________________________


[-- Attachment #1.2: Type: text/html, Size: 3637 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2018-06-25 11:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-25  2:45 Idris Samawi Hamid ادريس سماوي حامد
2018-06-25 11:41 ` Wolfgang Schuster [this message]
2018-06-25 12:58   ` Idris Samawi Hamid ادريس سماوي حامد
2018-06-25 13:20     ` Wolfgang Schuster
2018-06-25 13:55       ` Idris Samawi Hamid ادريس سماوي حامد
2018-06-26 15:10       ` Procházka Lukáš Ing.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5B30D4DB.7060906@gmail.com \
    --to=schuster.wolfgang@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).