ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: \setupTABLE commands?
Date: Mon, 17 Feb 2003 00:35:52 +0100	[thread overview]
Message-ID: <5.1.0.14.1.20030217003407.02cc3ce8@remote-1> (raw)
In-Reply-To: <003101c2d4e7$ad7cdb10$0100a8c0@vademecum>

At 12:41 PM 2/15/2003 +0100, you wrote:
> > Ah, I wasn't being too clear.  i want to set up the table formatting in
> > the document header, not within the text.  Should I then be using the
> > \setuptables command instead?  I don't really understand the difference.
>
>The bTABLE-eTABLE environment is a complete other environment than the
>\startable-\stoptable environment.
>I do not know whether \startable cum suis work in a header. I developed a
>header with a table with the \bTABLE environment.
>
>\setupheadertexts[][%
>    {\hbox to \hsize
>       {\switchtobodyfont[small]%
>       %\setupframed
>       %   [align=right,top=\vfill,bottom=,width=\makeupwidth,frame=off]%
>       {\bTABLE
>          \setupTABLE[frame=on]
>          \setupTABLE[column][1][width=.65\textwidth]
>          \setupTABLE[column][2][width=.35\textwidth]
>          \bTR
>             \bTD Document:
>\bf\hfill\headnumber[part]~\getmarking[part][current] \eTD
>             \bTD Page: \hfill \pagenumber~ of \aantalsubpaginas \eTD\eTR
>        \eTABLE}}}]

better use something

\startbuffer[myheader]
....
\stopbuffer

with

\setupheadertexts[... \getbuffer ....]

or

\startsetups[myheader]
....
\stopsetups

\setupheadertexts[... {\setups[myheader]} ...]

Hans

-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

  reply	other threads:[~2003-02-16 23:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-14 22:39 Bruce D'Arcus
2003-02-14 23:31 ` Tomasz Kosinski
2003-02-14 23:41   ` Bruce D'Arcus
2003-02-15  0:56     ` Tomasz Kosinski
2003-02-15  2:00       ` Bruce D'Arcus
2003-02-16 23:12         ` Hans Hagen
2003-02-16 23:16       ` Hans Hagen
2003-02-15 11:41     ` Willi Egger
2003-02-16 23:35       ` Hans Hagen [this message]
2003-02-16 23:33 ` Hans Hagen

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=5.1.0.14.1.20030217003407.02cc3ce8@remote-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).