ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Thomas Welter <welter.thomas@outlook.de>
To: "ntg-context@ntg.nl" <ntg-context@ntg.nl>
Subject: Proper presentations with stepping
Date: Tue, 26 May 2020 18:57:38 +0000	[thread overview]
Message-ID: <AM0PR10MB320253A86FF73AD5A7ADA63D83B00@AM0PR10MB3202.EURPRD10.PROD.OUTLOOK.COM> (raw)

The presentation examples with stepping always seem to lack page and section numbers because \incrementcounter gets fired on every stepping iteration. For that I adjusted a few lines in spresent-steps.mkiv. You can see an (scientifically-styled) example presentation here: https://github.com/WelterDevelopment/present-steps-context

Also I would like to propagate the idea of removing the sectioning heads from the page content and move them to the page header. This does simplify a lot of issues in (non-javascript) stepped presentations:
\setuphead[section,subsection][page=yes, placehead=empty]
\setupheadertexts[{\getmarking[sectionnumber] \getmarking[section] -- \getmarking[subsectionnumber] \getmarking[subsection]}][]

Maybe something like this can be added as a new example presentation in texmf-context\doc\context\presentations\examples because the current present-steps-001 is a little too minimal.

If you have any ideas to automate the prevention of auto-incrementing the counters for floats and equations, please don't hesitate to commit changes.

Kind regards,
Thomas
___________________________________________________________________________________
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:[~2020-05-26 18:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=AM0PR10MB320253A86FF73AD5A7ADA63D83B00@AM0PR10MB3202.EURPRD10.PROD.OUTLOOK.COM \
    --to=welter.thomas@outlook.de \
    --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).