ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: "'Frans Goddijn'" <fg@fgbbs.iaf.nl>,
	"'ntg-context@ntg.nl'" <ntg-context@ntg.nl>
Subject: Re: No straightforward .png support in ConTeXt?
Date: Sun, 21 Jun 1998 20:08:06 +0200	[thread overview]
Message-ID: <358D4C06.45A8D19@wxs.nl> (raw)

Berend de Boer wrote:
> 
> On Saturday, June 20, 1998 3:39 PM, Frans Goddijn [SMTP:fg@fgbbs.iaf.nl]
> wrote:
> 
> > > I just release pdfTeX-0.12o-3. This release includes:
> > > pdftex.ch: fixed bug in compressed inclusion of PNG files - length of
> 
> ConTeXt has no build-in support for .png it seems, it misses a macro to
> extract the length. I assume it's quite easy to add it as LaTeX already has
> it. But maybe someone has already done so?

See other mail. The release you use works ok with a new texutil. 

I attached a new version, beware, a bit ot beta, so keep the old one:

  texutil --fig *.png 

also try: 

  texutil --fig --epstopdf *.eps

(uses gs, so this command must be available)  

Add to spec-tpd:

\def\dotpdinsertpng#1#2#3#4#5#6#7#8%
  {\pdfimage width #6sp height #7sp #1\relax}

\def\dotpdinsertpdf#1#2#3#4#5#6#7#8%
  {\pdfimage width #6sp height #7sp #1\relax}

and things should work. 

Hans

-----------------------------------------------------------------
                                              Hans Hagen | PRAGMA
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | fax: 038 477 53 74 | mail: pragma@wxs.nl
-----------------------------------------------------------------


             reply	other threads:[~1998-06-21 18:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-06-21 18:08 Hans Hagen [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-06-21 19:35 Hans Hagen
1998-06-21 17:44 Hans Hagen
1998-06-20 17:14 Berend de Boer
1998-06-20 13:39 Frans Goddijn
1998-06-20 10:57 Berend de Boer

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=358D4C06.45A8D19@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=fg@fgbbs.iaf.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).