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