From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/6028 Path: main.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: Problem with bit maps with ConTeXt under MikTeX (works fine using LaTeX) Date: Thu, 8 Nov 2001 09:18:41 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <20011108091841.5f082bb6.taco@elvenkind.com> References: <20011107092947.0c79bdd4.taco@elvenkind.com> <5.1.0.14.1.20011107180028.02f98670@server-1> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035396579 6704 80.91.224.250 (23 Oct 2002 18:09:39 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:09:39 +0000 (UTC) Original-To: "Hans Hagen" , ntg-context@ntg.nl In-Reply-To: <5.1.0.14.1.20011107180028.02f98670@server-1> Xref: main.gmane.org gmane.comp.tex.context:6028 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:6028 "Hans Hagen" 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