diff --git a/Doc/myformat.perl b/Doc/myformat.perl index 1838de379ff..9ec56d244eb 100644 --- a/Doc/myformat.perl +++ b/Doc/myformat.perl @@ -183,12 +183,18 @@ sub do_cmd_refstmodindex{ &my_module_index_helper('standard', @_, 'REF'); } sub do_cmd_nodename{ &do_cmd_label(@_); } $any_next_pair_rx3 = "$O(\\d+)$C([\\s\\S]*)$O\\3$C"; +$any_next_pair_rx5 = "$O(\\d+)$C([\\s\\S]*)$O\\5$C"; +$any_next_pair_rx7 = "$O(\\d+)$C([\\s\\S]*)$O\\7$C"; +$any_next_pair_rx9 = "$O(\\d+)$C([\\s\\S]*)$O\\9$C"; +$any_next_pair_pr_rx_5 = "$OP(\\d+)$CP([\\s\\S]*)$OP\\5$CP"; +$any_next_pair_pr_rx_7 = "$OP(\\d+)$CP([\\s\\S]*)$OP\\7$CP"; +$any_next_pair_pr_rx_9 = "$OP(\\d+)$CP([\\s\\S]*)$OP\\9$CP"; $new_command{"indexsubitem"} = ""; sub get_indexsubitem{ local($result) = $new_command{"indexsubitem"}; #print "\nget_indexsubitem ==> $result\n"; - $result; + $result ? " $result" : ''; } # similar to make_index_entry(), but includes the string in the result @@ -216,7 +222,7 @@ sub do_env_cfuncdesc{ $function_name = "$4"; $arg_list = "$6"; $idx = &make_str_index_entry($3, - "$function_name " . &get_indexsubitem); + "$function_name" . &get_indexsubitem); } $* = 0; "
$h1 | \n$h2 | $'\n" + . "
---|
$h1 | \n$h2 | " + . "\n$h3 | $'\n" + . "
---|
See Also:
\n" . $_;