ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "H. van der Meer" <H.vanderMeer@uva.nl>
To: ConTeXt NTG <ntg-context@ntg.nl>
Subject: garden example at fault
Date: Mon, 11 Mar 2013 21:38:11 +0100	[thread overview]
Message-ID: <FBB59A61-C0DE-40C4-AE67-998905CD7856@uva.nl> (raw)

[-- Attachment #1: Type: text/plain, Size: 1145 bytes --]

I tried this sample from the garden to look at the top and bottom, see Command/setuplayout.
Below a copy of the garden page (pagesize changed from A10 to A6):
\setuppapersize[A6]

%% This is an example for showing the effect of the vertical parameters
%% top, topdistance, bottom, bottomdistance and topspace.
%% Just play around with these parameters.

\showframe

%% Show the top and the bottom with blue color:
\setupbackgrounds[header, footer][background=color, backgroundcolor=blue]

\def\MyLength{10pt}

\setuplayout[
  top=\MyLength, 
  topdistance=\MyLength,
  bottom=\MyLength, 
  bottomdistance=\MyLength,
  topspace=\dimexpr(\topheight + \topdistance),
  height=fit]

\starttext
    \input thuan
\stoptext

This is LuaTeX, Version beta-0.75.0-2013030308 (rev 4589)
ConTeXt  ver: 2013.03.04 18:28 MKIV  fmt: 2013.3.4  int: english/english

The top and bottom should have been blue as in the screenshot from the garden (figure to the left). The reality however is no blue sections at all (figure at right). What is wrong: the (fairly recent) context or the example in the garden?

Hans van der Meer



[-- Attachment #2: garden.tiff --]
[-- Type: image/tiff, Size: 19312 bytes --]

[-- Attachment #3: headfoot.pdf --]
[-- Type: application/pdf, Size: 9087 bytes --]

[-- Attachment #4: Type: text/plain, Size: 2 bytes --]




[-- Attachment #5: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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:[~2013-03-11 20:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-11 20:38 H. van der Meer [this message]
2013-03-12 12:07 ` Sietse Brouwer
2013-03-13 11:44   ` Hans Hagen

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=FBB59A61-C0DE-40C4-AE67-998905CD7856@uva.nl \
    --to=h.vandermeer@uva.nl \
    --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).