Hi,
fieldstack based animations result in a broken PDF document.
\setupinteraction[state=start]
\starttext
\definesymbol[one][\tt 1]
\definesymbol[two][\tt 2]
\definefieldstack[some][one,two]
\defineoverlay[some][\overlaybutton{Walk{some}}]
\framed[frame=off,background={foreground,some
On 25-6-2011 1:59, Wolfgang Schuster wrote:
\setupinteraction[state=start]
\starttext
\definesymbol[one][\tt 1]
\definesymbol[two][\tt 2]
\definefieldstack[some][one,two]
\defineoverlay[some][\overlaybutton{Walk{some}}]
\framed[frame=off,background={foreground,some}]{\fieldstack[some
On 13-2-2010 11:45, Peter Münster wrote:
\setupinteraction[state=start]
\definesymbol[step1][AAA]
\definesymbol[step2][BBB]
\definefieldstack[test][step1, step2]
\starttext
\fieldstack[test]
Just click \goto{here}[JS(Walk_Field{test})] to walk through the fieldstack!
\goto{(restart)}[JS
Am 14.02.10 14:32, schrieb Hans Hagen:
On 13-2-2010 11:45, Peter Münster wrote:
\setupinteraction[state=start]
\definesymbol[step1][AAA]
\definesymbol[step2][BBB]
\definefieldstack[test][step1, step2]
\starttext
\fieldstack[test]
Just click \goto{here}[JS(Walk_Field{test})] to walk through
On 14-2-2010 17:45, Wolfgang Schuster wrote:
Am 14.02.10 14:32, schrieb Hans Hagen:
On 13-2-2010 11:45, Peter Münster wrote:
\setupinteraction[state=start]
\definesymbol[step1][AAA]
\definesymbol[step2][BBB]
\definefieldstack[test][step1, step2]
\starttext
\fieldstack[test]
Just click \goto
Am 14.02.10 19:16, schrieb Hans Hagen:
new attempt
the stepper did now work but why are the symbol names shown on the terminal
here is a example from another file with more symbols (the symbols have
the names 'go!symbol!...')
fonts : using map file: lm-math
On 14-2-2010 20:12, Wolfgang Schuster wrote:
Am 14.02.10 19:16, schrieb Hans Hagen:
new attempt
the stepper did now work but why are the symbol names shown on the terminal
here is a example from another file with more symbols (the symbols have
the names 'go!symbol!...')
fonts : using map
Hello,
What is needed to get \fieldstack working in mkiv?
The following example works with mkii, but not with mkiv:
\setupinteraction[state=start]
\definesymbol[step1][AAA]
\definesymbol[step2][BBB]
\definefieldstack[test][step1, step2]
\starttext
\fieldstack[test]
Just click \goto{here}[JS
Hi Aditya,
In my situation, I can't use buffer conveniently. So is there an easy way to
\includeMPgraphic recurrently? I've tried
\newcount\steps
repeat the following block several times
\advance\steps\plusone
\startuseMPgraphics{step\the\steps}
. .
draw (2cm,2cm)--(2cm,0);
\stopMPdrawing
\definesymbol[bb][\getMPdrawing]
\startMPdrawing
draw (0,0)--(2cm,0);
\stopMPdrawing
\definesymbol[cc][\getMPdrawing]
\definefieldstack[somemap][aa,bb,cc][height=fit,width=fit,frame=on]
\fieldstack[somemap]
\goto{here} [JS(Walk_Field{somemap})]
\stoptext
=on]
\fieldstack[somemap]
\goto{here} [JS(Walk_Field{somemap})]
\stoptext
==
It seems that the fieldstack does not work. Is there anything wrong?
I haven't tested this, but I think that all elements in the fieldstack
should have the same bounding box. Look at the widget manual, where
]
\definefieldstack[somemap][aa,bb,cc][height=fit,width=fit,frame=on]
\fieldstack[somemap]
\goto{here} [JS(Walk_Field{somemap})]
\stoptext
==
It seems that the fieldstack does not work. Is there anything wrong?
I haven't tested this, but I think that all elements
Quoting Zhichu Chen [EMAIL PROTECTED]:
Hi Aditya,
Actually, they should have the same boundingbox, the first MPdrawing
environment draws a line from (0,0) to (2cm,2cm) and the sequence MPdrawing
environments just add two lines that are in the previous boundingbox.
I know what's happening
add
something like
\smashedhbox{\color[white]\YOURCLOCKFONT 0123456789:}
to your document.
This is all untested, so don't expect too much...
But let me know if it works ;)
Then I turned to use field stacks. I use MetaPost to draw some needles
and use JS to set_Field the fieldstack
Thank you very much Peter
On 10/19/06, Peter Rolf [EMAIL PROTECTED] wrote:
Hi Chen,Have you tried the method described on page 402-403 of the Acrobat_javascript_ Scripting Reference (
AcroJS.pdf, 27.06.2005)? Search forUse of arbitrary fonts.If I understand it right, all you need is the *right
don't know the font, and I don't know how to embed the font into pdf fileand make JS knows it.
Then I turned to use field stacks. I use MetaPost to draw some needles and use JS to set_Field the fieldstack to the correct frame. But when I want to display the second clock, it seems that I should write
,
framecolor=blue,
offset=none,% default offset causes different positioning of walk button and
fieldstack
clickin=JS(Walk_Field{sequence})]
\definefield[Walk][check][interaction][empty][empty]
\definefieldstack[sequence]
[one,two,three,four,five]
[frame=off,
offset=none,% default offset
Thanks Sanjoy for pointing this out. Both problems are still *unfixed*
(beta from 17.04). Unfortunately fixing them doesn't solve my problem.
I'll try it again later. Maybe I was to tired yesterday to solve this
and the error is on my side...
Greets, Peter
Sanjoy Mahajan wrote:
there are still
From:Peter Rolf [EMAIL PROTECTED]
Both problems are still *unfixed* (beta from 17.04).
The one I pointed out doesn't have an obvious solution since (I think)
the reserveobjnum spacing change breaks with pdftex 1.30 but is needed
with pdftex 1.21. I guess the magic line could be wrapped in a
Good morning.
I use a fieldstack in my presentation. I'd like to go to the next frame
when I click on the figure. I tried this:
\definefieldstack[fgolds3]
[sgolds1,sgolds3a,sgolds3b,sgolds3c,sgolds3]
[frame=off,clickin=JS(Walk_Field{fgolds3})]
\definesymbol[sgolds1][{\externalfigure[golds1
Michal Kvasnička wrote:
Good morning.
I use a fieldstack in my presentation. I'd like to go to the next frame
when I click on the figure. I tried this:
\definefieldstack[fgolds3]
[sgolds1,sgolds3a,sgolds3b,sgolds3c,sgolds3]
[frame=off,clickin=JS(Walk_Field{fgolds3})]
\definesymbol
Hi Michal,
Michal Kvasnička wrote:
Hi Peter,
thank for your answer, but it doesn't help. First, it seems the order is
not important in ConTeXt. Second, the fieldstack works well. I can even
make it walk with \goto{...}[JS(Walk_Field{fgolds3})]. The only thing
that doesn't work is that I
Good afternoon.
Many thanks, this solves the problem -- at least partially. The frames
are `walking' now, but new problems appeared. I found that when I set
`clickin=...', it is set it automatically to `clickout' as well, so one
mouse click runs the JavaScript code twice. So I've set it this
it is invoked by \goto{...}[JS(...)],
it works well. Moreover, it does different things at AdobeReader 7.x
under Linux, and Acrobat 4.x under Windoze.
Can you help me to solve it?
Mhh, looks like you are going new ways with making the fieldstack
interactive (maybe not intended?). Sorry, but I can't
, since when it is invoked by \goto{...}[JS(...)],
it works well. Moreover, it does different things at AdobeReader 7.x
under Linux, and Acrobat 4.x under Windoze.
Can you help me to solve it?
Mhh, looks like you are going new ways with making the fieldstack
interactive (maybe not intended
25 matches
Mail list logo