]
\useexternalrendering
[mysound]
[audio/x-mp3] % audio/x-mp3
[sound.mp3]
%~ [embed]
\definereference [StartSoundTrack] [StartRendering{mysound}]
\definereference [StopSoundTrack] [StopRendering{mysound}]
\definelayer[resources][width=\paperwidth,height=\paperheight
]
%~ [embed]
\definereference [StartSoundTrack] [StartRendering{mysound}]
\definereference [StopSoundTrack] [StopRendering{mysound}]
\definelayer[resources][width=\paperwidth,height=\paperheight]
\setupbackgrounds[page][background=resources]
\setupbodyfont[100pt
-mp3
[akkerman.mp3]
[embed]
\definereference [StartSoundTrack] [StartRendering{mysound}]
\definereference [StopSoundTrack] [StopRendering{mysound}]
\definelayer[resources][width=\paperwidth,height=\paperheight]
\setupbackgrounds[page][background=resources
]
\definereference [StartSoundTrack] [StartRendering{mysound}]
\definereference [StopSoundTrack] [StopRendering{mysound}]
\definelayer[resources][width=\paperwidth,height=\paperheight]
\setupbackgrounds[page][background=resources]
\starttext
\setlayer[resources
]
\useexternalrendering
[mysound]
[audio/mpeg]
[50wordsforsnow.mp3]
[]
\definereference [StartSoundTrack] [StartRendering{mysound}]
\definereference [StopSoundTrack] [StopRendering{mysound}]
\definelayer[resources][width=\paperwidth,height=\paperheight]
\setupbackgrounds[page][background
\startitemize
\but [content] ...
\stopitemize
Did you try \definereference ? ;-)
Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer
vector and
that influences code handled in the output routine
there is no easy way around this (apart from not switching catcodes)
so, after figuring out that in this case the prooblem is in delayed
expansion of
\definereference [CheckStepper] [JS(CheckStepper{\StepCounter})]
i decided to add
Hi,
What's the scope of references and symbols defined through
\definereference[myRef][ThisRef]
\definesymbol[myRef][ThisSymbol]
and
\reference[ThisRef]{}
--
Best,
Alan
* using ConTeXt ver: 2008.08.18 14:00 MKIV fmt: 2008.8.22 int:
english/english (on Windows XP
Alan Stone wrote:
What's missing for this to work ?
\definereference[GoToToC][\goto{ToC}[myToC]]
\def\myButtons
{\interactionbuttons[width=1cm][
GoToToC,CloseDocument]}
see symb-nav.tex
What's missing for this to work ?
\definereference[GoToToC][\goto{ToC}[myToC]]
\def\myButtons
{\interactionbuttons[width=1cm][
GoToToC,CloseDocument]}
\setupinteraction[state=start]
\setupfooter[state=start]
\setupfootertexts
[\hfill \myButtons \hfill]
%[\hfill test \hfill
The correct question was what's too much to make it work...
\definereference[GoToToC][myToC]
The button contains the text GoToToC. How do you assign
a symbol to it instead ?
Thx,
Alan
___
If your question
\definerawfont[name][file][settings]
\definereference[name][references]
\definereferenceformat[name][options]
\definereferencelist[name][settings]
\defineregister[singular][plural]
\definerule[name][settings]
\definesection[name]
\definesectionblock[name][settings]
\definesorting[singular][plural
]}}%
\pagereference[note:\AnotherNote]\goto{#1}[JS(Show_Note{note:\AnotherNote})]}}
\setupinteraction
[state=start,
openpageaction=JS(Hide_Note),
closepageaction=JS(Hide_Note)]
\definereference[CloseNote][JS(Hide_Note)]
\setupfootertexts[{\goto{Close Note}[CloseNote]}][]
\setupcolors
[state=start
a little code snippet to exemplify?
(Or maybe send me a link to existing resources)
Thanks a lot as usual
\externalfigure[whatever.mov]
\externalfigure[whatever.wav]
or mp3's:
\useexternalrendering
[stepsound]
[audio/mpeg]
[stepsound.mp3]
[]
\definereference [StartSoundTrack
=\currentrealreference]{\fitfield[note:\AnotherNote]}}
{\setlayer[notes]{\fitfield[note:\AnotherNote]}}%
\pagereference[note:\AnotherNote]\goto{#1}[JS(Show_Note{note:\AnotherNote})]}}
\setupinteraction
[state=start,
openpageaction=JS(Hide_Note),
closepageaction=JS(Hide_Note)]
\definereference
15 matches
Mail list logo