ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: Presentation help
Date: Thu, 17 Aug 2006 18:48:06 +0200	[thread overview]
Message-ID: <44E49DC6.7090104@wxs.nl> (raw)
In-Reply-To: <87d5az9yk9.fsf@oumu.localdomain>

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

  reply	other threads:[~2006-08-17 16:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-17 15:22 Adam Duck
2006-08-17 16:48 ` Hans Hagen [this message]
2006-08-18 10:36   ` Adam Duck
2006-08-18 18:06     ` Adam Duck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44E49DC6.7090104@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).