ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Header design
@ 2005-10-05 23:58 Alexander Lazic
  2005-10-06  6:02 ` Mari Voipio
  2005-11-09 14:41 ` Hans Hagen
  0 siblings, 2 replies; 4+ messages in thread
From: Alexander Lazic @ 2005-10-05 23:58 UTC (permalink / raw)


Hi,

i have now try to setup the CD pagedesign.

Please can anyone help me to find a solution for this setup ;-)

What i need is:

Title_of_the_document | section

on the left hand side in the header. I have found a solution for the
headerrule but for the text ...

I have added my solution on the bottom of this mail what i have also
tryed:

\setupheadertexts[text][{Title | \getmarking[chapter]}]

from:

http://www.ntg.nl/pipermail/ntg-context/2003/003438.html

which don't work because i get the following error:

---
! Argument of \next has an extra }.
<inserted text> 
                \par 
<to be read again> 
                   }
\doattributes ...name #1#2\@EA \endcsname \fi {#4}
                                                  \dostopattributes 
\dosingletexts ...atetexts {#1#2#5}{#6{}{}{}}}}}}}
                                                  \egroup 
<argument> ...?tk \v!header \v!text \c!righttext }
                                                  \@@nmpos {\getvalue {\??tk...

\dododoplacelayouttextline ...#2 #3}\hbox to #1{#4
                                                  }\stoplayoutcomponent \get...
...
l.74 \section
             {sec2}
? 
---

Here know my texfile:
---
\setuppapersize [A4][A4]
\setupcolors[state=start]

\setuppagenumbering[location={footer,right}]
\setupheadertexts[][section]

% Solution from http://archive.contextgarden.net/message/20050515.201803.67299570.html
\setupthinrules[color=red,height=1mm]
\setupheader[text][after=\thinrule]
  
\starttext
\section{sec1}
\page
\section{sec2}
\stoptext
---

Thanks in advaned for our help ;-)

Greetings

al ;-)

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

end of thread, other threads:[~2005-11-09 14:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-05 23:58 Header design Alexander Lazic
2005-10-06  6:02 ` Mari Voipio
2005-10-06  7:29   ` Alexander Lazic
2005-11-09 14:41 ` Hans Hagen

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