* definelayout and setuplayout not possible in current beta? @ 2009-11-11 16:29 Andreas Schneider 2009-11-11 16:36 ` Wolfgang Schuster 0 siblings, 1 reply; 3+ messages in thread From: Andreas Schneider @ 2009-11-11 16:29 UTC (permalink / raw) To: ntg-context [-- Attachment #1: Type: text/plain, Size: 1323 bytes --] Hi, as it seems, setuplayout fails with a predefined layout in both MkIV and MkII. The attached example produces the following error: ! Missing number, treated as zero. <to be read again> f \@@lyindexheight ->f it <argument> ...upheight \layoutparameter \c!height \relax \ifdim \bottomspace... \secondoftwoarguments #1#2->#2 \dorecalculatelayout ...pspace \relax \else \fi }} \else \global \makeupheigh... \dosetuplayout ...#1}}}\fi \fi \recalculatelayout \checkcurrentlayout \prese... ... l.9 \completecontent Best regards, Andreas. [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: layout.tex --] [-- Type: text/x-tex; name="layout.tex", Size: 140 bytes --] \definelayout[index][ header=0cm, footer=0cm, height=fit ] \starttext \setuplayout[index] \completecontent \stoptext [-- Attachment #3: Type: text/plain, Size: 486 bytes --] ___________________________________________________________________________________ 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] 3+ messages in thread
* Re: definelayout and setuplayout not possible in current beta? 2009-11-11 16:29 definelayout and setuplayout not possible in current beta? Andreas Schneider @ 2009-11-11 16:36 ` Wolfgang Schuster 2009-11-11 16:56 ` Andreas Schneider 0 siblings, 1 reply; 3+ messages in thread From: Wolfgang Schuster @ 2009-11-11 16:36 UTC (permalink / raw) To: mailing list for ConTeXt users Am 11.11.2009 um 17:29 schrieb Andreas Schneider: > Hi, > > as it seems, setuplayout fails with a predefined layout in both MkIV and > MkII. The attached example produces the following error: \definelayout[index][ header=0cm, footer=0cm, height=fit, ] Wolfgang ___________________________________________________________________________________ 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] 3+ messages in thread
* Re: definelayout and setuplayout not possible in current beta? 2009-11-11 16:36 ` Wolfgang Schuster @ 2009-11-11 16:56 ` Andreas Schneider 0 siblings, 0 replies; 3+ messages in thread From: Andreas Schneider @ 2009-11-11 16:56 UTC (permalink / raw) To: ntg-context Wolfgang Schuster wrote: > > Am 11.11.2009 um 17:29 schrieb Andreas Schneider: > >> Hi, >> >> as it seems, setuplayout fails with a predefined layout in both MkIV and >> MkII. The attached example produces the following error: > > \definelayout[index][ > header=0cm, > footer=0cm, > height=fit, > ] > > Wolfgang Awesome, works like I hoped it would :) Thank you! Best 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] 3+ messages in thread
end of thread, other threads:[~2009-11-11 16:56 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2009-11-11 16:29 definelayout and setuplayout not possible in current beta? Andreas Schneider 2009-11-11 16:36 ` Wolfgang Schuster 2009-11-11 16:56 ` Andreas Schneider
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).