On Tue, Feb 3, 2009 at 8:42 PM, Lars Huttar wrote:
On 2/3/2009 1:29 PM, Hans Hagen wrote:
Lars Huttar wrote:
But the hyphenation is by nature somewhat volatile, so whenever we change something we would like to be able to easily recheck the hyphenation. And our book is over 1200 pages, so it would be very helpful to have tools to make the checking more efficient.
so, you only want to highlight hyphens?
Yes. Especially hyphens introduced by TeX for line-breaking.
Which font do you use in the document? I have an idea how to do it, but it may require changing the font. You can either: a) set hyphenchar to be whatever other character in the font (but it has to be a numeric value between 0 and 255) b) modify the font, so that hyphenchar becomes a big black box that you can spot easily (even if it remains black; you can extend it to become even bigger, you just need to make sure that the original declared bounding box remains the same) a) would be easiest to do, but only if you already have a suitable character in the font for that purpose; which is most probably not the case. I would most probably try to make a duplicate of the font and try to change the hyphen character, though it's not necessary easy if you don't have the right tools. Maybe this will inspire someone else to propose some easier solution, for example figureing out a way to make such constructs work: \definefontcharacter 23 {\vrule width.5em} :) :) :) Mojca