ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Idris Samawi Hamid ادريس سماوي حامد" <Idris.Hamid@colostate.edu>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: methods for numbered paragraphs (ii)
Date: Tue, 08 Aug 2017 06:42:58 -0600	[thread overview]
Message-ID: <op.y4nj95rgejo439@desktop-mt1m160> (raw)
In-Reply-To: <020f4ea1-087d-7ded-153c-45b03b9fec11@wxs.nl>

[-- Attachment #1: Type: text/plain, Size: 1574 bytes --]

On Tue, 08 Aug 2017 01:36:00 -0600, Hans Hagen <pragma@wxs.nl> wrote:

> On 8/7/2017 11:03 PM, Pablo Rodriguez wrote:
>> On 08/07/2017 08:57 PM, Hans Hagen wrote:
>>> On 8/7/2017 5:08 PM, Pablo Rodriguez wrote:
>>>> [...]
>>>> I mean, in a common sectioning structure a \subsubsection comes after  
>>>> a
>>>> \subsection. But I don’t think it must be mandatory.
>>>
>>> Well, it's all on purpose ... no excuse for bad structuring
>>  But even in that case, numbering from:
>>     \section{A}
>>    \subsubsection{B}
>>  gives:
>>     1 A
>>    1 B
>>  Should it be the following?
>>     1 A
>>    1.1 B
>
> no it would be 1 and 1.0.1 then
>
>>> anyway, i'll support the criterium flag in sections too:
>>>
>>> \setuphead[subsection][criterium=all]
>>>
>>> and for sure i'll forget about it so I wonder who will document it ...
>>  I have done it
>> (http://wiki.contextgarden.net/Titles#Complete_Section_Numbering).
>>  But Idris should review and improve it ;-).
>>  Many thanks for the improvoement,

current version: 2017.08.07 11:30

=======
\setuphead[subsection][criterium=all]

\starttext
\section{A}
\subsection{B}
\subsubsection{C}

\section{D}
% \subsection{E}
\subsubsection{F}
\stoptext
=======

produces the following

1 A
1.1 B
1.1.1 C
2 D
1 F

- see attached - so maybe the criterium=all support wasn't included in  
yesterday's release but is intended for a subsequent one..

Idris
-- 
Idris Samawi Hamid, Professor
Department of Philosophy
Colorado State University
Fort Collins, CO 80512

[-- Attachment #2: section-intext2.pdf --]
[-- Type: application/pdf, Size: 6571 bytes --]

[-- Attachment #3: 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:[~2017-08-08 12:42 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-05 20:08 Idris Samawi Hamid ادريس سماوي حامد
2017-08-06  3:28 ` Idris Samawi Hamid ادريس سماوي حامد
2017-08-06 13:54   ` Idris Samawi Hamid ادريس سماوي حامد
2017-08-06 19:39     ` Pablo Rodriguez
2017-08-06 21:08       ` Idris Samawi Hamid ادريس سماوي حامد
2017-08-07 15:08         ` Pablo Rodriguez
2017-08-07 18:57           ` Hans Hagen
2017-08-07 21:03             ` Pablo Rodriguez
2017-08-07 22:37               ` Idris Samawi Hamid ادريس سماوي حامد
2017-08-08  7:36               ` Hans Hagen
2017-08-08 12:42                 ` Idris Samawi Hamid ادريس سماوي حامد [this message]
2017-08-08 16:00                   ` Pablo Rodriguez
2017-08-08 20:43                 ` Pablo Rodriguez
2017-08-09  7:58                   ` Hans Hagen
2017-08-06 19:49     ` Pablo Rodriguez
2017-08-06 21:14       ` Idris Samawi Hamid ادريس سماوي حامد

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=op.y4nj95rgejo439@desktop-mt1m160 \
    --to=idris.hamid@colostate.edu \
    --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).