ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* how to make a coverpage?
@ 2009-04-07 23:10 Jos van Gisbergen
  2009-04-08  6:44 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Jos van Gisbergen @ 2009-04-07 23:10 UTC (permalink / raw)
  To: ntg-context


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

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?

Thanks in advance,

Trychius



      

[-- Attachment #1.2: Type: text/html, Size: 986 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: how to make a coverpage?
  2009-04-07 23:10 how to make a coverpage? Jos van Gisbergen
@ 2009-04-08  6:44 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2009-04-08  6:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-04-08  6:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-07 23:10 how to make a coverpage? Jos van Gisbergen
2009-04-08  6:44 ` Wolfgang Schuster

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).