ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* FWD: RE: dvipdfmx bug
@ 2005-08-20 15:31 Idris Samawi Hamid
  2005-08-20 16:50 ` Taco Hoekwater
  0 siblings, 1 reply; 4+ messages in thread
From: Idris Samawi Hamid @ 2005-08-20 15:31 UTC (permalink / raw)


Dear gang,

I sent a bug report to ChoF, but the bug was actually in ConTeXt so I forward 
ChoF's answer, in case anyone else needs it.

Thanks again, ChoF!

Best to all
Idris

>===== Original Message From Jin-Hwan Cho <chofchof@ktug.or.kr> =====
On Aug 20, 2005, at 12:03 PM, Idris Samawi Hamid wrote:

> I'm presently editing the latest issue of my academic journal,
> which depends
> on the aleph-dvipdfmx cycle (used for the last three issues).
> Unfortunately,
> the latest dvipdfmx (from the latest ConTeXt distribution) freezes
> on figures.
> Enclosed is a sample file, the figure (eps), and the dvi file.

It's the problem of spec-dpx.tex in the ConTeXt distribution.

One solution might be change the file as follows:

1. Comment out the line 119 as follows:

%\definefileinsertion{dpx}{eps}{\handlepdfimage} % unstable

2. After the line 119 put the following codes.

\def\handleepsimage#1#2#3#4#5#6#7#8#9%
   {\PointsToWholeBigPoints{#7}\width
    \PointsToWholeBigPoints{#8}\height
    \special
      {PSfile="#1"\space
       llx=\EPSllx\space lly=\EPSlly\space
       urx=\EPSurx\space ury=\EPSury\space
       rwi=\width0\space rhi=\height0}}

\definefileinsertion{dpx}{eps}{\handleepsimage}

Another solution is to update spec-dpx.tex and DVIPDFMx if you can
compile
it by yourself.

1. Download http://project.ktug.or.kr/dvipdfmx/snapshot/current/
dvipdfmx-20050815.tar.gz

2. You can download the updated spec-dpx.tex at

http://project.ktug.or.kr/dvipdfmx/contrib/context/spec-dpx.tex

3. Compile dvipdfmx-20050815. Note that the updated spec-dpx.tex works
    with DVIPDFMx version 20050815 or later.

Best, ChoF.

============================
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: FWD: RE: dvipdfmx bug
  2005-08-20 15:31 FWD: RE: dvipdfmx bug Idris Samawi Hamid
@ 2005-08-20 16:50 ` Taco Hoekwater
  2005-08-20 17:05   ` Jin-Hwan Cho
  0 siblings, 1 reply; 4+ messages in thread
From: Taco Hoekwater @ 2005-08-20 16:50 UTC (permalink / raw)


Idris Samawi Hamid wrote:
> Dear gang,
> 
> I sent a bug report to ChoF, but the bug was actually in ConTeXt so I forward 
> ChoF's answer, in case anyone else needs it.
> 
> Thanks again, ChoF!

looks like a patch is needed, I will create a bug collector item for this.

Taco

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: FWD: RE: dvipdfmx bug
  2005-08-20 16:50 ` Taco Hoekwater
@ 2005-08-20 17:05   ` Jin-Hwan Cho
  2005-08-21 18:45     ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Jin-Hwan Cho @ 2005-08-20 17:05 UTC (permalink / raw)


On Aug 21, 2005, at 1:50 AM, Taco Hoekwater wrote:

> Idris Samawi Hamid wrote:
>
>> Dear gang,
>> I sent a bug report to ChoF, but the bug was actually in ConTeXt  
>> so I forward ChoF's answer, in case anyone else needs it.
>> Thanks again, ChoF!
>
> looks like a patch is needed, I will create a bug collector item  
> for this.

Actually the problem in spec-dpx.tex is my mistake, not Hans Hagen.
Because the file was for old versions of DVIPDFMx, it may not work with
the current version of DVIPDFMx, especially MetaFun. Sorry for that.

In these days, I rewrote spec-dpx.tex, but it requires a new version of
DVIPDFMx, the version 20050815 or later. Of course, the new spec-dpx.tex
might have a bug too. I've tested only the examples in the MetaFun
manual.

The source and spec-dpx.tex can be downloaded at

http://project.ktug.or.kr/dvipdfmx/snapshot/current/ 
dvipdfmx-20050815.tar.gz

http://project.ktug.or.kr/dvipdfmx/contrib/context/spec-dpx.tex

Best, ChoF.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: FWD: RE: dvipdfmx bug
  2005-08-20 17:05   ` Jin-Hwan Cho
@ 2005-08-21 18:45     ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2005-08-21 18:45 UTC (permalink / raw)


Hi Chof,

> http://project.ktug.or.kr/dvipdfmx/contrib/context/spec-dpx.tex

I replaced the file in the distribution with your file. 

I also patched core-obj

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
-----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-08-21 18:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-20 15:31 FWD: RE: dvipdfmx bug Idris Samawi Hamid
2005-08-20 16:50 ` Taco Hoekwater
2005-08-20 17:05   ` Jin-Hwan Cho
2005-08-21 18:45     ` Hans Hagen

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).