From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/20434 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: presentations: "page number" and "next page" Date: Thu, 19 May 2005 16:28:42 +0200 Message-ID: <428CA29A.8060500@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1116512981 21649 80.91.229.2 (19 May 2005 14:29:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 19 May 2005 14:29:41 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu May 19 16:29:27 2005 Return-path: 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 1DYm0G-00044l-9r for gctc-ntg-context-518@m.gmane.org; Thu, 19 May 2005 16:28:00 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DF13B1283C; Thu, 19 May 2005 16:28:53 +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 16052-01-9; Thu, 19 May 2005 16:28:50 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 32B6E12838; Thu, 19 May 2005 16:28:50 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 81F1812838 for ; Thu, 19 May 2005 16:28:48 +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 16052-01-8 for ; Thu, 19 May 2005 16:28:47 +0200 (CEST) Original-Received: from avs2.arnes.si (avs2.arnes.si [193.2.1.75]) by ronja.ntg.nl (Postfix) with ESMTP id 2C37712836 for ; Thu, 19 May 2005 16:28:47 +0200 (CEST) Original-Received: from localhost (avs2.arnes.si [193.2.1.75]) by avs2.arnes.si (Postfix) with ESMTP id E2D2726E8A0 for ; Thu, 19 May 2005 16:28:46 +0200 (CEST) Original-Received: from avs2.arnes.si ([193.2.1.75]) by localhost (avs2.arnes.si [193.2.1.75]) (amavisd-new, port 10024) with ESMTP id 62027-03 for ; Thu, 19 May 2005 16:28:46 +0200 (CEST) Original-Received: from [194.249.10.193] (ar20-1i.dial-up.arnes.si [194.249.10.193]) by avs2.arnes.si (Postfix) with ESMTP id CE1C326E88E for ; Thu, 19 May 2005 16:28:45 +0200 (CEST) User-Agent: Mozilla/4.5-4.75 (Windows; U; Windows NT 5.1; sl-SI; rv:1.4) Gecko/20030624 Netscape/7.1 X-Accept-Language: sl, en, en-us, de Original-To: mailing list for ConTeXt users X-Virus-Scanned: by amavisd-new at arnes.si X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:20434 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:20434 Hello, Shortly: I would like modify the meaning of "previous/next page" buttons in interaction menu to point to the previous/next slide instead on the previous/next physical page. And I would like to number pages according to slides instead of considering physical pages. *********************************************************************** And here's a more detailed description: I use the "rsteps" module (by David Munger) for my presentation. I also use the interaction menu: \startinteractionmenu[bottom] ... \but [nextpage] \symbol[nextpage] \\ \but [lastpage] \symbol[lastpage] \\ ... \but [CloseDocument] \symbol[CloseDocument] \\ \stopinteractionmenu Instead of \but [previouspage] \symbol[previouspage] \\ \but [nextpage] \symbol[nextpage] \\ pointing on the previous and next slide, I would like these two buttons to have slightly different functionality: pointing to the LAST step of the previous/next slide. Apart from that, I would like to keep the page number on different steps of the same slide. I would use this number to print it in footer and to call it from Metafun (PageNumber, NOfPages or a similar name, as in meta-ini.tex). Here's the idea of how the presentation should look like. In the table below there's a: - real page number (in pdf document), - slide number (= same content gradually growing), - step on slide, - page number as it should be printed in footer and made accessible to metapost if needed, - real page number where the "Previous" button should point to, - real page number where the "Next" button should point to 1 - titlepage 2 - slide 1, step 1 - page 1 - < [titlepage] > 3 3 - slide 1, step 2 - page 1 - < [titlepage] > 6 4 - slide 2, step 1 - page 2 - < 3 > 6 5 - slide 2, step 2 - page 2 - < 3 > 6 6 - slide 2, step 3 - page 2 - < 3 > 7 7 - slide 3, step 1 - page 3 - < 6 > 10 8 - slide 4, step 1 - page 4 - < 7 > 10 9 - slide 4, step 2 - page 4 - < 7 > 10 0 - slide 4, step 3 - page 4 - < 7 > [none/self] I'm interested in the result on the first place, not so much on the mechanism that would "automatically recognize a new page and place everything as desired", so I don't mind if I have to (type)set anything manually. For example, it is no problem if I have to say \StartSteps[title] \thisIsANewSlideSoPlaceANewPageNumberInFooterAndLetMetafunKnowIfSheAsksForIt ... \OnlyStep[3]{\thePrevAndNextButtonsHaveToStopOnThisPage} ... \StopSteps Thank you very much for your help, Mojca Miklavec