diff options
author | Hans Hagen <pragma@wxs.nl> | 2002-03-04 00:00:00 +0100 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2002-03-04 00:00:00 +0100 |
commit | 6a8becf936f346438dfcb463bbb195bf4dd45d7d (patch) | |
tree | c9409681dfad52e714480dcf041a144a861ef1dd /tex/context/base/core-fig.tex | |
parent | 492154026fb3d8fa46a58ed89edce6a596e341ad (diff) | |
download | context-6a8becf936f346438dfcb463bbb195bf4dd45d7d.tar.gz |
stable 2002.03.04
Diffstat (limited to 'tex/context/base/core-fig.tex')
-rw-r--r-- | tex/context/base/core-fig.tex | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/tex/context/base/core-fig.tex b/tex/context/base/core-fig.tex index fa6db84d8..2316691cd 100644 --- a/tex/context/base/core-fig.tex +++ b/tex/context/base/core-fig.tex @@ -1763,20 +1763,26 @@ %D Todo: like external figures, also search on path, %D although, they need to be present ar viewing time, so ... -\def\useexternalsoundtrack% +\def\useexternalsoundtrack {\dodoubleargument\douseexternalsoundtrack} \def\douseexternalsoundtrack[#1][#2]% - {\setgvalue{\??sd#1}{#2}} + {\setgvalue{\??sd:#1}{#2}} \def\checksoundtrack#1% {\iflocation - \doifdefined{\??sd#1}{\doifvaluesomething{\??sd#1} - {\doinsertsoundtrack{\getvalue{\??sd#1}}{#1}{}% - \setgvalue{\??sd#1}{}}}% + \doifdefined{\??sd:#1}{\doifvaluesomething{\??sd:#1} + {\doinsertsoundtrack{\getvalue{\??sd:#1}}{#1}\@@sdoptie + \setgvalue{\??sd:#1}{}}}% \fi} \setexecutecommandcheck {startsound} \checksoundtrack + +\def\setupexternalsoundtracks + {\dodoubleargument\getparameters[\??sd]} + +\setupexternalsoundtracks + [\c!optie=] \appendtoks \setupexternalfigures[\c!optie=\v!leeg] \to \everyfastmode \appendtoks \runMPgraphicsfalse \to \everyfastmode |