TEIC / Stylesheets

TEI XSL Stylesheets
231 stars 124 forks source link

aligned processing of bibl items with identical author(s) with common… #588

Closed rvdb closed 1 year ago

rvdb commented 1 year ago

… code in jtei.common.xsl

This fixes erroneous "----,." output in ODT, for subsequent bibliographic entries with multiple identical authors. After this fix, the output is "----." (without the comma).

sydb commented 1 year ago

I cannot (easily) test this because jtei processing (in particular, Stylesheets/profiles/jtei/odt/odt.common.xsl) uses an EXPath extension function. That requires Saxon PE or EE, and I only run HE locally. The oXygen editor could do it, of course, but I do not know off the top of my head how to ask oXygen to do so.

rvdb commented 1 year ago

@sydb Turned out the (single) reference to this extension function had been commented out, so I've commented out the actual function, too. Should work now with Saxon HE.

sydb commented 1 year ago

Okey-dokey @rvdb. Thanks. (But why not just delete it? It is in a version control system, after all. :-)

rvdb commented 1 year ago

@sydb Nice, the incremental Count :-)! You're right, of course. I was a bit hesitant, since this was @martindholmes 's code, but as it clearly was an abandoned path, I've removed the commented-out stuff now.