summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/core-ref.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/context/base/core-ref.tex')
-rw-r--r--Master/texmf-dist/tex/context/base/core-ref.tex21
1 files changed, 10 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/context/base/core-ref.tex b/Master/texmf-dist/tex/context/base/core-ref.tex
index 9c6ad0f9ca9..3b56cc86a0b 100644
--- a/Master/texmf-dist/tex/context/base/core-ref.tex
+++ b/Master/texmf-dist/tex/context/base/core-ref.tex
@@ -175,7 +175,7 @@
\def\dotextreference[#1]#2%
{\bgroup
\def\asciia{#1}%
- \convertexpanded\@@rfexpansion{#2}\asciib
+ \defconvertexpanded\asciib\@@rfexpansion{#2}%
\@EA\rawtextreference\@EA\s!txt\@EA\asciia\@EA{\asciib}%
\egroup}
@@ -185,7 +185,7 @@
\def\doreference[#1]#2%
{\bgroup
\def\asciia{#1}%
- \convertexpanded\@@rfexpansion{#2}\asciib
+ \defconvertexpanded\asciib\@@rfexpansion{#2}%
\@EA\rawreference\@EA\s!ref\@EA\asciia\@EA{\asciib}%
\egroup}
@@ -313,10 +313,6 @@
\doiffirstreferenceoccurance\lastreference
{\thisisdestination{\referenceprefix\lastreference}}%
\referenceinfo>\lastreference
-% \edef\dododowritereference
-% {\writeutilitycommand
-% {\mainreference{\referenceprefix}{\lastreference}{#4}{#5}{#6}}}%
-% \dododowritereference
\expanded{\writeutilitycommand{\noexpand\mainreference{\referenceprefix}{\lastreference}{#4}{#5}{#6}}}%
\fi
\egroup}
@@ -842,7 +838,7 @@
%D For debugging purposes we provide a showcase macro:
\long\def\dodoshowcurrentreference#1\from#2\with#3%
- {\convertcommand#2\to\ascii
+ {\defconvertedcommand\ascii{#2}%
\edef\currentreferenceshow{\currentreferenceshow/#1/\ascii/#3/}}
\long\def\doshowcurrentreference#1%
@@ -1604,11 +1600,11 @@
\def\gotodestination#1#2#3#4#5% url file destination page data
{\iflocation
\ifusepagedestinations
- \gotorealpage{#1}{#2}{#4}{#5}%
+ \gotorealpage{#1}{#2}{\number#4}{#5}%
\else
\dohandlegoto
{#5}%
- {\the\everyreference\dostartgotolocation\buttonwidth\buttonheight{#1}{#2}{#3}{#4}}%
+ {\the\everyreference\dostartgotolocation\buttonwidth\buttonheight{#1}{#2}{#3}{\number#4}}%
{\dostopgotolocation}%
\fi
\else
@@ -1619,7 +1615,7 @@
{\iflocation
\dohandlegoto
{#4}%
- {\dostartgotorealpage\buttonwidth\buttonheight{#1}{#2}{#3}}%
+ {\dostartgotorealpage\buttonwidth\buttonheight{#1}{#2}{\number#3}}%
{\dostopgotorealpage}%
\else
{#4}%
@@ -1935,6 +1931,9 @@
\setglobalsystemreference \rt!exec \v!FitWidth {fitwidth}
\setglobalsystemreference \rt!exec \v!FitHeight {fitheight}
+\setglobalsystemreference \rt!exec \v!ShowThumbs {thumbnails}
+\setglobalsystemreference \rt!exec \v!ShowBookmarks {bookmarks}
+
%D Executing the command looks alike the previous goto macros.
\def\executecommand#1#2#3%
@@ -2919,7 +2918,7 @@
\else
\let\@@programfile\currentreferenceoperation
\fi
- \convertcommand\@@programfile\to\ascii
+ \defconvertedcommand\ascii\@@programfile
\dohandlegoto
{#2}%
{\dostartrunprogram\buttonwidth\buttonheight{\@@prdirectory\ascii}\currentreferencearguments}%