summaryrefslogtreecommitdiff
path: root/tex/context/base/strc-ref.mkiv
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2010-09-08 15:27:58 +0300
committerMarius <mariausol@gmail.com>2010-09-08 15:27:58 +0300
commit821d6141a92d80d6195b87fe1c25fb2fd83042d5 (patch)
tree53f8c98927a0435184c3ae40324cfdc996e8bd4a /tex/context/base/strc-ref.mkiv
parent16895587e51f8243a7e4dc6185979894fb199d4f (diff)
downloadcontext-821d6141a92d80d6195b87fe1c25fb2fd83042d5.tar.gz
beta 2010.09.05 13:23
Diffstat (limited to 'tex/context/base/strc-ref.mkiv')
-rw-r--r--tex/context/base/strc-ref.mkiv19
1 files changed, 9 insertions, 10 deletions
diff --git a/tex/context/base/strc-ref.mkiv b/tex/context/base/strc-ref.mkiv
index 214303edf..dfa1704c5 100644
--- a/tex/context/base/strc-ref.mkiv
+++ b/tex/context/base/strc-ref.mkiv
@@ -649,7 +649,8 @@
%D document). By setting the \type{interaction} variable, one
%D can influences the way interactive references are set.
-\chardef\autocrossfilereferences=0
+\newconstant\autocrossfilereferences % not yet supported in mkiv
+\newconstant\referencefilecaseswap % not yet supported in mkiv
\unexpanded\def\setupreferencing
{\dosingleargument\dosetupreferencing}
@@ -668,16 +669,16 @@
\v!label=>\let\dowantedreference\dolabelonlyreference,
\v!text=>\let\dowantedreference\dotextonlyreference,
\v!symbol=>\let\dowantedreference\dosymbolreference]%
- \chardef\autocrossfilereferences\zerocount
+ \autocrossfilereferences\zerocount
\processaction
[\@@rfautofile]
- [ \v!yes=>\chardef\autocrossfilereferences\plusone,
- \v!page=>\chardef\autocrossfilereferences\plustwo]%
- \chardef\referencefilecase\zerocount
+ [ \v!yes=>\autocrossfilereferences\plusone,
+ \v!page=>\autocrossfilereferences\plustwo]%
+ \referencefilecaseswap\zerocount
\processaction[\@@rfconvertfile]
- [ \v!yes=>\chardef\referencefilecase\plusone,
- \v!big=>\chardef\referencefilecase\plusone,
- \v!small=>\chardef\referencefilecase\plustwo]%
+ [ \v!yes=>\referencefilecaseswap\plusone,
+ \v!big=>\referencefilecaseswap\plusone,
+ \v!small=>\referencefilecaseswap\plustwo]%
\setupreferenceprefix[\@@rfprefix]%
\doifelse\@@rfglobal\v!yes
{\settrue \autoglobalfilereferences}
@@ -1580,8 +1581,6 @@
%D key \type{file}, which is interpreted as the file to jump
%D to, that is, when one clicks on the title.
-\newif\ifautocrossdocument
-
\def\coupledocument
{\doquadrupleempty\docoupledocument}