Menu

Tables of Contents

General
ffcurry
2013-06-16
2013-06-17
  • ffcurry

    ffcurry - 2013-06-16

    Is there any way to put keywords into say the comment of each function so that one can get get ND to sort (and preferably alphabetize) a table of contents into sections? For example, one might have different types of functions---math functions, graphics functions, private functions, etc, and one might like to have these listed in separate tables at the beginning.

    Also is there a way to make it alphabetize in the table itself and not just the index?

    Thanks,

    Pop

     
  • Greg Valure

    Greg Valure - 2013-06-17

    No, what you should probably use are group topics, like this:

    // Group: Math Functions
    
    /* Function: MathFunctionA
     * Description
     */
    int MathFunctionA () { ... }
    
    /* Function: MathFunctionB
     * Description
     */
    int MathFunctionB () { ... }
    
    // Group: Graphics Functions
    ...
    

    The summary won't alphabetize automatically, but that's something that will probably be introduced in the future.

     

Log in to post a comment.