ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Bug in s-pre-60.mkiv module
@ 2014-05-14 21:54 Maggyero
  0 siblings, 0 replies; only message in thread
From: Maggyero @ 2014-05-14 21:54 UTC (permalink / raw)
  To: ntg-context


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

I have to use this hack to make section titles appear when I use section
blocks (Hans, could you have a look at this bug of your s-pre-60.mkiv
module when you have time please?):


\usemodule[pre-60]
\setupinteraction[state=start]

\starttext
   \startfrontmatter
      \StartSteps % <-- Hack
      \StopSteps % <-- Hack
      \startsection[title=My frontmatter section] % <-- Title displayed
(the hack is not needed for this first section block, but I also use it
here for symmetry with the next section blocks)
         \StartSteps
         \startitemize
            \item my item\FlushStep
            \item my item\FlushStep
            \item my item\FlushStep
         \stopitemize
         \StopSteps
      \stopsection
   \stopfrontmatter

   \startbodymatter
      \StartSteps % <-- Hack
      \StopSteps % <-- Hack
      \startsection[title=My bodymatter section] % <-- Title displayed
thanks to the hack
         \StartSteps
         \startitemize
            \item my item\FlushStep
            \item my item\FlushStep
            \item my item\FlushStep
         \stopitemize
         \StopSteps
      \stopsection
   \stopbodymatter

   \startbackmatter
      \StartSteps % <-- Hack
      \StopSteps % <-- Hack
      \startsection[title=My backmatter section] % <-- Title displayed
thanks to the hack
         \StartSteps
         \startitemize
            \item my item\FlushStep
            \item my item\FlushStep
            \item my item\FlushStep
         \stopitemize
         \StopSteps
      \stopsection
   \stopbackmatter

   \startappendices
      \StartSteps % <-- Hack
      \StopSteps % <-- Hack
      \startsection[title=My backmatter section] % <-- Title displayed
thanks to the hack
         \StartSteps
         \startitemize
            \item my item\FlushStep
            \item my item\FlushStep
            \item my item\FlushStep
         \stopitemize
         \StopSteps
      \stopsection
   \stopappendices
\stoptext

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

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-05-14 21:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-14 21:54 Bug in s-pre-60.mkiv module Maggyero

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