Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

How to remove the line below header on title page using this minimal example:

\setuppapersize[A4]

\setuplayout
    [width=fit, height=fit,
     topspace=2cm, header=\lineheight, headerdistance=\lineheight,
     footer=0cm]

\setupbackgrounds[header][text][bottomframe=on]  % line below header
\setupheadertexts[chapter][pagenumber]
\setuppagenumbering[location=]  % clear page number

\definemakeup[titlepage]

\starttext

\startfrontmatter
    \starttitlepagemakeup
        {\raggedcenter
            {\bfb XXXXXXX \\ XXXXXXXXXX XXXXXXXX\par}
            \blank[1cm]
            {\bfd XXXXXXXX XXXXXXXX\par}
            \blank[1cm]
            {\bfb XX XXXXX XXXX\par}
        }
        \blank[5cm]
        {\tfa
            \starttabulate[|l|p|]
            \NC XXXXXXXXX: \NC XXX XXXXXXXX XXXXXXXXX \NC\NR
            \NC XXXXX: \NC XXXX XXX XXXXXXXXXXXX XXXXX \NC\NR
            \stoptabulate
        }
    \stoptitlepagemakeup


    \completecontent
\stopfrontmatter

\startbodymatter
    \chapter{A Chapter}
    Some Text.
\stopbodymatter

\stoptext
share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

Replace

\definemakeup
  [titlepage]

with

\definemakeup
  [titlepage]
  [headerstate=none]

This removes the header and the line below. For more options see ConTeXt Wiki - setupmakeup

share|improve this answer
    
Is makeup deprecated in favor of overlays? –  Daniel Lyons Dec 4 '12 at 17:50
    
@DanielLyons No. It's two different mechanisms for two different things. –  Marco Dec 4 '12 at 18:20
    
@Marco Thanks! This works perfectly. –  hiddenbit Dec 4 '12 at 19:32
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.