octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [changeset-2] improved support for pdf output


From: Ben Abbott
Subject: Re: [changeset-2] improved support for pdf output
Date: Thu, 09 Apr 2009 13:27:33 -0400

On Thursday, April 09, 2009, at 11:32AM, "Ivan Sutoris" <address@hidden> wrote:
>On Thu, Apr 9, 2009 at 4:53 PM, Ben Abbott <address@hidden> wrote:
>> On Apr 9, 2009, at 6:29 AM, Ben Abbott wrote:
>>
>>> On Apr 8, 2009, at 10:26 PM, John W. Eaton wrote:
>>>
>>>> On  8-Apr-2009, Ben Abbott wrote:
>>>>
>>>> | On Apr 8, 2009, at 8:06 PM, Michael D. Godfrey wrote:
>>>> |
>>>> | >> I tried the following with Matlab 2008b
>>>> | > I thought about trying 2008b, but 2007b was handier.  The underlying
>>>> | > behavior does not seem to have changed, and I think you have done
>>>> | > the right thing.  It does not appear that whatever replaces
>>>> | > BoundingBox in
>>>> | > PDF actually causes a problem.  I could display text within what
>>>> | > seemed to
>>>> | > be the "frame" for the PDF that I generated in Matlab.
>>>> | > Tell me when you push this changeset.
>>>> | >
>>>> | > Michael
>>>> |
>>>> |
>>>> | I've made changes that attempt to produce compatible behavior across
>>>> | several terminals. I've tested pdf, ps, eps, jpeg, jpg, and png (I had
>>>> | the bitmaps implemented incorrectly ... I apologize to those who I
>>>> | recall tried to get that point across over the last few weeks).
>>>>
>>>> | +      fprintf (plot_stream, sprintf ("%s\n", term_str));
>>>>
>>>> Why not
>>>>
>>>> fprintf (plot_stream, "%s\n", term_str);
>>>>
>>>> ?
>>>
>>> I'll fix that.
>>>
>>>> | +      [status, output] = system ("which convert");
>>>>
>>>> Is "which" reliable on all systems?  Why not just try to run the
>>>> convert command and see if it works?
>>>
>>> There is no "which" in windows. Does anyone know of an equivalent that
>>> works for XP and Vista?
>>>
>>> Ben
>>
>> Ok, I should always have my coffee before firing off quick replies :-(
>>
>> Does "which" work on Cygwin? ... In any event, I'll make that change as
>> well.
>>
>> Thanks
>>
>> Ben
>
>There is also different executable called convert.exe in
>C:\Windows\system32 which is a MS utility for file system conversion,
>so convert would be found even if ImageMagick was not installed.
>Wouldn't possible solution be to include convert in Windows Octave
>installer? (although that would probably mean including ImageMagick
>library)
>
>Regards
>Ivan Sutoris
>

Ok. I'll preserve the check for unix systems.

Ben




reply via email to

[Prev in Thread] Current Thread [Next in Thread]