bugGNU Octave - Bugs: bug #41137, generate_html: does not produce...

 
 

bug #41137: generate_html: does not produce demo images with graphics_toolkit fltk

Submitted by:  None
Submitted on:  Tue 07 Jan 2014 04:54:29 PM UTC  
 
Category: Octave Forge PackageSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Documentation
Status: FixedAssigned to: None
Originator Name: Daniel MaterkaOriginator Email: -unavailable-
Open/Closed: ClosedRelease: other
Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Sun 19 Apr 2015 03:35:17 PM UTC, comment #7:

This bug appears to be resolved now that Octave 4.0 will be able to print invisible figures with either the FLTK or Qt toolkits.

There is still a remaining issue that demo plots with TeX markup will not print properly, but that is documented elsewhere and is an open bug report. There is nothing specific in the generate_html package to be fixed.

Mike Miller <mtmiller>
Project Administrator
Fri 10 Jan 2014 03:27:44 AM UTC, comment #6:

If someone works on this bug, might want to also look at bug #38540. It's assigned to me currently, but I haven't looked at it in a while. I've been using 3.6.4 to run generate_html the last few times I've needed to.

Mike Miller <mtmiller>
Project Administrator
Thu 09 Jan 2014 05:12:16 PM UTC, comment #5:

That's an Octave Forge package. As far as I'm aware, that's only used by maintainers of OF packages to generate the online documentation. They should be fine with it.

Carnë Draug <carandraug>
Project Member
Thu 09 Jan 2014 04:09:06 PM UTC, comment #4:

Not doing off-screen rendering is fine with me, but some people seem to get very angry about the prospect of seeing images flash briefly on the screen.

In any case, who has the power to change generate_html? It's not in core Octave so I haven't looked at changing it.

Rik <rik5>
Project Administrator
Thu 09 Jan 2014 11:32:26 AM UTC, comment #3:

Or alternatively, not do off-screen rendering. I think there's one demo on the image package that failed with gnuplot.

Carnë Draug <carandraug>
Project Member
Thu 09 Jan 2014 06:34:53 AM UTC, comment #2:

This is the same problem that core Octave has had for a long time, and is why we continue to require support for gnuplot. At least for core Octave the image generation scripts make a point of switching the toolkit over to gnuplot. This probably wasn't a problem until 3.8 because the default toolkit was gnuplot. Now that the default is fltk it sounds like generate_html needs to save the current toolkit, switch to using gnuplot, and then restore the toolkit that was in place when it was called.

Rik <rik5>
Project Administrator
Thu 09 Jan 2014 02:41:20 AM UTC, comment #1:

Confirmed, and I believe I found the cause. Retitling this bug report to reflect that.

The generate_html package which is used to make the HTML docs that are uploaded to octave.sf.net does not work if the graphics_toolkit is fltk, probably because it is trying to use off-screen rendering. No errors are reported, all HTML documentation is generated, but no images are produced. Switching graphics_toolkit to gnuplot is all that is needed to generate images again properly.

Forge maintainers, should we re-generate and re-upload HTML doc archives for the packages that are missing images?

Mike Miller <mtmiller>
Project Administrator
Tue 07 Jan 2014 04:54:29 PM UTC, original submission:

Hello!

I saw that, there are some missing images below the examples on this page:
http://octave.sourceforge.net/octave/function/contour.html

Best regards!

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by mtmiller (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 19 Apr 2015 03:35:17 PM UTCmtmillerStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Thu 09 Jan 2014 06:34:53 AM UTCrik5CategoryDocumentation=>Octave Forge Package
    Thu 09 Jan 2014 02:41:20 AM UTCmtmillerStatusNone=>Confirmed
      Operating SystemGNU/Linux=>Any
      Summarymissing images on documentation page=>generate_html: does not produce demo images with graphics_toolkit fltk

    Back to the top


    Powered by Savane 3.1-cleanup1