From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83453 Path: news.gmane.org!not-for-mail From: =?ISO-8859-15?Q?=22H=2E_=D6zoguz=22?= Newsgroups: gmane.comp.tex.context Subject: Linecorrection and distances Date: Thu, 18 Jul 2013 09:36:55 +0200 Message-ID: <51E79B17.8040204@mmnetz.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1374133034 3904 80.91.229.3 (18 Jul 2013 07:37:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Jul 2013 07:37:14 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 18 09:37:17 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Uzim4-0007PO-IH for gctc-ntg-context-518@m.gmane.org; Thu, 18 Jul 2013 09:37:16 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 35E60101EE; Thu, 18 Jul 2013 09:37:09 +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 4TxxHQPzEBTJ; Thu, 18 Jul 2013 09:37:06 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 8C539101E4; Thu, 18 Jul 2013 09:37:06 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A7853101E4 for ; Thu, 18 Jul 2013 09:37:04 +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 Lbr1rClD9Cif for ; Thu, 18 Jul 2013 09:36:54 +0200 (CEST) Original-Received: from filter3-utr.mf.surf.net (filter3-utr.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id 5F4B5101E0 for ; Thu, 18 Jul 2013 09:36:54 +0200 (CEST) Original-Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by filter3-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r6I7awMu024458 for ; Thu, 18 Jul 2013 09:36:59 +0200 Original-Received: from [192.168.0.192] (dyndsl-095-033-124-207.ewe-ip-backbone.de [95.33.124.207]) by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis) id 0MXFZN-1UcRA70d3V-00Vvx9; Thu, 18 Jul 2013 09:36:58 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 X-Provags-ID: V02:K0:nqn1iL/yta4dzvDmrrPR6FLnfVIZFQ9aoYeuljO9n2c /JUB502d/eIgjLKJSBj8zFYFKQY8hLJ9QPd9/ZH0Ti1U87tRli wNiUnAHDK2lekTuaeYxNyLtuE2camCDr5/MKWo4z8bKnZVbBkz HUdRe5AReK8iGCX89JkBxflENESSMX6o1wRyVDHb9E9IGGe3oQ zgl1jQJBIXy/h+YUcT3REpfOdOx+yoWgzExQhaC64H/kdVOyST d+lslKJTbKvlk1BF53JAiArGUVeuVMjpwEgvQjsgKXHVATubY7 w8AqgzAyl2ghhCo5M5zOmS6AVfHqvZt48Ws7pQBM7OwdFL1Hx0 gXSAk96JJ1V53Tst/QN0= X-Bayes-Prob: 0.9876 (Score 4.7, tokens from: @@RPTN) X-CanIt-Geo: ip=212.227.126.187; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08K1HAWXU - b6c08c12a8c6 - 20130718 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 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:83453 Archived-At: I use grid-setting, but have elements, which should not be set on the grid (because it is impossible, because of different interlinespaces, bigger fonts, or whatever). For these elements I use \startlinecorrection Elements \stoplinecorrection After these elements the normal text is continued, set on the grid again. That is all working and fine. But: The distances between these "\startlinecorrection Elements \stoplinecorrection" blocks and the text (both distances, before and after) are not always the same, they seem to be random. How to correct that without inserting "\vksip+-Xpt" manually before/after the linecorrected blocks? For testing: \showgrid \setuplayout[grid=yes] \definefont[big][name:Arial at 25 pt] \def\kurztext{Dies ist ein kurzer Text. Die anderen Standardtexte sind deutlich zu lang.} \starttext \kurztext \startlinecorrection \big \kurztext Und noch Zusatztext. \stoplinecorrection \kurztext \startlinecorrection \big \kurztext \stoplinecorrection \kurztext \stoptext In the above example you can see it, the distances between the grid set and the not grid set text are different. Thanks for your help once again. Huseyin ___________________________________________________________________________________ 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 ___________________________________________________________________________________