bugGNU Octave - Bugs: bug #52632, [octave forge] (generate_html)...


bug #52632: [octave forge] (generate_html) can't run demos with variable declarations

Submitted by:  Oliver Heimlich <oheim>
Submitted on:  Sun 10 Dec 2017 12:38:59 PM UTC  
Category:  Octave Forge Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Fixed Assigned to:  None
Originator Name:  Oliver Heimlich Open/Closed:  Closed
Release:  dev Operating System:  Any

Add a New Comment(Rich Markup)

You are not logged in

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


Fri 21 Sep 2018 11:43:05 AM UTC, comment #1:

get_output() is now in an extra file:


and a generate_package_html still worked in a test.
Closing as fixed.

Olaf Till <i7tiol>
Project Member
Sun 10 Dec 2017 12:38:59 PM UTC, original submission:

It is no longer possible to create HTML documentation with demos, which include variable declarations.

In html_help_text.m the demo code is run with `eval` in a subfunction `get_output`, which no longer allows to create variables (see bug #51698).

Error message during generate_package_html:

In the doctest package, this problem could be solved by moving the eval'ing function into a separate m-file, see https://github.com/catch22/octave-doctest/issues/167

Oliver Heimlich <oheim>


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

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by i7tiol (Posted a comment)
  • -email is unavailable- added by jwe (Updated the item)
  • -email is unavailable- added by oheim (Submitted the item)
  • -email is unavailable- added by oheim (OF admin)

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

    Only project members can vote.




    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-09-21 i7tiol StatusNone => Fixed
        Open/ClosedOpen => Closed
    2018-03-23 jwe Summary[octave-forge] (generate_html) can't run demos with variable declarations => [octave forge] (generate_html) can't run demos with variable declarations
    2017-12-10 oheim Carbon-Copy- => Added -email is unavailable-

    Back to the top

    Powered by Savane 3.3