ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \showlayout curiosity.
@ 2005-03-24 16:17 John R. Culleton
  2005-03-25 14:26 ` h h extern
  0 siblings, 1 reply; 2+ messages in thread
From: John R. Culleton @ 2005-03-24 16:17 UTC (permalink / raw)


The following code should, by my calculations, generate two
pages. However it generates five, one for \ShowLayout and four
for \showlayout.

Remove the t-layout module and the \ShowLayout statement and it
still generates four.

This is an inconvenience and not a deal breaker but I am curious
about why the extra pages are created.  

-------------------------------------------

\setupoutput[pdftex]
\definepapersize[bok][width=5.5in,height=8.5in]
\setuppapersize[bok][letter]
\setuplayout[width=middle,location=middle]
\usemodule[t-layout]
%
\starttext
\ShowLayout[units=in]
\showlayout
\stoptex
------------------------------------------

John Culleton
Able Indexers and Typesetters
http://wexfordpress.com

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

* Re: \showlayout curiosity.
  2005-03-24 16:17 \showlayout curiosity John R. Culleton
@ 2005-03-25 14:26 ` h h extern
  0 siblings, 0 replies; 2+ messages in thread
From: h h extern @ 2005-03-25 14:26 UTC (permalink / raw)


John R. Culleton wrote:
> The following code should, by my calculations, generate two
> pages. However it generates five, one for \ShowLayout and four
> for \showlayout.
> 
> Remove the t-layout module and the \ShowLayout statement and it
> still generates four.
> 
> This is an inconvenience and not a deal breaker but I am curious
> about why the extra pages are created.  

\showlayout goes to a new page, and generated 4 pages, so that one can see 
left/right doublesized behaviour

\showframe only gives you the frames

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------

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

end of thread, other threads:[~2005-03-25 14:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-24 16:17 \showlayout curiosity John R. Culleton
2005-03-25 14:26 ` h h extern

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