Changes

Jump to navigation Jump to search
901 bytes added ,  06:17, 22 September 2013
m
no edit summary
\definemakeup[titlepage][pagestate=start,doublesided=no]
\setuplayout[titlepage]
[backspace=2cm,width=108mm] % 148mm is the width, 20 mm of backspace,
\bfc This should be the long, long, very long title\par
\stoptitlepagemakeup
 
This is the colofon
 
\chapter{Start here on page 3}
\dorecurse{20}{\input tufte\par}
</texcode>
== Scaled Full Page Image 1 ==
 
An elegant option is to extend the makeup mechanism to accept the background key:
 
\unprotect
\appendtoks
\setupbackgrounds[\v!page][\c!background=\makeupparameter\c!background]
\to \t_page_makeup_every_setup
\protect
 
Then you can use
 
<pre>
\setupexternalfigures[location={local,default,global}]
 
\defineoverlay
[backgroundimage]
[{\externalfigure[cow.pdf][width=\overlaywidth, height=\overlayheight]}]
 
 
\starttext
 
\startstandardmakeup[background=backgroundimage]
Whatever
\stopstandardmakeup
 
Next
 
\stoptext
</pre>
 
 
== Scaled Full Page Image 2 ==
 
Another way to use a full-page image includes:
 
<pre>
\startTEXpage
\externalfigure[cow.pdf][width=\paperwidth, height=\paperheight]
\stopTEXpage
</pre>
419

edits

Navigation menu