Commit 2e7edb80 authored by Fred Drake's avatar Fred Drake

do_cmd_kwindex(): Re-implement now that \kwindex is used again (ref man).

parent d69e2c4f
......@@ -284,6 +284,16 @@ sub do_cmd_index{
"$aname$anchor_invisible_mark</a>" . $_;
}
sub do_cmd_kwindex{
local($_) = @_;
my($str,$br_id) = next_argument_id();
#
my($name,$aname,$ahref) = link_info($br_id);
add_index_entry("<tt>$str</tt>!keyword", $ahref);
add_index_entry("keyword!<tt>$str</tt>", $ahref);
"$aname$anchor_invisible_mark</a>" . $_;
}
sub do_cmd_indexii{
local($_) = @_;
my($str1,$br_id) = next_argument_id();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment