[NTG-context] Re: Stumped on Field
[EMAIL PROTECTED] writes: In s-mag-01.tex, I am completely baffled by: \startusableMPgraphic{text} StartPage ; for i=Header,Text,Footer: for j=LeftEdge,LeftMargin,Text,RightMargin,RightEdge: draw Field[i][j] withpen pencircle scaled 0.5pt; endfor; endfor; StopPage; setbounds currentpicture to Field[Text][Text] ; \stopusableMPgraphic Besides the already mentioned metafun manual, there is (on this topic) a small illustration at http://levana.de/context/layout/page.pdf Patrick ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: \setuplayout parameters
Hello John, John Culleton [EMAIL PROTECTED] writes: I want to set up a book 5.5 x 8.5 with .5in margins left and right. During the development process I want to be able to print it on US standard 8.5 x 11 sheet of paper. Here is my current prologue (I have tried several): \setupoutput[pdftex] \definepapersize[bok][width=5.5in,height=8.5in] \setuppapersize[bok][letter] \setuplayout[marginwidth=.5in,location=middle] \showframe The problem here is that you need to play with backspace, leftmargin and leftmargindistance. To verify, use the layout[1] module and add \usemodule [layout] \ShowLayout[units=in] in your document. The default in ConTeXt is that leftmargin + leftmargindistance backspace, so the layout gets shifted a bit. It is not really a shift, because the backspace parameter sets the left edge of the text. [1] see http://levana.de/context/ Patrick ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context