diff options
author | Marius <mariausol@gmail.com> | 2010-08-14 15:56:20 +0300 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2010-08-14 15:56:20 +0300 |
commit | b469b8ec1b494ab72cd462bfc539ce01440e6aaf (patch) | |
tree | 3a9c3fb8433c5f75020fef1d531bedb7c948f66c /tex/context/base/strc-lst.mkiv | |
parent | 39e30629c15ae4a899532d84c4abea127f2847a6 (diff) | |
download | context-b469b8ec1b494ab72cd462bfc539ce01440e6aaf.tar.gz |
beta 2010.08.10 17:14
Diffstat (limited to 'tex/context/base/strc-lst.mkiv')
-rw-r--r-- | tex/context/base/strc-lst.mkiv | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/tex/context/base/strc-lst.mkiv b/tex/context/base/strc-lst.mkiv index 83faf75a7..5db22d1d7 100644 --- a/tex/context/base/strc-lst.mkiv +++ b/tex/context/base/strc-lst.mkiv @@ -577,13 +577,18 @@ \def\domakelistelement#1#2#3#4% ref internal command data {\dontleavehmode - \iflocation % we cannot tewak \iflocation as we nest + \iflocation % we cannot tweak \iflocation as we nest \doifelse{\listparameter\c!interaction}{#1} - {\directgoto{\setlocationcolor\??ia#4}[internal(#2)]}% was \directgotobox - {#3{#4}}% - \else + {\begingroup + \doif{\namedstructureheadparameter\currentlist\c!interaction}\v!list + {\dosetsimplepagereference{bck:#2}% + \attribute\destinationattribute\currentdestinationattribute}% + \directgoto{\setlocationcolor\??ia#4}[internal(#2)]% we can get the attribute instead so then we don't need a goto + \endgroup}% was \directgotobox + {#3{#4}}% + \else #3{#4}% - \fi} + \fi} \def\dodofreelistelement#1#2#3#4#5#6#7#8% {\listparameter\c!before% can be \hskip |