ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: lost position information with metafun registers
Date: Thu, 19 May 2005 12:50:12 +0200	[thread overview]
Message-ID: <428C6F64.5080207@wxs.nl> (raw)
In-Reply-To: <1116449091.9670.29.camel@drr.elaphus>

Richard Hirsch wrote:

> Does somebody have an idea what might go wrong? Do I miss an important
> setting or activation? (I am using ConTeXt  ver: 2005.01.31  fmt:
> 2005.4.26  int: english  mes: english in connection with tetex 3.0-13 on
> a linux box.)
> Or might this rather be a problem with the acrobat reader (version 7.0
> on linux but also version 5 on windows)?

that one gav eme a headache; i finally figured out that it's due to the fact 
that positions are not yet loaded (so, if you move \starttext to the top of your 
file, things would have worked ok)

here is a patch for page-lyr.tex:

\def\dosetMPlayer[#1][#2][#3]%
   {\checkpositions % added
    \edef\MPlayerwidth {\MPw{#2}}%
    \edef\MPlayerheight{\MPh{#2}}%
    \setlayer[#1][\c!x=\MPx{#2},\c!y=\MPy{#2},\c!position=\v!no,#3]}

alternatively you can add \checkpositions tothe top of your file

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------

  reply	other threads:[~2005-05-19 10:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-18 20:44 Richard Hirsch
2005-05-19 10:50 ` Hans Hagen [this message]
2005-05-19 19:52   ` Richard Hirsch

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=428C6F64.5080207@wxs.nl \
    --to=pragma@wxs.nl \
    --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).