Hi,

a couple of weeks ago Hans has implemented a tracker that adds a list of 
hyphentated words to the log file. I finally managed to play with this. The 
result is attached to this mail.
This will permit analyzing hyphenations based on a ConTeXt log file. You need 
to enable hyphenation tracking in the ConTeXt file with 
\enabletrackers[hyphenation.applied]. Then, you can run the script with
lua check-hyphens.lua input_file whitelist.ending
As we assume .log for the input_file, the input file should be supplied without 
file ending. For the (optional) whitelist a file ending has to be supplied.

Maybe I should wikify this, any suggestion where that would fit?
HTH,
Denis

Attachment: check-hyphens.lua
Description: check-hyphens.lua

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to