On 10/8/2018 18:32, Hans Hagen wrote:
And here is the mwe. The culprit, it appears, is bidi. I have tried all documented options (but not all combinations) for \setupdirections, and the only one under which there is no problem is "off". With bidi active, there is a spurious space wherever a linebreak is introduced. As the example demonstrates, this is not a function of the compounds, but of hyphenation in general.
Alas, it is fixed for that particular occurence, but it still occurs 29 times in the document (using today's beta).well, you know: no mwe, no solution
A more extended search shows that there are also spaces afters en-dashes (in "Press|–|Citizen" and in "Miniatur|–|Bibliothek der Deutschen Classiker"), but none after em-dashes. Unfortunately, my attempts to reproduce this in a smaller document have so far failed.
(The problem appears in the export html/xml file, not in the pdf.)\setupbackend [export=yes] \setupdirections [bidi=on] \starttext abraca% adjust to cause hyphenation with your textwidth abra|-|cadabra abra|-|cadabra abra|-|cadabra abra|-|cadabra abra|-|cadabra abra|-|cadabra abra|-|cadabra abra|-|cadabra abra|-|cadabra abra|-|cadabra abra|-|cadabra abra|-|cadabra abra-cadabra abra-cadabra abra-cadabra abra-cadabra abra-cadabra abra-cadabra abra-cadabra abra-cadabra abra-cadabra abra-cadabra abra-cadabra abra-cadabra \stoptext
Not a function of explicit compounds (||) but of hyphenation of compounds. Normal hyphenation does not bring about the problem.
--
RIk