Re: [NTG-context] gnuplot mode

3 views
Skip to first unread message

Taco Hoekwater

unread,
Feb 20, 2006, 5:28:05 AM2/20/06
to gnuplot...@googlegroups.com, Mojca Miklavec

Hi Mojca,

Mojca Miklavec wrote:
> Hmmm ... I tried to copy the implementation from epslatex terminal, so
> that one was already able to say
> set terminal context header "\\setupbodyfont[20pt]"
> but I figured out that after it was run five or ten times, it crashed.
> After that I realized that the epslatex terminal crashes too, but I
> didn't figure out yet how to debug gnuplot.
> If anyone has more experince with allocs, feel free to fix my source.

It crashes because calling 'free()' does not reset the pointer to NULL,
you have to do that yourself. I'll attach my local 'context.trm', but
be careful merging them, you may have made other changes in the meantime.

Check out lines 227 and 365-382, those are the important ones.

Cheers, Taco

context.trm
Reply all
Reply to author
Forward
0 new messages