mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] problem with images in html


Chronological Thread 
  • From: Joris van der Hoeven <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] problem with images in html
  • Date: Thu, 24 Sep 2009 21:47:35 +0200

On Sun, Sep 13, 2009 at 05:36:36PM +0200, Michael Lachmann wrote:
> I think the following is a problem with my installation.
>
> I installed texmacs on OSX. I also have netpbm installed (version 10.24)
>
> When a texmacs document contains an image - png, jpg or gif, export to
> html fails.
> With fig and eps things work.
>
> The error I get is:
> /usr/local/share/TeXmacs/progs/convert/html/tmhtml.scm:1026:29: In
> procedure print-snippet in expression (print-snippet name-url x):
> /usr/local/share/TeXmacs/progs/convert/html/tmhtml.scm:1026:29: string
> contains #\nul character: "\x89PNG\x0d
> \x1a
> and after that the png file in binary.
>
> In linux things seem to work fine.
>
> Does anyone know what the problem could be? What program am I missing?

No idea; I do not experience this problem under Mac OS.
You should track down which exact conversion commands are issued
in order to track down the problem. As a workaround, you can always
manually convert to postscript, or do that under Linux.
With the Qt version, the problem will hopefully disappear.

Best wishes, --Joris



Archive powered by MHonArc 2.6.19.

Top of page