]> granicus.if.org Git - docbook-dsssl/commit
When passivetex.extensions=1 character ​ is inserted between all occurences...
authorJirka Kosek <jirka@kosek.cz>
Thu, 15 Nov 2001 19:34:59 +0000 (19:34 +0000)
committerJirka Kosek <jirka@kosek.cz>
Thu, 15 Nov 2001 19:34:59 +0000 (19:34 +0000)
commit6828c44731c3bcd7b9efa9a6bad938db0ac2d01d
treeb30dd12b8932405cb0757e2f3354f1da65e4f7e6
parent3ff5705538f21fe7f9633ec4fe4a2a1ca7309f86
When passivetex.extensions=1 character &#x200b; is inserted between all occurences of --. This stops TeX ligature mechanism which converted all -- to endash and --- to emdash (this is ill especially in source code listings containing XML comments or decrementation operator). Performance cost of evaluating condition for each text node is under 5 %. This shouldn't annoy anyone.
xsl/fo/docbook.xsl
xsl/fo/passivetex.xsl [new file with mode: 0644]