* how to implement buttons, navigator in context's presentation
@ 2013-01-07 17:33 土卜皿
2013-01-07 18:12 ` Wolfgang Schuster
0 siblings, 1 reply; 2+ messages in thread
From: 土卜皿 @ 2013-01-07 17:33 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 500 bytes --]
hi, all
in Hans Hagen's "Metafun context
mkiv<http://www.pragma-ade.com/general/manuals/metafun-s.pdf>"
page 208, there is some buttons example, I want to know how to implement a
complete buttons in context, Thanks in advance!
another, in Presentations (screen documents) <http://Presentations
(screen documents)>, there is three examples, but they are not able to be
compiled by the latest context version 2012.12.28 20:30, I hope to get some
advanced examples
Thanks!
BEST REGARDS
PengCZ
[-- Attachment #1.2: Type: text/html, Size: 1063 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: how to implement buttons, navigator in context's presentation
2013-01-07 17:33 how to implement buttons, navigator in context's presentation 土卜皿
@ 2013-01-07 18:12 ` Wolfgang Schuster
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2013-01-07 18:12 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1163 bytes --]
Am 07.01.2013 um 18:33 schrieb 土卜皿 <pengcz.nwpu@gmail.com>:
> hi, all
> in Hans Hagen's "Metafun context mkiv" page 208, there is some buttons example, I want to know how to implement a complete buttons in context, Thanks in advance!
>
> another, in Presentations (screen documents), there is three examples, but they are not able to be compiled by the latest context version 2012.12.28 20:30, I hope to get some advanced examples
Can be a problem with uniqueMPgraphic because useMPgraphic works.
\startuseMPgraphic{wrong or right}
pickup pencircle scaled 3pt ;
path p ; p := unitsquare
xscaled OverlayWidth yscaled OverlayHeight ;
fill p withcolor .8white ;
draw p withcolor .625red ;
\stopuseMPgraphic
\defineoverlay[button][\useMPgraphic{wrong or right}]
\setupbuttons[background=button,frame=off]
\setupinteraction[state=start]
\starttext
\completecontent
\page
\hbox
{\button {previous} [previouspage]\quad
\button {next} [nextpage]\quad
\button {index} [index]\quad
\button {table of contents} [content]}
\completeindex
\stoptext
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 2825 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-01-07 18:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-07 17:33 how to implement buttons, navigator in context's presentation 土卜皿
2013-01-07 18:12 ` Wolfgang Schuster
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).