ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pablo Rodriguez <oinos@gmx.es>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: vertical spacing and makeups
Date: Sat, 18 Apr 2015 18:43:49 +0200	[thread overview]
Message-ID: <553289C5.3020601@gmx.es> (raw)

Dear list,

I have the following sample:

    \showgrid
    \setupinteraction[option=max]
    \setuppapersize[S6]
    \setuppagenumbering[location=]
    \setupbodyfont[100pt]
    \setupwhitespace[big]
    \startsetups[setups:slides]
        \setupwhitespace[big]
    \stopsetups
    \setupmakeup[pagestate=start]
    \definemakeup[slides][setups=setups:slides]
    \definemakeup[slide]
    \starttext
    \startmakeup[slides]\ConTeXt\stopmakeup
    \startmakeup[slide]\ConTeXt\stopmakeup
    \page\ConTeXt
    \startmakeup[slides]program\stopmakeup
    \startmakeup[slides]descender\stopmakeup
    \startmakeup[slide]program\stopmakeup
    \startmakeup[slide]descender\stopmakeup
    \page program
    \page descender
    \stoptext

The first page shows that \setupwhitespace[big] affects to a single line
in a makeup. Shouldn’t white space be added only between paragraphs? The
second page is right vertically centered. And the third page shows that
the white space isn’t added before the first paragraph in a normal page
(no makeup).

This is the first issue, isn’t it a bug? Or what am I missing?

The second issue is about the line height. If I didn’t get it wrong from
Hans some days ago, line height is the x-height, plus ascender and
descender heights.

In vertical centering for makeups, why does ascender or descender height
affect to basline position? Sorry, but this is a problem for
readability. And it think it is better to center the line instead than a
group of glyphs.

Or am I missing something in this second issue too?

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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
___________________________________________________________________________________

             reply	other threads:[~2015-04-18 16:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-18 16:43 Pablo Rodriguez [this message]
2015-04-18 17:15 ` Wolfgang Schuster
2015-04-18 18:29   ` Pablo Rodriguez
2015-04-19 18:50     ` Wolfgang Schuster
2015-04-19 21:01       ` Pablo Rodriguez

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=553289C5.3020601@gmx.es \
    --to=oinos@gmx.es \
    --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).