On 3/24/2015 8:48 PM, Sam Ḥilluc wrote:
Hi list,
I'm trying to leverage the structuring facilities of context. In my previous setup I added a title page automatically by using: \appendtoks \placetitle \to \everystarttext
But now that I'm using environments and products, it doesn't seem to work.
Here is a minimal (not) working example: % env.tex \startenvironment env \setuppapersize[A5] \appendtoks Title page \to \everystarttext \stopenvironment
% prj.tex \startproject prj \environment env \stopproject
% prd.tex \startproduct prd \project prj
\starttext Bla bla \stoptext \stopproduct
Note that when using \everystoptext rather than \everystarttext, it does work (it adds the text to the last page)
So what am I doing wrong ?
\startsetups [document:titlepage] bla bla \documentvariable{title} bla bla \stopsetups \setupdocument [before=\directsetup{document:titlepage}] \startdocument[title=Some title] ... \stopdocument ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------