ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Patrick Gundlach <pg@levana.de>
Subject: Re: Figures enlargement
Date: Wed, 01 Oct 2003 00:58:58 +0200	[thread overview]
Message-ID: <m2smmdj32l.fsf@levana.de> (raw)
In-Reply-To: <5.2.0.9.1.20030930223747.01cad008@localhost> (Hans Hagen's message of "Tue, 30 Sep 2003 22:39:50 +0200")

Hi,

> Patrick, can you translate/sort this out? (it's built in functionality -- 
> core-lst.tex)

that was my daily challenge:

\setupinteraction[state=start]
\definereferencelist
  [extfigure]
  [command=\bigfigure,
   before=\page,
   after=\page]

\definereferencelist
  [exttable]
  [commando=\bigtable,
   before=\page,
   after=\page]

\def\bigfigure#1%
  {\externalfigure[#1][frame=on,factor=max]}

\def\bigtable#1%
  {\switchtobodyfont[12pt]\getbuffer[#1]}

\startbuffer[dummy]
\starttable[|||]
\HL
\VL test \VL test \VL\SR
\HL
\VL test \VL test \VL\FR
\VL test \VL test \VL\MR
\VL test \VL test \VL\LR
\HL
\stoptable
\stopbuffer


\writetoreferencelist[extfigure]%
     {cow}{\externalfigure[cow][width=3cm,frame=on]}

\writetoreferencelist[extfigure]%
     {mill}{\externalfigure[mill][width=3cm,frame=on]}

\writetoreferencelist[exttable]%
        {dummy}{\switchtobodyfont[5pt]\getbuffer[dummy]}

\starttext


\placereferencelist
  [extfigure,exttable]

\stoptext


Patrick
-- 
Yes, I know my dutch is bad...

  reply	other threads:[~2003-09-30 22:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20030923191903.15069.24737.Mailman@ref.ntg.nl>
2003-09-30 19:47 ` free
2003-09-30 20:09   ` Patrick Gundlach
2003-09-30 20:39     ` Hans Hagen
2003-09-30 22:58       ` Patrick Gundlach [this message]
2003-10-01 11:28         ` Patrick Gundlach
2003-10-05 16:45         ` postscript math font ? Gary Pajer

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=m2smmdj32l.fsf@levana.de \
    --to=pg@levana.de \
    --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).