From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62297 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: placing a paragraph with non-standard interlinear spacing onto the grid Date: Sun, 3 Oct 2010 22:19:08 +0200 Message-ID: References: <7C6E1236-E2D7-417B-8A0B-53FD8B45E4D7@fastmail.fm> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: multipart/mixed; boundary="===============1444925041==" X-Trace: dough.gmane.org 1286137168 22523 80.91.229.12 (3 Oct 2010 20:19:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 3 Oct 2010 20:19:28 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Oct 03 22:19:26 2010 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 1P2V1p-0006hc-IQ for gctc-ntg-context-518@m.gmane.org; Sun, 03 Oct 2010 22:19:25 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 254E2CA72D; Sun, 3 Oct 2010 22:19:24 +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 aGZgXbShXMMJ; Sun, 3 Oct 2010 22:19:20 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AEF68CA6EA; Sun, 3 Oct 2010 22:19:20 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 39447CA6EA for ; Sun, 3 Oct 2010 22:19:19 +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 EJ24lVf3EOil for ; Sun, 3 Oct 2010 22:19:16 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 89430CA6D5 for ; Sun, 3 Oct 2010 22:19:16 +0200 (CEST) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o93KJF0b010313 for ; Sun, 3 Oct 2010 22:19:16 +0200 Original-Received: by fxm10 with SMTP id 10so4003199fxm.14 for ; Sun, 03 Oct 2010 13:19:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:from:mime-version :content-type:subject:date:in-reply-to:to:references:message-id :x-mailer; bh=XCxMLtqpt5YM5729s1FxxJxBtDKbwY+oPGL6JBAjXaA=; b=Bvd6CE1iL9L6woj5wIr7JGaeTFqYnuCUvRY1GyWxFbtqoo1v7xod3fHpihntBm6zL7 y35e5EOBqEz9slRWPKXuwrBV6aMHd9EHvkxYibPqJpUP8LurmEEpI5iWlJeqc2xjGXDM w25itcp45grziGtszKdgxoBui0Uc4M1uhHl9E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:mime-version:content-type:subject:date:in-reply-to:to :references:message-id:x-mailer; b=YX4LaGf/cQ3r9hpv5cyMIhph10MNCwebqAvAwyqbfewrQxyE/MLP0iJNTH7bdMlwtm oYwp3aPMckBDzXT6xh9imsLLK7KIZdfapj3botRH19tiXr7QuULzHFG5wJc9wuvSrCpj cbecSauQpO3teo38Ho22KiEPnpKJZ2KuFO2hY= Original-Received: by 10.223.121.208 with SMTP id i16mr7997250far.46.1286137155422; Sun, 03 Oct 2010 13:19:15 -0700 (PDT) Original-Received: from [192.168.2.23] (p5B292F75.dip.t-dialin.net [91.41.47.117]) by mx.google.com with ESMTPS id a6sm1801288faa.20.2010.10.03.13.19.12 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 03 Oct 2010 13:19:13 -0700 (PDT) In-Reply-To: <7C6E1236-E2D7-417B-8A0B-53FD8B45E4D7@fastmail.fm> X-Mailer: Apple Mail (2.1081) 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: 08Dekjfsp - a5d350fdbed9 - 20101003 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 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:62297 Archived-At: --===============1444925041== Content-Type: multipart/alternative; boundary=Apple-Mail-1-739787436 --Apple-Mail-1-739787436 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Am 03.10.2010 um 00:23 schrieb Talal Al-Azem: > Dear all, >=20 > This is important for anyone working with mixed language (font) texts. = In my example, the overall document is Latin-based (e.g. English), with = a paragraph of Arabic text; I want this Arabic paragraph as a whole to = fit onto the grid (though obviously the individual Arabic lines of the = paragraph would not). >=20 > Currently, when I typeset an English paragraph, followed by an Arabic = paragraph, followed by an English paragraph, the second English = paragraph is no longer on the grid, having been throw off by the Arabic = one. I'm looking for some way to automatically calculate and fill in the = vspace needed for this. >=20 > This is not the same as the issue of an Arabic word or phrase (or = mathematic formula) being typeset in the midst of Latin text, as = discussed http://www.mail-archive.com/ntg-context@ntg.nl/msg46163.html. = Having read a few other matters on the mailing list (largely involving = Idris and Hans), I'm sure it's possible, but I can't figure it out. >=20 > Any help would be most appreciated. \setuplayout[grid=3Dyes]\showgrid \starttext \input knuth \startbaselinecorrection\setupinterlinespace[line=3D3.6ex] \input knuth \stopbaselinecorrection \input knuth \stoptext Wolfgang --Apple-Mail-1-739787436 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
Dear all,

This is = important for anyone working with mixed language (font) texts. In my = example,  the overall document is Latin-based (e.g. English), with = a paragraph of Arabic text; I want this Arabic paragraph as a whole to = fit onto the grid (though obviously the individual Arabic lines of the = paragraph would not).

Currently, when I typeset an English = paragraph, followed by an Arabic paragraph, followed by an English = paragraph, the second English paragraph is no longer on the grid, having = been throw off by the Arabic one. I'm looking for some way to = automatically calculate and fill in the vspace needed for = this.

This is not the same as the issue of an Arabic word or = phrase (or mathematic formula) being typeset in the midst of Latin text, = as discussed http= ://www.mail-archive.com/ntg-context@ntg.nl/msg46163.html. Having = read a few other matters on the mailing list (largely involving Idris = and Hans), I'm sure it's possible, but I can't figure it out.

Any = help would be most = appreciated.

\setuplayout[grid=3D= yes]\showgrid

\starttext

\input = knuth

\startbaselinecorrection\setupinterlinespac= e[line=3D3.6ex]
\input = knuth
\stopbaselinecorrection

\input = knuth

\stoptext

Wo= lfgang

= --Apple-Mail-1-739787436-- --===============1444925041== 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 ___________________________________________________________________________________ --===============1444925041==--