Adam Duck wrote:
> So, I showed ConTeXt to a friend of mine.  He said he wanted to try it
> and now -- well, you don't want to know how he swears :).  We're
> trying to do a presentation...
>
> Anyways, I'm trying to help him...  But I (we) have some problems:
>
> I managed to write something like this (it's never been so hard to
> write a newline!):
>
> #v+
> \startsetups{myhead}
> \vbox{%
> \getmarking[sectionnumber]\crlf\getmarking[section]\par
> \hskip12pt\getmarking[subsectionnumber]\crlf\getmarking[subsection]}
> \stopsetups
>
> \setupheadertexts[]
> \setupheadertexts[\setups{myhead}][pagenumber]
> #v-
>
> That does, what it should: display section and subsection atop of each
> other.  So, but now, he wants to have an "Introduction", which should
> show up in the header but without a number.  I tried "\subject" but
> "\getmarking[section]" only returns the section, not the subject (I
> thought they were interlinked somehow, but...).  So, is there any way
> to do this apart from "\ifx\getmarking[sectionnumber]{-1}" or so?
>
>   
\startfrontmatter

\section{...}

\stopfrontmatter

will provide a mark but not number; so ... provide extra structure
> Next question: is it possbible to align the text of, well, "text",
> i.e. the body text, vertically centered on every page?
> "\setupbackgrounds" won't work here.  On a side note: why does it have
> an align-parameter, then?
>   
because it inherits from \framed

\setupmakeup[standard][headerstate=start,align=middle]

\startstandardmakeup
\input tufte
\stopstandardmakeup

>
> This one is "a bonus" for me: can someone point me in a direction
> where to start to build a "progress meter"?  beamerstyle has a nice
> template where it shows the section as text and the subsections as
> open dots (all of them) with the current subsection as a filled dot.
>
> Well, that would be all, thanks for listening,
>   
search for interactionbar 


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to