ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "j. van den hoff" <veedeehjay@googlemail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>,
	"Pablo Rodriguez" <oinos@gmx.es>, "Hans Hagen" <pragma@wxs.nl>
Subject: Re: fluctuating baseline of header text
Date: Sat, 27 Dec 2014 16:35:19 +0100	[thread overview]
Message-ID: <op.xri9k5fup7eajd@muck.fritz.box> (raw)
In-Reply-To: <549EA7E1.4090501@wxs.nl>

coming back to this again, if one uses old-style numerals for the page  
numbering the "problem" is aggravated:

\showframe\showglyphs
\definefontfeature [default] [default] [onum=yes]
\definefontfamily [mainface] [serif] [garamondno8]
\setupbodyfont[mainface,12pt]
\setupheader      [style=\smallbodyfont\ss\it]
\setupheadertexts [section]
\setuppagenumbering[location={header,margin}, style=\bfc]

\starttext
\dorecurse{97}{\section{Introduction}
bla
\page[yes]}
\stoptext

now, it also is obious that the "baseline jumps" occur in the page numbers  
themselves (caused mainly by the
large extension of the `6') so going, e.g., from page 25 to 26 the `2'  
jumps downward quite a bit. I understand
that this is unavoidable if the positions are determined as they seemingly  
are (measuring from the top and separately
for each page). what I at least would think to be nicer would be a  
situation where the baseline is determined for
the _whole_ document as the minimum (lowest position on page) of all  
page-wise baselines (that would be determined by the digit `6' in the  
present example)
and then using _that_ baseline for all headers and page numbers which  
would eliminate the jittering of header lines and page numbers.

I am aware that this will not always be the desired behaviour and that  
there might be documents where header layout might not be identical  
document wide,
so it might open a can of worms, but for most book-type documents I would  
think this to be reasonable and desirable.

my questions:

-- would that (a common baseline for the text in all the page headers) be  
better or worse than the present behaviour from a typographical point of  
view?
-- if desirable, could/should it be done?
-- could such behaviour be achieved presently with some clever trick?

joerg


On Sat, 27 Dec 2014 13:36:49 +0100, Hans Hagen <pragma@wxs.nl> wrote:

> solutions:
>  - use a proper height for the header
> - package the header text in a box and set the height of that box


-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/
___________________________________________________________________________________
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
___________________________________________________________________________________

  parent reply	other threads:[~2014-12-27 15:35 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-26 22:32 j. van den hoff
2014-12-27  9:40 ` Pablo Rodriguez
2014-12-27 11:16   ` j. van den hoff
2014-12-27 12:36     ` Hans Hagen
2014-12-27 14:07       ` j. van den hoff
2014-12-27 14:10         ` j. van den hoff
2014-12-27 15:35       ` j. van den hoff [this message]
2014-12-27 23:45         ` Hans Hagen
2014-12-28 11:39           ` j. van den hoff
2014-12-28 17:55             ` Hans Hagen
2014-12-28 18:08               ` j. van den hoff
  -- strict thread matches above, loose matches on Subject: below --
2014-12-26 22:30 j. van den hoff

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=op.xri9k5fup7eajd@muck.fritz.box \
    --to=veedeehjay@googlemail.com \
    --cc=ntg-context@ntg.nl \
    --cc=oinos@gmx.es \
    --cc=pragma@wxs.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).