ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Philipp Gesang <gesang@stud.uni-heidelberg.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: full page images on fixed pages
Date: Sat, 19 May 2012 23:06:43 +0200	[thread overview]
Message-ID: <20120519210643.GA3023@phlegethon> (raw)
In-Reply-To: <C989E704-516E-4541-8650-287615D917C7@fiee.net>


[-- Attachment #1.1: Type: text/plain, Size: 3357 bytes --]

On 2012-05-19 20:38, Henning Hraban Ramm wrote:
> Am 2012-05-17 um 13:49 schrieb Philipp Gesang:
> 
> >>In my current book project, I need to set images on fixed pages
> >>(because only a few pages get printed in color),
> >
> >I assume with “fixed pages” you mean “always on the page with a
> >certain number”. This, at least, might be solved with the
> >postponing mechanism:
> >
> >········································································
> >\starttext
> >
> >\startpostponing [3]
> > \startstandardmakeup
> >   \externalfigure [cow] [width=\hsize]
> > \stopstandardmakeup
> >\stoppostponing
> >
> >\dorecurse{42}{\input knuth \par}
> >
> >\stoptext
> >········································································
> 
> Thank you, that works, but the publisher decided to use glue binding
> to be able to put colored pages everywhere...

Sounds like they are meaning it ...
 
> Can you explain, what standardmakeup really does? I know it’s used
> in "free layout" pages.

In its natural state (like \startmakeup without arguments), the
makeup 1. nil’s headers and footers, 2. zeroes whitespace
settings (\forgetall), (2.a. disables overfull box warnings,) and
3.  sets the text area to the current dimensions \textheight by
\textwidth. The output looks like most layout elements.

However, the personalized makeup environments as defined by
\definemakeup are much more complex. They basically allow to
insert parameterized layout and pagestyle exceptions without
affecting the layout of the surrounding pages. Implicitly, with
the makeup definition, a page layout is created as well, so the
options of \setuplayout work as well. This may be the key to the
solution to your full page issue. The *standardmakeup*
environment belongs to this second group, it is initialized as
(page-mak.mkvi):

  \definemakeup
    [\v!standard]
    [\c!width=\innermakeupwidth,
     \c!height=\textheight,
     \c!page=\v!right,
     \c!doublesided=\v!empty]

If you want to go hack on makeups, you might want to use the
“setups” key to add your code.  Of course, for the complete story
you’ll need to look up the definition of \page_makeup_start_yes.
(There’s some very basic info in “Layouts in Context”, pp. 49f,
too.)

Best regards
Philipp

> >Not sure about your full page problem, though.
> 
> I'll open another thread on that.
> 
> 
> Greetlings, Hraban
> ---
> http://www.fiee.net/texnique/
> http://wiki.contextgarden.net
> https://www.cacert.org (I'm an assurer)
> 
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: 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
___________________________________________________________________________________

      parent reply	other threads:[~2012-05-19 21:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-16 20:30 Henning Hraban Ramm
2012-05-17 11:49 ` Philipp Gesang
2012-05-19 18:38   ` Henning Hraban Ramm
2012-05-19 20:07     ` Willi Egger
2012-05-19 21:06     ` Philipp Gesang [this message]

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=20120519210643.GA3023@phlegethon \
    --to=gesang@stud.uni-heidelberg.de \
    --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).