From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68798 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: First Line After Whitespace Styling Date: Fri, 27 May 2011 21:19:29 +0200 Message-ID: <3F15370A-15A3-44BB-ADEF-C0B7C4F90F2E@googlemail.com> References: <20110527110839.10cb22a0.derpayatz@riseup.net> <00EB6D34-DC89-4A0E-A3BA-652AE151BD4D@googlemail.com> <20110527140850.00a64814.derpayatz@riseup.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1306523995 16663 80.91.229.12 (27 May 2011 19:19:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 27 May 2011 19:19:55 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri May 27 21:19:51 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QQ2Za-0000YG-Ka for gctc-ntg-context-518@m.gmane.org; Fri, 27 May 2011 21:19:50 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 03DC6CAD9A; Fri, 27 May 2011 21:19:50 +0200 (CEST) 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 GQX5h0DglMxV; Fri, 27 May 2011 21:19:47 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 184B6CAD95; Fri, 27 May 2011 21:19:47 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 78623CAD95 for ; Fri, 27 May 2011 21:19:45 +0200 (CEST) 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 tuU4ZvDqFNvc for ; Fri, 27 May 2011 21:19:34 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id F2A28CAD91 for ; Fri, 27 May 2011 21:19:33 +0200 (CEST) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p4RJJXgb031989 for ; Fri, 27 May 2011 21:19:33 +0200 Original-Received: by fxm18 with SMTP id 18so2194364fxm.14 for ; Fri, 27 May 2011 12:19:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to :x-mailer; bh=fN27ro1qRVdlv5krVv0MCztZMo5SFlPXmjT4ulv7EAA=; b=gmr5U2b6D38UDMKVQZZ51v0YVdbEU9KXg+9a7/mUSkAiTh8p2fMrjM+v8eQmaJ6W7d dKzW0dFygWtfH5FZ7eAxQv2dxv3pQG+6JzUAAYpKx7u6lmH5LNi8P2j0FLOWAk7Im/lv L5ODkdV7ObtFquuQySRXGl4JoupQFy8MTi31U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=n9Z5QWdtdOBm5h7cq5F5U+JpfE6/6AxbFPsz0RSwlKhM9zddf+3vL6cu3ze+3O5p3f Uq0Ava0T6Ts1g61uBVAUHmTWwKX42RM+7ZVZE9P7vE5tmF+nEfzjFR/l5GZzp9esnoDQ J5mduWkszaTjumGBxncoOPhz7IYSWYm2A0h2g= Original-Received: by 10.223.94.78 with SMTP id y14mr2739499fam.24.1306523973225; Fri, 27 May 2011 12:19:33 -0700 (PDT) Original-Received: from [192.168.2.34] (p5B294C59.dip.t-dialin.net [91.41.76.89]) by mx.google.com with ESMTPS id x15sm776076fah.22.2011.05.27.12.19.31 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 27 May 2011 12:19:32 -0700 (PDT) In-Reply-To: <20110527140850.00a64814.derpayatz@riseup.net> X-Mailer: Apple Mail (2.1084) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.41; 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: 0rEMHjx1s - daca851dc5fc - 20110527 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:68798 Archived-At: Am 27.05.2011 um 21:08 schrieb Marc Trius: > No, what is something like: > = > ... > = > \starttypescript [Standard] > \definetypeface [Standard] [rm] [serif] [frankruehl] [default]= [features=3Ddefault] > \definetypeface [Alt] [rm] [serif] [frankruehl] [default] [featur= es=3Dalt] > \stoptypescript > = > ... > = > {\Alt This is the first line after a whitespace, this is the linebreak} a= nd this is the rest of the paragraph. I'd like to have a macro that automat= ically styles the first line only so I don't have to guess at linebreaks ev= ery time I edit the text. > = > I need to do this because in texts that are written with the Hebrew alpha= bet, a shorter glyph of the tallest letter, 'lamed,' is used inside a block= of text than in a first line, so that the interline space can be smaller. = Employing this technique makes the difference between a pretty good and a r= eally first-rate typesetting job :) Adapt the following to your case: \setupbodyfont[pagella] \definefontfeature[allcaps][smcp=3Dyes,c2sc=3Dyes] \starttext \TreatFirstLine {\addff{allcaps}} {} {} {} The Earth, as a habitat for animal life, is in old age and has a fatal illn= ess. Several, in fact. It would be happening whether humans had ever evolve= d or not. But our presence is like the effect of an old-age patient who smo= kes many packs of cigarettes per day =97 and we humans are the cigarettes. \stoptext Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________