On Thu, 30 Aug 2007, frantisek holop wrote: > hmm, on Thu, Aug 30, 2007 at 02:37:02PM +0200, Hans Hagen said that >> frantisek holop wrote: >>> hi there, >>> >>> is it possible to achieve this somehow?: >>> http://www.smashingmagazine.com/images/404-2/book.png > > i am sorry, i wasn't specific enough. > > what i meant was, to have a book in context, any book, > check if we are on page 404, output the joke, continue > normally.
Wolfgang's solution does exactly that. \startpostponing[404] will put the material on page 404. Aditya >> \starttext >> >> \dorecurse{100}{\input tufte \par} >> >> \startpostponing >> \vbox to \vsize \bgroup \vfill >> \definedfont[Serif at 40pt] \setupinterlinespace >> \raggedleft Who Took \endgraf This Page? \par >> \vfill \egroup >> \stoppostponing >> >> \dorecurse{100}{\input linden \par} >> >> \stoptext > > -- > never test for an error you don't know how to handle. > ___________________________________________________________________________________ > 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 > ___________________________________________________________________________________ > > > -- Aditya Mahajan | EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam | Ph: 734.262.4008 ___________________________________________________________________________________ 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 ___________________________________________________________________________________