ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: debian-tex-maint@lists.debian.org
Subject: Re: ConTeXt 2007.01.12 problem
Date: Sat, 13 Jan 2007 09:52:40 +0100	[thread overview]
Message-ID: <45A89DD8.7040508@wxs.nl> (raw)
In-Reply-To: <E1H5YyM-0008MY-00@skye.ra.phy.cam.ac.uk>

Sanjoy Mahajan wrote:
> Several>> ! Undefined control sequence.
> Several>> \initializenextposition ...dosetpositionpapersize
>
> Taco> There was a new upload at 6pm, but I have not yet tested if that fixes
> Taco> it.
>
> When I upgraded to 2007.01.12 01:02 via the Debian package, I got the
> same error that others have reported.  I just tested 2007.01.12 15:56
> and the problem is fixed, so thanks for the quick work.  Here is the
> test file (same as I've been using for dvipos), and it showed the
> problem in dvi and pdf modes.  I'm using pdftex 1.40.0 (with Taco's
> patch for the off-by-one-error) in /usr/local/bin.
>   
that test should go into the test repos (which btw we should get running 
now that it gets filled up); i have to look into that asap

Hans
> ============================================================
> \defineoverlay [foregraphics] [\positionoverlay{foregraphics}]
> \setupbackgrounds
>   [page]
>   [background={foreground,foregraphics}]
>
> \starttext
>
> \hpos{r23}{7} \quad \hpos{r24}{8} 
>
> \startMPpositiongraphic{mypos:line}
>   mpprocset := 0;  % context doesn't yet handle the new mpprocsets
>   path pa, pb, pab ; numeric na, nb ;
>   initialize_box(\MPpos{\MPvar{from}}) ;
>   na := nxy ; pa := llxy..lrxy..urxy..ulxy..cycle ;
>   initialize_box(\MPpos{\MPvar{to}}) ;
>   nb := nxy ; pb := llxy..lrxy..urxy..ulxy..cycle ;
>   if na=nb :
>     pab := center pa -- center pb ;
>     pab := pab cutbefore (pab intersectionpoint pa) ;
>     pab := pab cutafter (pab intersectionpoint pb) ;
>     pickup pencircle;
>     draw pab;
>     anchor_box(\MPanchor{\MPvar{from}}) ;
>   fi ;
> \stopMPpositiongraphic
>
> \startpositionoverlay{foregraphics}
>   \setMPpositiongraphic{r23}{mypos:line}{to=r24}
> \stoppositionoverlay
>
> The pattern.
>
> \stoptext
> ============================================================
>
> -Sanjoy
>
> `Not all those who wander are lost.' (J.R.R. Tolkien)
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>   


-- 

-----------------------------------------------------------------
                                          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:[~2007-01-13  8:52 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-12 14:43 Alan Bowen
2007-01-12 14:47 ` Hans Hagen
2007-01-12 14:52   ` Alan Bowen
2007-01-12 14:52 ` Hans Hagen
2007-01-12 15:07   ` Alan Bowen
2007-01-12 15:08     ` Hans Hagen
2007-01-12 15:23       ` Alan Bowen
2007-01-12 15:39         ` Hans Hagen
2007-01-12 19:47 ` [NTG-context] " Mike Bird
2007-01-12 19:51   ` Norbert Preining
2007-01-12 19:54   ` Taco Hoekwater
2007-01-12 20:21     ` [NTG-context] " Mike Bird
2007-01-13  0:05       ` Norbert Preining
2007-01-13  0:23         ` Taco Hoekwater
2007-01-13  2:50           ` Sanjoy Mahajan
2007-01-13  8:52             ` Hans Hagen [this message]
2007-01-13 14:10               ` Sanjoy Mahajan
2007-01-14 18:56                 ` Hans Hagen
2007-01-13  9:03     ` 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=45A89DD8.7040508@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=debian-tex-maint@lists.debian.org \
    --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).