Closed Dominique-M closed 9 years ago
On 10/10/14 06:18, Dominique-M wrote:
- I found a way to, in a way, attach files to an issue: http://www.d-meeus.be/tests/index.html http://www.d-meeus.be/tests/testingthings.xml http://www.d-meeus.be/tests/testingxslt2.xsl
- Test with older stylesheets seem to show that it is not recent. Seems that I just didn’t notice that my bibliographical references were no links.
— Reply to this email directly or view it on GitHub https://github.com/TEIC/Stylesheets/issues/60#issuecomment-58613632.
It is unsurprising that this fails to link to
This means that people my age should rely more on copy-paste target identities. Hope I am not dementing yet, or at least not too much. Thanks for pointing the error.
I realise that <ref target="#OCED2012">OCED 2012</ref> gives no HTML link to a bibl element whose xml:id="OCDE2012" through xsl:import href="/usr/share/xml/tei/stylesheet/html/html.xsl". It does work if the target is a p. Is this a recent bug in the stylesheet or a recent change to the TEI? Is a bibl an illegitimate target? [Can’t see where to attach a file. Thus here a snippet:] <p rend="alinea"> Certaines sources d’énergie sont intermittentes. L’article <ref target="#OCED2012">OCED 2012 </ref> parle d’énergies « variables » et d’énergies « programmables », voulant dire par là que les secondes sont sous le contrôle de l’humanité, par opposition aux premières. </p> <bibl xml:id="OCDE2012"> <hi rend="gras">OCDE 2012</hi> « Énergies nucléaire et renouvelables : Effets systémiques dans les réseaux électriques bas carbone », Synthèse, OCDE 2012. Voir aussi <ref target="http://www.oecdbookshop.org/" >www.oecdbookshop.org</ref> pour une version complète en anglais. </bibl> [Parent is a div.]