>
> On 1/10/2016 5:01 PM, Wolfgang Schuster wrote:
>> Hi Hans,
>>
>> the fieldstack mechanism doesn’t work anymore.
>>
>> \setupinteraction[state=start]
>>
>> \starttext \showframe
>>
>> \definesymbol[frame-1][\tt 1]
>
On 1/10/2016 5:01 PM, Wolfgang Schuster wrote:
Hi Hans,
the fieldstack mechanism doesn’t work anymore.
\setupinteraction[state=start]
\starttext \showframe
\definesymbol[frame-1][\tt 1]
\definesymbol[frame-2][\tt 2]
\definesymbol[frame-3][\tt 3]
\definefieldstack[frame][frame-1,frame-2
Hi Hans,
the fieldstack mechanism doesn’t work anymore.
\setupinteraction[state=start]
\starttext \showframe
\definesymbol[frame-1][\tt 1]
\definesymbol[frame-2][\tt 2]
\definesymbol[frame-3][\tt 3]
\definefieldstack[frame][frame-1,frame-2,frame-3]
\placeontopofeachother
{\framed[strut=no
On Wed, Feb 20, 2013 at 11:58:24AM +0100, Jaroslav Hajtmar wrote:
> Hello Kumar.
> I make my PDF animations so that I first create a single multi-page
> PDF file whose separate pages are separate animation frames.
> Then this auxiliary PDF file I put into another PDF file using
Hello Kumar.
I make my PDF animations so that I first create a single multi-page PDF
file whose separate pages are separate animation frames.
Then this auxiliary PDF file I put into another PDF file using \ fieldstack.
Here's how I prepare a separate animation file.
\def\setmyparamete
ule, would you please concern the location
> of the menu?
> I think that it is better to put it at the bottom center of the animation
> frame in default?
> Currently, it is located slightly left from the center.
This is a bug in context which adds a space for each symbol in a fi
ldstack_box\hbox{\symbol[#symbol]}%
\setcollector
[fieldstack]
{\fieldbody
[\currentfieldstackname]
[\c!option=\v!readonly,
\c!width=\wd\scrn_fieldstack_box,
\c!height=\ht\scrn_fieldstack_box,
\c!depth=\dp\scrn_fieldstack_box,
Am 25.06.2011 um 14:55 schrieb Hans Hagen:
> On 25-6-2011 2:46, dalyoung wrote:
>
>> I just see your mail on fieldstack.
>> Thank you for checking.
>
> I'll upload a new beta that you can check (some to be tested code was
> interfering)
On 25-6-2011 2:46, dalyoung wrote:
I just see your mail on fieldstack.
Thank you for checking.
I'll upload a new beta that you can check (some to be tested code was
interfering).
Dear Wolfgang,
Thank you for the reply.
>
> Do you use the Adobe Reader?
Reader can not open it. It says that the file is damaged.
>
> It doesn?t work for me either but i can reproduce it also without the
> animation module.
>
I just see your mail on fieldstack.
Than
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
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
Am 17.05.2011 um 13:16 schrieb Jeong Dalyoung:
> Dear Wolfgang,
>
> Your animation module works really fine.
> It reduces a lot of work to set the fieldstack.
It’s now also part of the minimals.
> I'd like to ask you a few more small things.
>
> 1) Is it possible t
Dear Wolfgang,
Your animation module works really fine.
It reduces a lot of work to set the fieldstack.
I'd like to ask you a few more small things.
1) Is it possible to set the duration time in the case of autoplay?
2) The location of buttons is leftaligned when [menu=yes]. Is it what you
Dear Hans,
>
>> There is something wrong with the fieldstack mechanism.
>
> fixed in next beta (mismatch between field.value in javascript and
> rendering key)
>
I updated to the latest beta(5/15) and tested both the Wolfgang's sample and
mine.
They are working
On 14-5-2011 2:55, Wolfgang Schuster wrote:
There is something wrong with the fieldstack mechanism.
fixed in next beta (mismatch between field.value in javascript and
rendering key
lick
> "here"
There is something wrong with the fieldstack mechanism.
\setupinteraction[state=start]
\starttext
\definesymbol[one][1]
\definesymbol[two][2]
\definefieldstack[some][one,two]
\defineoverlay[some][\overlaybutton{Walk{some}}]
\framed[background={foreground,some}]{\fi
l[step2][{\processMPbuffer[a,b]}]
\definesymbol[step3][{\processMPbuffer[a,b,c]}]
\definefieldstack
[circles]
[step1, step2, step3]
[frame= on, offset= 3pt,framecolor=darkyellow,rulethickness=1pt]
\starttext
\placefigure[here][]
{To see the animation, please click \goto{here}[JS(Walk_Field{circles})]}
{\
On 2-11-2010 9:39, Wolfgang Schuster wrote:
Hi Hans,
this is a feature request regarding fieldstack based animations.
I'll send you something to test.
-
Hans Hagen | PRAGM
Hi Hans,
this is a feature request regarding fieldstack based animations.
Since i want to use fieldstacks in one of my modules i’m looking for
a simple to use interface to produce animations, for the moment i create
a symbol for each frame and put them together with a fieldstack.
For latex
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 file
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
{/Users/wolf/context/tex
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 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 the
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
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
ame=off]
>>
>> \definesymbol[symbol1][1]
>> \definesymbol[symbol2][2]
>>
>> \starttext
>>
>> \fieldstack[symbollist]
>>
>> \stoptext
>>
>>
>> PS: Is it possible to change \ctxlatetua to \ctxlatelua in the MkIV
>>
Wolfgang Schuster wrote:
Hi,
the latest beta has a problem with fieldstacks.
\setupinteraction[state=start]
\definefieldstack[symbollist][symbol1,symbol1][frame=off]
\definesymbol[symbol1][1]
\definesymbol[symbol2][2]
\starttext
\fieldstack[symbollist]
\stoptext
PS: Is it possible to
Hi,
the latest beta has a problem with fieldstacks.
\setupinteraction[state=start]
\definefieldstack[symbollist][symbol1,symbol1][frame=off]
\definesymbol[symbol1][1]
\definesymbol[symbol2][2]
\starttext
\fieldstack[symbollist]
\stoptext
PS: Is it possible to change \ctxlatetua to
oks
# \enablemode
# \endstrut
\enumeration
# \environment
# \EQ
# \eTABLE
# \eTABLEbody
# \eTABLEfoot
# \eTABLEhead
# \eTABLEnext
# \eTD
# \eTH
# \eTR
# \exitloop
# \expanded
\externalfigure[file][settings]
\field[name]
\fieldstack[name][names][settings]
\fillinfield[text]{text}
\fillinline[settin
...
>>>> \dofield ...abel ,\v!frame ,\v!horizontal ][][][]}
>>>> \iftrialtypesetting
>>>> \else ...
>>>>
>>>>\egroup
>>>> \globalcommacommand ...tack
\iftrialtypesetting
>>> \else ...
>>>
>>>\egroup
>>> \globalcommacommand ...tackedfieldnumber ]\egroup
>>>
ialtypesetting
>> \else ...
>>
>>\egroup
>> \globalcommacommand ...tackedfieldnumber ]\egroup
>> \bgroup
>> \globalprocesscommaitem ...globalcommacommand {#1}
>> \expandafter
>> \globalp
\bgroup
> \globalprocesscommaitem ...globalcommacommand {#1}
> \expandafter
> \globalproces...
>
> l.43 \smashedvbox{\fieldstack[sequence]}
> %
> ?
>
>
{#1}
\expandafter
\globalproces...
...
l.43 \smashedvbox{\fieldstack[sequence]}
%
?
every interactive element should produce this error, but i can also send
a test file.
best, pe
professional :)
All I'm thinking now is how to make each step a single symbol so that I
could use \fieldstack to demonstrate the game.
By the way, I modified my module to do some fieldstack thing, but it gets
a weird error. I have no idea what's the error about, it's fine when I'm
u
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}
. .
so that I
could use \fieldstack to demonstrate the game.
By the way, I modified my module to do some fieldstack thing, but it gets a
weird error. I have no idea what's the error about, it's fine when I'm using
MPdrawing environment but it can't output anything when I switch to b
s no module available to draw chess in ConTeXt now. I wanna do
this by using MetaPost and fieldstack. But I don't know how to tell metapost
the details of the sgf file. Can anyone give me a suggestion?
BTW, I don't like the name. It's invented by acient Chinese and it's call
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 hap
efinesymbol[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})]
>
t;
> \definesymbol[cc][\getMPdrawing]
>
> \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
awing
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})]
\sto
d lines should be
used.
> For some instance, there is no need to draw the full 19x19 board, like
> conversion steps demostration---best choices around the corner of the
board.
>
> Second, I'd like to take advantage of PDF Javascript to show every step
by
> clicking on some area.
Int
ntage of PDF Javascript to show every step by
clicking on some area. \fieldstack seems to be a good choice. But if I use
some script like sgf2mpost, I don't know how to if there is an easy way to
determine how many steps does the sgf include.
If I solved the sgf problem, I think I can in
ls in one game:
> > > http://www.red-bean.com/sgf/
> > >
> > > AFAIK, there is no module available to draw chess in ConTeXt now. I
> wanna do
> > > this by using MetaPost and fieldstack. But I don't know how to tell
> metapost
> > > the det
hich is generally
called
> Go.
>
> I know there is some file can store each details in one game:
> http://www.red-bean.com/sgf/
>
> AFAIK, there is no module available to draw chess in ConTeXt now. I
wanna do
> this by using MetaPost and fieldstack. But I don't know how to t
able to draw chess in ConTeXt now. I wanna do
> this by using MetaPost and fieldstack. But I don't know how to tell metapost
> the details of the sgf file. Can anyone give me a suggestion?
>
> BTW, I don't like the name. It's invented by acient Chinese and it
Hi
I love chess games, especially one kind of them which is generally called
Go.
I know there is some file can store each details in one game:
http://www.red-bean.com/sgf/
AFAIK, there is no module available to draw chess in ConTeXt now. I wanna do
this by using MetaPost and fieldstack. But I
Hi Hans,
I succeed to do what I want thanks to you (once more ;) ) !
I'll put the resulting presentation online at least at the end of the
next week (u3d + layer + custom pre-original + animation with JS and
fieldstack + program runs including mplayer runs with linux + ...
rob
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 for"Use of arbitrary fonts".If I understand it right, all you need is the *righ
clean installation of a ps font under
XP. ]
To make sure that all clock relevant types are embeded, you can add
something like
\smashedhbox{\color[white]\ 0123456789:}
to your document.
This is all untested, so don't expect too much...
But let me know if it works ;)
> Then I turned t
don't know the font, and I don't know how to embed the font into pdf file and 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 tha
gt; \definefieldstack
>[stack]
>[step 1,step 2,step 3]
>[frame=off]
>
> \defineoverlay[cowbg][{\externalfigure[cow][width=10cm]}]
>
> \framed[background=cowbg,frame=off,offset=none,backgroundoffset=0pt]{{\fieldstack[stack]}}
>
> \goto{next}[JS(Walk_Field{stack})]
>
> \s
two][{\framed[width=\textwidth,height=.3\textheight,background=overlay2,
> align=right,frame=off]{}}]
> \definesymbol[three][{\framed[width=\textwidth,height=.3\textheight,background=overlay3,
> align=right,frame=off]{}}]
>
> \definefieldstack[sequence][one,two,three][
verlay3,
align=right,frame=off]{}}]
\definefieldstack[sequence][one,two,three][height=fit,width=fit,frame=off,offset=overlay,clickin=JS(Walk_Field{sequence})]
{{\fieldstack[sequence]}}
\goto{next}[JS(Walk_Field{sequence})]
\stoptext
___
ntg-context ma
Hi Renaud,
Renaud AUBIN wrote:
> Hi all,
>
> I would use fieldstack with \getbuffer and overlays... Why the following
> code doesn't work ? Is there another way to do that ?
>
\setlayer is breaking the fields here, so that they become normal,
inactive content (dunno why). I
Hi all,
I would use fieldstack with \getbuffer and overlays... Why the
following code doesn't work ? Is there another way to do that ?
TIA
Renaud
%%% stack.tex
\setupcolors[state=start]
\usemodule[pre-original]
\defineoverlay[FunnyFrame][\useMPgraphic{FunnyFrame}]
\defineframe
gt; \switchtobodyfont[96pt]
>
> \def\FS#1{\framed[width=4cm,height=4cm,strut=no]{\red\bf#1}}%
>
> \definesymbol [empty] []
>
> \definesymbol [one] [\FS{1}]
> \definesymbol [two] [\FS{2}]
> \definesymbol [three] [\FS{3}]
> \definesymbol [four][\FS{4}]
> \d
\FS{5}]
\setupfield[interaction]
[width=4cm,height=4cm,
% frame=off,
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[sequenc
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
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
> there are still some problems with spurious spaces.
Just on the off chance that it's the same problem I had with some section
numbers getting an extra space before them (in pdf mode):
If you are running pdf(e)tex 1.21, you might need the patch below;
then remake the formats. I think (but haven
kin=]
>>
>> It's better, but I found that now frames are walking in a strange order.
>> It is rather puzzling, 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 un
re walking in a strange order.
> It is rather puzzling, 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 a
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 w
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
&g
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,
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[g
st to open the 'Layers' tab in acrobat).
The first layer with tooltip is not active, the second one is active,
but has no tooltip.
Just move the mouse over the text and you can see the tooltip from the
deactivated layer one. I have also tried it with a fieldstack, but
'annotations
rs' tab in acrobat).
The first layer with tooltip ist not active, the second one is active,
but has no tooltip.
Just move the mouse over the text and you can see the tooltip from the
deactivated layer one. I have also tried it with a fieldstack, but
'annotations cannot be inside an XF
Hi Jessica,
If you have to superimpose text over the picture(s) then layers are the
way to go.
For what you want may be you could use the fieldstack-mechanism (see
metafun manual). - I do not know however how this will work with layers.
To include interactive links in the text there is a
laced some lines below with:
\starttext
\placefigure [here] [fig:animation]
{A simple \MetaFun\ animation,
click \goto {here} [JS(Rotate_Star)] to start (or stop) or
% this line was added as described in MetaFun manual
click \goto {here} [JS(Walk_Field{vortex})] for next step}
{\fieldsta
below with:
\starttext
\placefigure [here] [fig:animation]
{A simple \MetaFun\ animation,
click \goto {here} [JS(Rotate_Star)] to start (or stop) or
% this line was added as described in MetaFun manual
click \goto {here} [JS(Walk_Field{vortex})] for next step}
{\fieldstack [vortex]}
\stoptex
this line was added as described in MetaFun manual
click \goto {here} [JS(Walk_Field{vortex})] for next step}
{\fieldstack [vortex]}
\stoptext
which results in the PDF file attached.
Stepping in JS(Walk_Field{vortex}) works OK, while continuous
animation in JS(Rotate_Star) doesn't. Is
lacefigure [here] [fig:animation]
{A simple \MetaFun\ animation,
click \goto {here} [JS(Rotate_Star)] to start (or stop) or
% this line was added as described in MetaFun manual
click \goto {here} [JS(Walk_Field{vortex})] for next step}
{\fieldstack [vortex]}
\stoptext
which results in th
On 5/22/05, Richard Hirsch <[EMAIL PROTECTED]> wrote:
>
> Of course you would want to put the symbol definitions and the
> definition of the fieldstack into a loop. I tried
> %% \newcount\angle
> %% \angle=0%\zerocount
> %% \dorecurse{12} {%
> %%\number\angle:\qqua
frames are put into a fieldstack
\definefieldstack [vortex]
[star 0, star 6, star 12, star 18, star 24, star 30,
star 36, star 42, star 48, star 54, star 60, star 66]
%% and this is the JavaScrip code that displays the frames one by one
\startJSpreamble MyField used later
var current = 1
bol{12}
\definestarsymbol{18}
\definestarsymbol{24}
\definestarsymbol{30}
\definestarsymbol{36}
\definestarsymbol{42}
\definestarsymbol{48}
\definestarsymbol{54}
\definestarsymbol{60}
\definestarsymbol{66}
%% the frames are put into a fieldstack
\definefieldstack [vortex]
[star 0, star 6, star 12, s
Hans Hagen wrote:
Michal Kvasnicka wrote:
Hm. Do you quote the Metafun manual, section 13.6? I know this
technique. But my question was different: Is it possible to `animate'
the fieldstack? In other words, to make it change one figure to
another automatically, without clicking any
Dear ConTeXt users (and developers),
I am very fond of the presentation capabilites of ConTeXt, especially in
connection with the Metafun macros. A big hand for the ConTeXt team!
Now I want to link some checkboxes to a MPgraphic (a fieldstack
actually) and I thought, that the best approach would
Hi Hans, hi all,
in an former mail you had answered to the question of Michal Kvasnicka:
"Is it possible to `animate'
> the fieldstack? In other words, to make it change one figure to
> another automatically, without clicking anywhere, changing one frame
> to another each 1/n
Michal Kvasnicka wrote:
Hm. Do you quote the Metafun manual, section 13.6? I know this
technique. But my question was different: Is it possible to `animate'
the fieldstack? In other words, to make it change one figure to
another automatically, without clicking anywhere, changing one fram
m. Do you quote the Metafun manual, section 13.6? I know this
technique. But my question was different: Is it possible to `animate'
the fieldstack? In other words, to make it change one figure to another
automatically, without clicking anywhere, changing one frame to another
each 1/n second
84 matches
Mail list logo