26.8 Escape String for Makeindex

Produce a string that can serve as a index entry.

328aauxiliary subroutines 305b+   (330)  327  328b
sub escapeForMakeindexText {
    my($s)=@_;
    $s = escapeForTTLatex($s);
    $s =~ s /!/\"!/g;
    return $s;
}

Defines:
escapeForMakeindexText, used in chunks 325 and 328b.

Uses escapeForTTLatex 329.

Produce a string that can serve as a index key.

328bauxiliary subroutines 305b+   (330)  328a  329
sub escapeForMakeindexKey {
    my($s)=@_;
    return &escapeForMakeindexText(&escapeForHyperref($s));
}

Defines:
escapeForMakeindexKey, used in chunk 325.

Uses escapeForHyperref 327 and escapeForMakeindexText 328a.