ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* no frontmatter head on recto page
@ 2020-09-30  9:46 jbf
  2020-09-30 11:44 ` Taco Hoekwater
  0 siblings, 1 reply; 6+ messages in thread
From: jbf @ 2020-09-30  9:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

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

end of thread, other threads:[~2020-09-30 22:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-30  9:46 no frontmatter head on recto page jbf
2020-09-30 11:44 ` Taco Hoekwater
2020-09-30 12:56   ` Alan Bowen
2020-09-30 12:58     ` Alan Bowen
2020-09-30 21:47   ` jbf
2020-09-30 22:50   ` jbf

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