From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/47217 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: Re: tool for reviewing hyphenation Date: Wed, 4 Feb 2009 09:56:24 +0100 Message-ID: <6faad9f00902040056r40e2594bs504d123c4d9bdbd3@mail.gmail.com> References: <4988783C.6030907@sil.org> <49889B0B.3070601@wxs.nl> <49889E30.8050601@sil.org> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1233737909 19341 80.91.229.12 (4 Feb 2009 08:58:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 Feb 2009 08:58:29 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Feb 04 09:59:44 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1LUdbi-0006bR-TX for gctc-ntg-context-518@m.gmane.org; Wed, 04 Feb 2009 09:59:42 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A7FE01FBB9; Wed, 4 Feb 2009 09:58:20 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 05539-01; Wed, 4 Feb 2009 09:57:06 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0BC651FBB5; Wed, 4 Feb 2009 09:57:06 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 99C741FBB5 for ; Wed, 4 Feb 2009 09:57:03 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 01124-04-2 for ; Wed, 4 Feb 2009 09:56:25 +0100 (CET) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by ronja.ntg.nl (Postfix) with ESMTP id 9A4EE1FBAA for ; Wed, 4 Feb 2009 09:56:25 +0100 (CET) Original-Received: from mail-fx0-f16.google.com (mail-fx0-f16.google.com [209.85.220.16]) by filter4-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n148uODh004650 for ; Wed, 4 Feb 2009 09:56:25 +0100 Original-Received: by fxm9 with SMTP id 9so2718940fxm.2 for ; Wed, 04 Feb 2009 00:56:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=/Q9Kn4z1zmeRE1ccIKK3xgKmnNq2mDDN+ITtcz1JbHU=; b=L0N4wr9KYf6qBSQ4+EPAsGXbIO+DjMTI1xbMau93SewS8vNpzKY9GeXS1OEDRvg8aw zF59NJtFBuj5xej2g6eSmC31fMmn3ShU3/GQhQZRgJ0ewuBEqNE/NJCaRo0aAFs8TszM tja2UdmjoQJnuLgN0YZ0p1KCJatnyh4uPEk3o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=idVjogru/JJEJlYPhoTUqX85AjO4Gh5/26VyhmlvW5Qwdn0GisnlclOexjArcEh6MV NmjghuGuwFxTMpWQ747Yv80QH+w1SdnlIWF2w5AgaVHflkgNpl02bOYSJgGnG6rDs96H vynE7SiT72nCtm1wZJny3b5LRIOpgZI63bU3Q= Original-Received: by 10.223.109.198 with SMTP id k6mr1823546fap.46.1233737784567; Wed, 04 Feb 2009 00:56:24 -0800 (PST) In-Reply-To: <49889E30.8050601@sil.org> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.220.16; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 174749031 - a30a58615f2d X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:47217 Archived-At: 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 ___________________________________________________________________________________ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________