# $sectlist->{KEY}{Status}[VI] = absent or markdown content
# $sectlist->{KEY}{Children} = a further $sectlist
# $sectlist->{KEY}{Key} = KEY
+# $sectlist->{KEY}{RealSectNode} = us, or our parent
# $sectlist->{KEY}{HasCaveat}[VI] = trueish iff other in a Para
# $sectlist->{KEY}{RealInSect} = containing real section in @insections, so
# $sectlist->{KEY}{RealInSect}{HasDescription} = VI for some Emph in Para
my $sectnode;
my $realinsect;
+ my $realsectnode;
foreach my $s (@insections) {
my $sectlist = $sectnode
? $sectnode->{Children} : $toplevel_sectlist;
HasCaveat => [],
};
$sectnode = $sectlist->{$key};
+ $realsectnode = $sectnode if $s->{Anchor};
+ $sectnode->{RealSectNode} = $realsectnode;
}
die unless $sectnode;
return $sectnode;