ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: how to make a coverpage?
Date: Wed, 8 Apr 2009 08:44:40 +0200	[thread overview]
Message-ID: <A7C03CB8-63B6-4616-9AEA-CDF0F092FD48@gmail.com> (raw)
In-Reply-To: <440786.17801.qm@web30005.mail.mud.yahoo.com>


Am 08.04.2009 um 01:10 schrieb Jos van Gisbergen:

> Hi,
>
> I'm experimenting with context for a few weeks now and am impressed
> by its possibilities and clean results. However, everything I want  
> to try
> out seems to take a lot of trial and error to get right.
> Especially creating a titlepage for a book, a backgound picture  
> covering
> the entire page with some text on it -- I cannot for the life of me  
> figure
> out how it's done. Even after googling many hours and perusing the
> manuals. I've tried permutations of layers, overlays and  
> setupbackgrounds
> within and without {start/stop}standardmakeup -- nothing quite does  
> it.
> Can somebody please show me a simple example of how to create
> a book cover with a picture covering the entire page and a title  
> text on it?


\starttext

\defineoverlay[coverimage][\ifnum\realpageno=\plusone 
\overlayfigure{cover}\fi]

\setupbackgrounds[page][background=coverimage]

\startstandardmakeup

bla bla bla

\stopstandardmakeup

\input knuth

\stoptext

or

\starttext

\defineoverlay[coverimage][\ifnum\realpageno=\plusone 
\overlayfigure{cover}\fi]

\definelayer[covertext][width=\paperwidth,height=\paperheight]

\setupbackgrounds[page][background={coverimage,covertext}]

\startstandardmakeup

\setlayer[covertext][x=3cm,y=6cm]{bla bla bla}

\stopstandardmakeup

\input knuth

\stoptext

Wolfgang

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


      reply	other threads:[~2009-04-08  6:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-07 23:10 Jos van Gisbergen
2009-04-08  6:44 ` Wolfgang Schuster [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=A7C03CB8-63B6-4616-9AEA-CDF0F092FD48@gmail.com \
    --to=schuster.wolfgang@googlemail.com \
    --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).