ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Backmatter preventing section numbers from appearing
@ 2021-11-25  9:50 A A via ntg-context
  2021-11-25 12:32 ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 2+ messages in thread
From: A A via ntg-context @ 2021-11-25  9:50 UTC (permalink / raw)
  To: ntg-context; +Cc: A A


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

Dear All,

I've noticed that the mere presence of backmatter prevents my sections from
being numbered. Consider the following:










*\starttext\startsection[  title={Create Serverless
Applications},]blablabla\stopsection%\startbackmatter % comment
out%\stopbackmatter % comment out\stoptext*

Uncommenting lines 8 and 9 causes the section numbers to disappear.

Is this normal behavior? Why does the presence of backmatter affect my
sections like this?

Regards,

Amine

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

[-- Attachment #2: Type: text/plain, Size: 493 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Backmatter preventing section numbers from appearing
  2021-11-25  9:50 Backmatter preventing section numbers from appearing A A via ntg-context
@ 2021-11-25 12:32 ` Hans Hagen via ntg-context
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen via ntg-context @ 2021-11-25 12:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

On 11/25/2021 10:50 AM, A A via ntg-context wrote:
> Dear All,
> 
> I've noticed that the mere presence of backmatter prevents my sections 
> from being numbered. Consider the following:
> 
> /\starttext
> \startsection[
>    title={Create Serverless Applications},
> ]
> blablabla
> \stopsection
> 
> %\startbackmatter % comment out
> %\stopbackmatter % comment out
> \stoptext/
> /
> /
> Uncommenting lines 8 and 9 causes the section numbers to disappear.
> 
> Is this normal behavior? Why does the presence of backmatter affect my 
> sections like this?
technically there can be many so called sectionblocks in any order and 
as one is chosen and no previous one has been set, all preceding sec 
tions will end up in that first block (kind of fix the structure) .. 
this is needed to get things like bookmarks right

so ... when you use sectionblocks used them consistently i.e. use 
bodymatter wrapping for the preceding sections


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-25 12:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-25  9:50 Backmatter preventing section numbers from appearing A A via ntg-context
2021-11-25 12:32 ` Hans Hagen via ntg-context

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).