From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/80828 Path: news.gmane.org!not-for-mail From: Marco Patzer Newsgroups: gmane.comp.tex.context Subject: Re: Find too long sentences Date: Fri, 15 Feb 2013 13:52:28 +0100 Message-ID: <20130215125228.GG3733@homerow> References: <511E2C53.6030309@mmnetz.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2099731024==" X-Trace: ger.gmane.org 1360932759 26610 80.91.229.3 (15 Feb 2013 12:52:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Feb 2013 12:52:39 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Feb 15 13:53:00 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U6Kmi-0002IR-HX for gctc-ntg-context-518@m.gmane.org; Fri, 15 Feb 2013 13:53:00 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AD3DA101F0; Fri, 15 Feb 2013 13:52:40 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id f-nnrUQ8R4ei; Fri, 15 Feb 2013 13:52:39 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id DBB2C101E3; Fri, 15 Feb 2013 13:52:38 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 12947101E3 for ; Fri, 15 Feb 2013 13:52:37 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 2cd58obxI2A8 for ; Fri, 15 Feb 2013 13:52:32 +0100 (CET) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 89FD7101E0 for ; Fri, 15 Feb 2013 13:52:32 +0100 (CET) Original-Received: from karen.lavabit.com (karen.lavabit.com [72.249.41.33]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r1FCqV5T010599 for ; Fri, 15 Feb 2013 13:52:31 +0100 Original-Received: from c.earth.lavabit.com (c.earth.lavabit.com [192.168.111.12]) by karen.lavabit.com (Postfix) with ESMTP id 6962811B9B5 for ; Fri, 15 Feb 2013 06:52:30 -0600 (CST) Original-Received: from homerow (miun111-154.dynamic.miun.se [193.10.111.154]) by lavabit.com with ESMTP id 5PM5Y4LAJ6E2 for ; Fri, 15 Feb 2013 06:52:30 -0600 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com; b=LUreoS4iIlEKq58srNzjB5duo38TJGXIoSAdKck7ID79yY2vnMRA3cOnwrhvUaqyjhVaVZSb5aCCTSoxYieffy5WNhgHQYhNuH+ntRnWEKAD/QAEB/EjdLLWoOa63DbjfxlIEQiKlKejU8OlQvkIkqBHHcSCTk2AhQYv7LhuUDc=; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent; Mail-Followup-To: ntg-context@ntg.nl In-Reply-To: <511E2C53.6030309@mmnetz.de> User-Agent: Mutt/1.5.21 (2010-09-15) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=72.249.41.33; country=US; region=TX; city=Dallas; postalcode=75204; latitude=32.8019; longitude=-96.7883; metrocode=623; areacode=214; http://maps.google.com/maps?q=32.8019,-96.7883&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0VJ0AQvOh - 267d45184533 - 20130215 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:80828 Archived-At: --===============2099731024== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zgY/UHCnsaNnNXRx" Content-Disposition: inline --zgY/UHCnsaNnNXRx Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2013=E2=80=9302=E2=80=9315 "H. =C3=96zoguz" wrote: > working on a book with many too long sentences, I got the following > idea/question: > Is it possible to recognize the length of a sentence, and to let > context show in the pdf, if there is a too long sentence. This sounds more like a job for the text editor. Many text editors already know what a sentence is. That means it's as easy as looping over all sentences and counting the characters/bytes and performing some action (e.g. placing the cursor or injecting a ConTeXt macro). Marco --zgY/UHCnsaNnNXRx Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQEcBAEBAgAGBQJRHi+MAAoJEPGqVaNSn0iK4ScIAKk/aMFuuhn8ciGwDnowJC5c Kdqv0wOV1k5DkXfNuvLTfSpF+ITvoMc64XW+1YVGjh8O1cJNJ4BCuB6E/Q4MenYj AHDNowExOhwdd3ydu483bD25tECrSHAkRMUDuOHE27b7xq+RDxKmEAMB/htHMbsY W+HpdEOXagZbQ6rR2YGkxFlfUS/3tb0PRVxl1pZcoc7G/iQnecu1DDmuy+gW/EHa NkFRVtAx2D5VRz6SKt6K8bWtLerFWA9T1mSpXCYZzmgSObI9kn7nSp9KG0Vj7XKr 9lmWwdI0U6QGqinuCzi1GPWbS1m4y58eV+WvcDQBTHpDpff2lF7cgn6rhh96+mQ= =hbBM -----END PGP SIGNATURE----- --zgY/UHCnsaNnNXRx-- --===============2099731024== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============2099731024==--