octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #58126] generate_html produces duplicate figur


From: anonymous
Subject: [Octave-bug-tracker] [bug #58126] generate_html produces duplicate figures
Date: Mon, 6 Apr 2020 10:16:45 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0

URL:
  <https://savannah.gnu.org/bugs/?58126>

                 Summary: generate_html produces duplicate figures
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Mon 06 Apr 2020 02:16:43 PM UTC
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Moreno Marzolla
        Originator Email: address@hidden
             Open/Closed: Open
                 Release: 5.2.0
         Discussion Lock: Any
        Operating System: Any

    _______________________________________________________

Details:

The generate_html package produces incorrect results where demo blocks that do
not produce figures appear after blocks that do.
Have a look at the following page for the ctmc() function from the queueing
package that I maintain:

https://octave.sourceforge.io/queueing/function/ctmc.html

The function includes three demo blocks: 
- the first demo does not produce any figure, and is rendered correctly;
- the second demo produces a figure, that is correctly shown;
- the third demo does not produce a figure; however, the figure for the
previous demo is shown again.

The attached patch should fix this problem.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 06 Apr 2020 02:16:43 PM UTC  Name: generate_html.patch  Size: 1KiB  
By: None

<http://savannah.gnu.org/bugs/download.php?file_id=48773>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58126>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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