Am 25.11.2011 um 20:26 schrieb Meer, H. van der:
On 25 nov. 2011, at 18:10, Wolfgang Schuster wrote:
Reference is here <\reference[label:1]{Some text}>\blank and is: \getreference[tekst][label:1]
tekst ≠ text
Wolfgang,
Thanks for that one. I completely misunderstood, thinking that for text one could substitute something to typeset (like in \in{}[]) instead of regarding it as a keyword hole.
For the interaction problem I have made a very tiny project. At the start of the contents is an "outer reference" inside the project files an "inner reference". The outer one can be reached both from the outside as well as from the inside of the project files. The colouring of the links show it too. Yhe inner reference does not show up, instead the log shows:
references > start problematic references unknown > 2: [part2][label:1] references > stop problematic references
But I do not know enough of the referencing mechanism to interprete it. Hope you can nail the problem, either with my doing or something within ConTeXt.
It’s a bug (maybe wrong default settings) which was introduced with Idris request to have lists which are local to a component, when you refer to the label with the name of the component as prefix (\getreference[text][part1:label:1]) the text is shown. Wolfgang
On 25-11-2011 21:15, Wolfgang Schuster wrote:
It’s a bug (maybe wrong default settings) which was introduced with Idris request to have lists which are local to a component, when you refer to the label with the name of the component as prefix (\getreference[text][part1:label:1]) the text is shown.
Do you have a clue where? ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Am 25.11.2011 um 21:40 schrieb Hans Hagen:
On 25-11-2011 21:15, Wolfgang Schuster wrote:
It’s a bug (maybe wrong default settings) which was introduced with Idris request to have lists which are local to a component, when you refer to the label with the name of the component as prefix (\getreference[text][part1:label:1]) the text is shown.
Do you have a clue where?
I was wrong, I tried it now with the beta from two days ago and there is also the same bug, maybe this was introduced when you rewrote the project code. The odd thing is the following block from the tuc file with the two reference which are generated with the \reference command. The reference “label:2” was written in the product file and it has an empty index but the second reference “label:1” has the index “part1” because this is the name of the component file where it was set. utilitydata.structures.references.collected={ [""]={ ["label:2"]={ ["entries"]={ ["text"]="Outer reference", }, ["metadata"]=17, ["references"]={ ["block"]="frontpart", ["realpage"]=1, ["section"]=0, }, }, }, ["part1"]={ ["label:1"]={ ["entries"]={ ["text"]="Inner reference", }, ["metadata"]=18, ["references"]={ ["block"]="bodypart", ["realpage"]=4, ["section"]=2, }, }, }, } Wolfgang
Hi, what was the example that went wrong? Hans
Am 25.11.2011 um 21:40 schrieb Hans Hagen:
On 25-11-2011 21:15, Wolfgang Schuster wrote:
It’s a bug (maybe wrong default settings) which was introduced with Idris request to have lists which are local to a component, when you refer to the label with the name of the component as prefix (\getreference[text][part1:label:1]) the text is shown.
Do you have a clue where?
I was wrong, I tried it now with the beta from two days ago and there is also the same bug, maybe this was introduced when you rewrote the project code.
The odd thing is the following block from the tuc file with the two reference which are generated with the \reference command. The reference “label:2” was written in the product file and it has an empty index but the second reference “label:1” has the index “part1” because this is the name of the component file where it was set.
utilitydata.structures.references.collected={ [""]={ ["label:2"]={ ["entries"]={ ["text"]="Outer reference", }, ["metadata"]=17, ["references"]={ ["block"]="frontpart", ["realpage"]=1, ["section"]=0, }, }, }, ["part1"]={ ["label:1"]={ ["entries"]={ ["text"]="Inner reference", }, ["metadata"]=18, ["references"]={ ["block"]="bodypart", ["realpage"]=4, ["section"]=2, }, }, }, }
Wolfgang
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On 3-12-2011 08:17, Wolfgang Schuster wrote:
Am 03.12.2011 um 01:02 schrieb Hans Hagen:
Hi,
what was the example that went wrong?
I can make a example but not today.
No problem as today/tomorrow I'm a bit busy anyway. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Wolfgang Schuster