ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \definelayout
@ 2011-12-13 15:26 Andreas Harder
  2011-12-13 15:44 ` \definelayout Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas Harder @ 2011-12-13 15:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi all,

would someone please enlighten me. What is the correct usage of \definelayout?

\definelayout[default][width=middle,height=middle,header=0pt,footer=0pt]
% \setuplayout[default] % needed?
\definelayout[first]  [default][header=2cm]
\definelayout[unknown][default]%[reset]
% \definelayout[2]      [default]%[reset]
\definelayout[last]   [default][footer=2cm]

\starttext  \showframe % \checkcurrentlayout
  %% Variant A: fails with \default[unknown]
  first\page unknown=(2)\page \page unknown=(3)\page last
  
  %% Variant B: fails with \definelayout[2]
  % first\page unknown=(2)=last
\stoptext

By the way the output differs with the latest beta in comparison with the latest experimental.


Regards
	Andreas
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2011-12-28 18:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-13 15:26 \definelayout Andreas Harder
2011-12-13 15:44 ` \definelayout Wolfgang Schuster
2011-12-13 18:20   ` \definelayout Andreas Harder
2011-12-28  4:19     ` \definelayout Peter Park Nelson
2011-12-28 18:25       ` \definelayout Peter Park Nelson

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