From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17024 Path: main.gmane.org!not-for-mail From: Nigel King Newsgroups: gmane.comp.tex.context Subject: \in{hyperref}[tableref] at first char of line causes misplaced paragraph Date: Thu, 11 Nov 2004 16:58:14 +0000 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1100193118 578 80.91.229.6 (11 Nov 2004 17:11:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 11 Nov 2004 17:11:58 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Nov 11 18:11:44 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CSIKt-0007Sr-00 for ; Thu, 11 Nov 2004 18:02:15 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A879D1276C; Thu, 11 Nov 2004 18:02:14 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08215-02; Thu, 11 Nov 2004 18:02:14 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CD7B71277B; Thu, 11 Nov 2004 17:58:23 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 981BE1277B for ; Thu, 11 Nov 2004 17:58:22 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07881-08 for ; Thu, 11 Nov 2004 17:58:22 +0100 (CET) Original-Received: from mailhost2.dircon.co.uk (unknown [194.112.32.66]) by ronja.ntg.nl (Postfix) with ESMTP id ECF6D1276C for ; Thu, 11 Nov 2004 17:58:21 +0100 (CET) Original-Received: from [194.112.52.236] (th-en132-236.pool.dircon.co.uk [194.112.52.236]) by mailhost2.dircon.co.uk (Postfix) with ESMTP id 757FF60CEA4; Thu, 11 Nov 2004 16:58:20 +0000 (GMT) Original-To: ntg-context@ntg.nl X-Mailer: Apple Mail (2.619) X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:17024 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17024 Hi, This has bugged me for a number of years and I have only just realised the exact cause. Previous requests to solve table and figure spacing problems are all due to this I think. Basically the hyperreference in the first character of a paragraph mangles the paragraph formatting. Below is a minimum (I think) file which demonstrates the problem very clearly. \setupinteraction[state=start] \setupwhitespace[big] \starttext \input tufte \startbuffer[] \bTABLE[width=2.5in] \bTR \bTD \input tufte \eTD\eTR \eTABLE \stopbuffer \placetable [right] [tab:1] {A Table} {\getbuffer[]} \input tufte \in{Table}[tab:1] this paragraph does not format correctly because the hypereference is at the first character of the paragraph. Note that the spacing (before) is incorrect as well as the width. T\in{able}[tab:1] this paragraph does format correctly because the hypereference is not using the first character of the paragraph. \input tufte \stoptext TIA Nigel King