From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/30369 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Presentation help Date: Thu, 17 Aug 2006 18:48:06 +0200 Message-ID: <44E49DC6.7090104@wxs.nl> References: <87d5az9yk9.fsf@oumu.localdomain> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1155833313 3622 80.91.229.2 (17 Aug 2006 16:48:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 17 Aug 2006 16:48:33 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Aug 17 18:48:29 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1GDl2a-0001KZ-IJ for gctc-ntg-context-518@m.gmane.org; Thu, 17 Aug 2006 18:48:20 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C17441FED6; Thu, 17 Aug 2006 18:48:19 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 20930-06; Thu, 17 Aug 2006 18:48:14 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 36A201FED3; Thu, 17 Aug 2006 18:48:14 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7E76A1FED3 for ; Thu, 17 Aug 2006 18:48:11 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 21009-05-2 for ; Thu, 17 Aug 2006 18:48:08 +0200 (CEST) Original-Received: from mail.pragma-ade.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by ronja.ntg.nl (Postfix) with SMTP id 3615A1FED2 for ; Thu, 17 Aug 2006 18:48:07 +0200 (CEST) Original-Received: from [10.100.1.104] (unverified [10.100.1.104]) by controller-1 (SurgeMail 3.7b8) with ESMTP id 1502 for ; Thu, 17 Aug 2006 18:48:07 +0200 User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) Original-To: mailing list for ConTeXt users In-Reply-To: <87d5az9yk9.fsf@oumu.localdomain> X-Server: High Performance Mail Server - http://surgemail.com r=-274017400 X-Authenticated-User: hagen@controller-1 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:30369 Archived-At: 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 -----------------------------------------------------------------