ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Taco Hoekwater <taco@elvenkind.com>
Subject: Re: Problem with bit maps with ConTeXt under MikTeX (works fine using LaTeX)
Date: Thu, 8 Nov 2001 09:18:41 +0100	[thread overview]
Message-ID: <20011108091841.5f082bb6.taco@elvenkind.com> (raw)
In-Reply-To: <5.1.0.14.1.20011107180028.02f98670@server-1>

"Hans Hagen" <pragma@wxs.nl> wrote:
> At 04:47 PM 11/7/2001 +0100, Taco Hoekwater wrote:
> 
> 
> #7 and #8 are the dimensions in bp, so this is a better way:

That's what I thought, but it doesn't work that way. Since the image file itself cannot be found/processed, #7 and #8 are both 0. That's the main reason why it took me so long to get this working :-)

> >\definefileinsertion{tr}{bmp}#1#2#3#4#5#6#7#8#9%
> >   {\ScaledPointsToWholeBigPoints{#7}\width
> >    \ScaledPointsToWholeBigPoints{#8}\height
> >    \vbox to 0pt{\kern -#8sp\hbox{%
                           ^
> >      \ifnum\height = 0
> >        \ifnum\width = 0 \special{em: graph #1}%
> >        \else            \special{em: graph #1,#7sp}%
                                                  ^ 
What's with these one? It should be "\width bp" I think?

> >        \fi
> >      \else
> >       \special{em: graph #1,\width bp,\height bp}%
> >      \fi%
> >    }\vss}}

> do we need a special yap driver ?

Dunno. I can't test this either (well, I get a nice black box in print but that's it). It there a specification for yap's special support somewhere?

-- 
groeten,

Taco


  parent reply	other threads:[~2001-11-08  8:18 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-06 23:50 Bruce Horrocks
2001-11-07  8:29 ` Taco Hoekwater
2001-11-07 11:37   ` Bruce Horrocks
2001-11-07 15:47     ` Taco Hoekwater
2001-11-07 17:04       ` Hans Hagen
2001-11-07 23:17         ` Bruce Horrocks
2001-11-08  9:27           ` Hans Hagen
2001-11-08 14:59             ` Bruce Horrocks
2001-11-08 16:08               ` Taco Hoekwater
2001-11-08  8:18         ` Taco Hoekwater [this message]
2001-11-07 17:17   ` 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=20011108091841.5f082bb6.taco@elvenkind.com \
    --to=taco@elvenkind.com \
    /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).