Hi,

Thanks a lot Hans and everyone who has worked on it for the new upload!
>From what I can tell from my few projects, math in HTML export seems to
have significantly improved.

I have just noticed what seems to be a small issue with hyphenated words in
the HTML export: an extra space is added when the pdf output has a line
break after the hyphen. Here is a minimal example showing the issue:

__________________________________________
\setupbackend[export=yes]
\starttext
blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
co-worker
\stoptext
__________________________________________

(The number of ‘blah’s is adjusted to that ConTeXt adds a line break after
‘co-’ in the pdf.)
The relevant part of the .html output is:

<div>
blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
co- worker</div>

(Notice the space after ‘co-’.)

Would there be a way to avoid this extra space? As an alternative, is it
possible to prevent line breaks after a hyphen?

(I tried playing with \setupbreakpoint, e.g.,
\setupbreakpoint[test][-][nleft=100,nright=100], but did not manage to get
it working for the hyphens, although it seems to work well for other
characters.)

Cheers,
Florent
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to