Closed HelenaSabel closed 3 years ago
IMHO:
I can confirm that the links from examples to BIB work in my local build. But there is no tooltip anymore (maybe only in my local version?).
Futhermucker. Do you think lack of tool-tips is just high priority, or outright release blocking?
Same thing happens in my local installation as well, @martinascholger .
I took a quick look at @martindholmes JavaScript and I don’t see the problem: the parameter that it is being sent to the function showPopupBibl()
matches an @id
in BIBL.html. I don’t know why it defaults to linking to the bibliography (without showing the popup). I will take a closer look tonight.
This is normal browser behaviour. AJAX won't run on you local machine, only when the page is coming from a server. It's not broken.:)
… I'm struggling to figure out what the original $id variable was supposed to be doing:
<xsl:variable name="id" select="@xml:id"/>
As far as I can see, it was never used, so something was already broken here. Do you see any use for it?
I saw so little use for it, I deleted it. :grin:
Thanks to @sydb and @HelenaSabel trying to explain the issue and the fix during todays Stylesheets meeting! It involves importing this Stylesheet into the Guidelines' build (https://github.com/TEIC/TEI/blob/59a2becc4a35f4a50a2518c605e1adef310e9f2c/P5/Utilities/guidelines.xsl.model#L20-L21) and some more intricacies. @sydb put it so: "We had to concede, in the end, that we are not entirely sure how this ever worked before these changes"
Syd’s fix for #520: it adds processing of
@xml:id
to the application of templates from<biblStruct>
or<bibl>
child of<listBibl>
.