diff options
Diffstat (limited to 'tex/context/base/s-faq-01.tex')
-rw-r--r-- | tex/context/base/s-faq-01.tex | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tex/context/base/s-faq-01.tex b/tex/context/base/s-faq-01.tex index 41618a375..f3197842d 100644 --- a/tex/context/base/s-faq-01.tex +++ b/tex/context/base/s-faq-01.tex @@ -75,6 +75,7 @@ \setupregister [index] [coupling=yes, + unknownreference=none, interaction=text] \coupleregister @@ -120,7 +121,8 @@ \def\CurrentIndexOfFAQ% {\bgroup \setupinteraction[color=]% - \menubox[bottom]{\let\index\coupledindex\IndexOfFAQ}% + \menubox[bottom]% + {\hskip-.5em\def\index{\hskip.5em\coupledindex}\IndexOfFAQ}% \egroup} \setupinteractionmenu @@ -192,15 +194,13 @@ \pagereference[faqs] \useblocks[question]} -\def\MyFrame% - {\startreusableMPgraphic{Frame:\overlaywidth:\overlayheight} - path p ; p := unitsquare xscaled \overlaywidth yscaled \overlayheight ; - pickup pencircle scaled 2pt ; - fill p withcolor \MPcolor{\overlaycolor} ; - draw p withcolor \MPcolor{\overlaylinecolor} ; - \stopreusableMPgraphic - \reuseMPgraphic{Frame:\overlaywidth:\overlayheight}} +\startuniqueMPgraphic{Frame} + path p ; p := unitsquare xscaled \overlaywidth yscaled \overlayheight ; + pickup pencircle scaled 2pt ; + fill p withcolor \MPcolor{\overlaycolor} ; + draw p withcolor \MPcolor{\overlaylinecolor} ; +\stopuniqueMPgraphic -\defineoverlay[MyFrame][\MyFrame] +\defineoverlay[MyFrame][\uniqueMPgraphic{Frame}] \endinput |