bugGNU Octave - Bugs: bug #41364, __makeinfo__ fails with texinfo 5.2

 
 

bug #41364: __makeinfo__ fails with texinfo 5.2

Submitter:  Arno Onken <asnelt>
Submitted:  Mon 27 Jan 2014 02:09:51 PM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 3.8.0 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 27 Jan 2014 05:19:21 PM UTC, comment #2: 

Argh.  Texinfo is a pain to keep up with.

I tested that adding the output option has no detrimental effect with 4.13, so it seems like a reasonable change.  I put the fix on the stable branch (http://hg.savannah.gnu.org/hgweb/octave/rev/1500ae1a1bea), and it will be a part of the 3.8.1 bug fix release.

Rik <rik5>
Group administrator
Mon 27 Jan 2014 04:47:21 PM UTC, comment #1: 

Confirmed. This must be why I keep a copy of makeinfo 4.13 around. Can someone confirm whether adding this option works in both 5.x and 4.x?

Mike Miller <mtmiller>
Group Member
Mon 27 Jan 2014 02:09:51 PM UTC, original submission:  

With texinfo 5.2 the built-in function _makeinfo_ returns an empty text when requesting html output. This is important for the octave-forge package generate_html which will generate documentation without function help text.

Example:

[r1, r2] = __makeinfo__ (get_help_text ('max'), 'html')


will return

r1=
r2=0


This is because by default makeinfo now writes the output to the input file. Adding "--output=-" to the makeinfo arguments fixes this, because makeinfo will then write to stdout.

Arno Onken <asnelt>

 

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

Attach Files:
   
   
Comment:
   

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 rik5 (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by asnelt (Submitted the item)
  • -email is unavailable- added by asnelt
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-01-27 rik5 StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2014-01-27 mtmiller StatusNone Confirmed
    2014-01-27 asnelt Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code