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
Hello Olivier,
free
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!
At 22:09 30/09/2003 +0200, Patrick Gundlach wrote:
Hello Olivier,
free
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 -------------------------------------------------------------------------
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...
Hi,
Patrick Gundlach
\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!
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
participants (4)
-
free
-
Gary Pajer
-
Hans Hagen
-
Patrick Gundlach