ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: jbf <roma83537@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: no frontmatter head on recto page
Date: Wed, 30 Sep 2020 19:46:16 +1000	[thread overview]
Message-ID: <a73fd3a0-5788-aa18-7755-d90f1307143f@gmail.com> (raw)

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	other threads:[~2020-09-30  9:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-30  9:46 jbf [this message]
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

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=a73fd3a0-5788-aa18-7755-d90f1307143f@gmail.com \
    --to=roma83537@gmail.com \
    --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).