Hello,

thanks Peter and Wolfgang for their answers.

Both following codes work:

---- P.
\setuplayout[page]

\define\bef{\page\vbox to\textheight\bgroup\vfill\vfill}
\define\aft{\vfill\vfill\vfill\egroup}

\setuphead[section]
  [before=\bef,after=\aft,
   %commandbefore=\cbef,commandafter=\caft,
   alternative=middle,
  ]

\starttext
  \section{AAA}
\stoptext
----

---- W.
\setuplayout[page]

\definemakeup[section]%[text]
\setupmakeup[section][top=\vfill\vfill,bottom=\vfill\vfill\vfill]

\setuphead[section]
 [before=\startsectionmakeup,
  after=\stopsectionmakeup,
  alternative=middle,
 ]

%\setuplabeltext[section=Section ]

\starttext
  \section{AAA}
\stoptext
----

@Peter: There were some typos, of course, due to testing; fixed here.

@Wolfgang: What does option "[text]" in your original 
"\definemakeup[section][text]" mean? Not much wiser from wiki.

To both:

How to make the label written into one line instead of its number be above the 
section name, i.e.

"
1 AAA
"

instead of

"
 1
AAA
"

Best regards,

Lukas


--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.      [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

Attachment: t2.mkiv
Description: Binary data

Attachment: t2.pdf
Description: Adobe PDF document

Attachment: t3.mkiv
Description: Binary data

Attachment: t3.pdf
Description: Adobe PDF document

___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to