For some reason that I cannot work out, the recto page header is not appearing in frontmatter sections like Foreword. It is important to note that for this item I am using:

\definehead
  [foreword] [chapter]...

\setuphead
  [foreword]
  [frontpartlabel=foreword,
   conversion=empty]

Then starting this section in the main body with \startforeword...\stopforeword.

As 'foreword' is based on chapter, I thought it would all work correctly given that I already have:

 [{\hfill\getmarking[chapter]\hfill}][]
  [{\hfill\documentvariable{metadata:title}\hfill}][]

And I also have:

\setupsectionblock[frontpart][page=yes] in case that is important as well.

I am getting the verso page header (the book's title, obviously coming from the \documentvariable{metadata:title}), but not the recto header (in this case 'Foreword'). What am I doing wrong?

I tried two solutions to solve the problem, neither worked:

1. In \setuphead I thought perhaps I might need to add placehead=yes, but that did nothing.

2. I also tried  [{\hfill\getmarking[chapter, foreword]\hfill}][] in case I needed to add in 'foreword', having defined it as a head. That did nothing either. Any clues as to what I am missing?

Julian


___________________________________________________________________________________
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 via email to