ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Nigel King <King@dircon.co.uk>
Subject: \in{hyperref}[tableref] at first char of line causes misplaced paragraph
Date: Thu, 11 Nov 2004 16:58:14 +0000	[thread overview]
Message-ID: <E0B880DE-3402-11D9-855B-0003938543A0@dircon.co.uk> (raw)

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

             reply	other threads:[~2004-11-11 16:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-11 16:58 Nigel King [this message]
2004-11-11 17:25 ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E0B880DE-3402-11D9-855B-0003938543A0@dircon.co.uk \
    --to=king@dircon.co.uk \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).