ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Figures enlargement
       [not found] <20030923191903.15069.24737.Mailman@ref.ntg.nl>
@ 2003-09-30 19:47 ` free
  2003-09-30 20:09   ` Patrick Gundlach
  0 siblings, 1 reply; 6+ messages in thread
From: free @ 2003-09-30 19:47 UTC (permalink / raw)


Hi,

Now I'm trapped in ConTeXt, I wish to reproduce a nice feature : when we 
mouse clic on a small (ex: 0.25\textwidth) picture, this one gets bigger 
(ex : 1\textwidth).

It's for an A4 portrait double columns technical paper.

Thanks for the tip.

olivier Turlier

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Figures enlargement
  2003-09-30 19:47 ` Figures enlargement free
@ 2003-09-30 20:09   ` Patrick Gundlach
  2003-09-30 20:39     ` Hans Hagen
  0 siblings, 1 reply; 6+ messages in thread
From: Patrick Gundlach @ 2003-09-30 20:09 UTC (permalink / raw)


Hello Olivier,



free <o.turlier@free.fr> writes:

> Now I'm trapped in ConTeXt, I wish to reproduce a nice feature : when
> we mouse clic on a small (ex: 0.25\textwidth) picture, this one gets
> bigger (ex : 1\textwidth).
>
> It's for an A4 portrait double columns technical paper.

The trick is to put this large picture in either the same document or
in another document. And put an overlybutton over the small picture
that has its destination on the corresponding page. It really depends
on your needs: Do you need to print the document with the small
picture? Can it include also the large picture?

Patrick

-- 
You are your own rainbow!

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Re: Figures enlargement
  2003-09-30 20:09   ` Patrick Gundlach
@ 2003-09-30 20:39     ` Hans Hagen
  2003-09-30 22:58       ` Patrick Gundlach
  0 siblings, 1 reply; 6+ messages in thread
From: Hans Hagen @ 2003-09-30 20:39 UTC (permalink / raw)


At 22:09 30/09/2003 +0200, Patrick Gundlach wrote:
>Hello Olivier,
>
>
>
>free <o.turlier@free.fr> writes:
>
> > Now I'm trapped in ConTeXt, I wish to reproduce a nice feature : when
> > we mouse clic on a small (ex: 0.25\textwidth) picture, this one gets
> > bigger (ex : 1\textwidth).
> >
> > It's for an A4 portrait double columns technical paper.
>
>The trick is to put this large picture in either the same document or
>in another document. And put an overlybutton over the small picture
>that has its destination on the corresponding page. It really depends
>on your needs: Do you need to print the document with the small
>picture? Can it include also the large picture?

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

% \definieerreferentielijst
%   [externalfigure]
%   [commando=\toongrootfiguur,
%    voor=\pagina,
%    na=\pagina]
%
% \definieerreferentielijst
%   [externaltable]
%   [commando=\toongrotetabel,
%    voor=\pagina,
%    na=\pagina]
%
% \def\toongrootfiguur#1%
%   {\externfiguur[#1][kader=aan,factor=max]}
%
% \def\toongrotetabel#1%
%   {\switchtobodyfont[12pt]\haalbuffer[#1]}
%
% 
\schrijfnaarreferentielijst[externalfigure]{koe}{\externfiguur[koe][breedte=3cm,kader=aan]}
% 
\schrijfnaarreferentielijst[externalfigure]{paard}{\externfiguur[paard][breedte=3cm,kader=aan]}
%
% \startbuffer[kanweg]
% \starttabel[|||]
% \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
% \stoptabel
% \stopbuffer
%
% 
\schrijfnaarreferentielijst[externaltable]{kanweg}{\switchtbodyfont[5pt]\haalbuffer[kanweg]}
%
% \plaatsreferentielijst
%   [externalfigure,externaltable]

another option is to use the resource library logger but i have no time to 
explain that now

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
-------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Figures enlargement
  2003-09-30 20:39     ` Hans Hagen
@ 2003-09-30 22:58       ` Patrick Gundlach
  2003-10-01 11:28         ` Patrick Gundlach
  2003-10-05 16:45         ` postscript math font ? Gary Pajer
  0 siblings, 2 replies; 6+ messages in thread
From: Patrick Gundlach @ 2003-09-30 22:58 UTC (permalink / raw)


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...

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Figures enlargement
  2003-09-30 22:58       ` Patrick Gundlach
@ 2003-10-01 11:28         ` Patrick Gundlach
  2003-10-05 16:45         ` postscript math font ? Gary Pajer
  1 sibling, 0 replies; 6+ messages in thread
From: Patrick Gundlach @ 2003-10-01 11:28 UTC (permalink / raw)


Hi,

Patrick Gundlach <pg@levana.de> writes:

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

One additional comment:

As far as I can see:

the first arg is used without an internal prefix or so and gets
defined as 0. So using [externalfigure] (as in the original) is like
shooting yourself in the foot.

Patrick
-- 
You are your own rainbow!

^ permalink raw reply	[flat|nested] 6+ messages in thread

* postscript math font ?
  2003-09-30 22:58       ` Patrick Gundlach
  2003-10-01 11:28         ` Patrick Gundlach
@ 2003-10-05 16:45         ` Gary Pajer
  1 sibling, 0 replies; 6+ messages in thread
From: Gary Pajer @ 2003-10-05 16:45 UTC (permalink / raw)


I'm relatively new at ConTeXt, and have been avoiding all issues related to
fonts ... till now.  I've struggled with the manuals, some source code, the
list archives, and google, but I have to cry uncle.

I have a MikTeX installation.  (would I be better off with TeXLive?)

I can use postscipt fonts hence:

\setupbodyfont[pos,ber]

or

\usetypescipt[postscript]

The first I got from a suggestion on this list, the second is in "Fonts in
ConTeXt".  They both seem to work.  But they both set math in computer
modern.  The example in "Fonts in ConTeXt" has math set in something that is
*not* cm.  And when I use LaTeX, my math fonts are not cm.

So how can I get a better looking (IMHO) math font when using postscript?
What's the difference between the two ways of setting postscipt fonts?

tia,
Gary

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-10-05 16:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20030923191903.15069.24737.Mailman@ref.ntg.nl>
2003-09-30 19:47 ` Figures enlargement free
2003-09-30 20:09   ` Patrick Gundlach
2003-09-30 20:39     ` Hans Hagen
2003-09-30 22:58       ` Patrick Gundlach
2003-10-01 11:28         ` Patrick Gundlach
2003-10-05 16:45         ` postscript math font ? Gary Pajer

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).