ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: Slides and notes
Date: Mon, 03 Nov 2003 18:36:06 +0100	[thread overview]
Message-ID: <6.0.0.22.2.20031103183412.01dd6040@server-1> (raw)
In-Reply-To: <znfdd3ka.fsf@esemetz.metz.supelec.fr>

At 13:44 03/11/2003, you wrote:

> > I use the modes mechanism (\startmode, \stopmode and friends) and I am
> > lacking imagination as to want more.
>
>Something like :
>
>\startslide
>
>\stopslide
>
>\startnote
>
>\stopnote
>
>together with modes screen and handout that would either generate
>only slides or print them like this :
>
>------------------------
>| ----------           |
>| |        |   notes   |
>| |        |   notes   |
>| |        |           |
>| |        |           |
>| ----------           |
>|                      |
>| ----------           |
>| |        |   notes   |
>| |        |   notes   |
>| |        |           |
>| |        |           |
>| ----------           |
>------------------------

you can try the following:

%%%% annotate.tex

% output=pdftex interface=en

% beware, page comments are buffers !

\setupcolors[state=start]

\setupbackgrounds[page][background=color,backgroundcolor=gray]

\setuppapersize[S6][S6]

\starttext

\startbuffer

\input tufte

\startpagecomment
   \input knuth
\stoppagecomment

\page

\input knuth

\startpagecomment
   \input tufte
\stoppagecomment

\page

\input douglas

\startpagecomment
   \input douglas
\stoppagecomment

\page

\input ward

\startpagecomment
   \input ward
\stoppagecomment

\page

\stopbuffer

\setuppagecomment[state=start,location=right]   \getbuffer
\setuppagecomment[state=start,location=bottom]  \getbuffer
\setuppagecomment[state=start,location=left]    \getbuffer
\setuppagecomment[state=start,location=top]     \getbuffer

\stoptext

%%%%% present.tex

\setuppapersize
   [A4][A4] % [A4,landscape][A4,landscape]

\setuplayout
   [header=0pt, footer=1cm,
    backspace=1cm, topspace=1cm,
    width=middle, height=middle]

\setupfootertexts
   [presentation\space---\space
    \currentdate\space---\space
    \pagenumber]

\starttext

   \combinepages[annotate][nx=2,ny=3,frame=on]

\stoptext

      reply	other threads:[~2003-11-03 17:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-02 13:20 Fabrice Popineau
2003-11-03  5:10 ` Johannes Hüsing
2003-11-03 12:44   ` Fabrice Popineau
2003-11-03 17:36     ` Hans Hagen [this message]

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=6.0.0.22.2.20031103183412.01dd6040@server-1 \
    --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).