ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* headers again
@ 2020-08-13  0:03 jbf
  2020-08-13  2:53 ` Aditya Mahajan
  0 siblings, 1 reply; 10+ messages in thread
From: jbf @ 2020-08-13  0:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Understandably, with work going on for the new \command pages, 
heatwaves, upcoming ConTeXt meeting, people are very busy. I understand 
that. In the meantime, I haven't yet found a solution (though I have 
tried many) to my own problem, small though it is by comparison. So let 
me try again, putting it  simply:

Where running heads (headers) are concerned, if I use \chapter I have no 
problems, nor should I expect any. But because I am also using \title, 
given that I need some unnumbered chapters interspersed  among them, I 
run into difficulties with headers. Numbered chapters have the correct 
headers, unnumbered ones (with \title) either don't have them, or do not 
have the proper chapter header (they pick up the header from the 
previous numbered chapter).

At the moment the only thing I have in the preamble is the expected set 
of commands for the numbered chapters:

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

I thought that might work for the unnumbered ones (\title), thinking 
that maybe \title inherits from \chapter, but it doesn't. But no amount 
of variations on the above commands (repeating them but replacing 
'chapter' with 'title'; adding [title] or just title, in the first set 
of commands in various positions...) gives me the correct result.

I am assuming, of course, that there is a solution to this difficulty, 
and that it may be simple. But I haven't found it. Is the problem that I 
am using \title in the main body to get my unnumbered chapters? I 
wouldn't think so? It produces the correct result, utlimatley, in the 
TOC, Is it possible that I may have something else in my preamble that 
is causing the problem? If so, I can't expect someone to 'guess' that 
from outside! But at the moment I don't think that is the problem.

If not a direct solution, are there any clues someone might give me that 
will lead me to finding my own solution? It would be much appreciated.

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] 10+ messages in thread

end of thread, other threads:[~2020-08-14  9:04 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-13  0:03 headers again jbf
2020-08-13  2:53 ` Aditya Mahajan
2020-08-13  3:35   ` jbf
2020-08-13  5:36     ` Aditya Mahajan
2020-08-13  5:57       ` jbf
2020-08-13 18:16   ` Wolfgang Schuster
2020-08-13 23:44     ` Aditya Mahajan
2020-08-14  0:28       ` jbf
2020-08-14  9:04         ` Wolfgang Schuster
2020-08-14  6:34       ` Hans Hagen

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