bugGNU Octave - Bugs: bug #45530, generate_package_html, texinfo 4,...

 
 

bug #45530: generate_package_html, texinfo 4, function docs with only 1 deftypefn: empty html doc

Submitted by:  Olaf Till <i7tiol>
Submitted on:  Sun 12 Jul 2015 02:12:44 PM UTC  
 
Category: Octave Forge PackageSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 16 Jul 2015 06:11:51 AM UTC, comment #5:

This bug report can be closed.

Julien Bect <jbect>
Mon 13 Jul 2015 04:06:46 PM UTC, comment #4:

@Olaf: I have pushed your patch, and then another one that removes one more useless capturing group. It should be ok now.

Julien Bect <jbect>
Sun 12 Jul 2015 07:13:08 PM UTC, comment #3:

Mh, it should occur with any function which has only @deftypefn and no following @deftypefnx ...

It occured for the functions I just added in the last commits of the parallel package, e.g. inst/rfeval.m ...

Olaf

Olaf Till <i7tiol>
Project Member
Sun 12 Jul 2015 06:48:55 PM UTC, comment #2:

Hello Olaf,

Thanks for the patch.

Can you point me to an example of a function where the problem occurs ?

@++
Julien

Julien Bect <jbect>
Sun 12 Jul 2015 04:07:28 PM UTC, comment #1:

Adding package maintainer to CC

Carnë Draug <carandraug>
Project Member
Sun 12 Jul 2015 02:12:44 PM UTC, original submission:

With texinfo 4, for functions with only 1 '@deftypefn..' in their documentation, generate_package_html produces html with an empty body of function documentation.

The reason is that in a regexpression in texi2html.m one pair of the grouping paratheses should be made non-capturing, otherwise the captured token seems to be dropped if the token produced by the surrounding parantheses is equal to it ((...deftypefn...)+).

Patch is attached.

Olaf Till <i7tiol>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #34427:  changeset.patch added by i7tiol (903B - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jbect (Posted a comment)
  • -unavailable- added by carandraug (Julien Bect - maintainer of generate_html package)
  • -unavailable- added by i7tiol (Submitted the item)
  •  

    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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 16 Jul 2015 10:38:54 AM UTCcarandraugStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Sun 12 Jul 2015 04:07:28 PM UTCcarandraugCarbon-Copy-=>Added -unavailable-
    Sun 12 Jul 2015 02:12:44 PM UTCi7tiolAttached File-=>Added changeset.patch, #34427

    Back to the top


    Powered by Savane 3.1-cleanup1