docs: def find(self, name):
          """Return the index of the toc entry with name NAME.
  
             Return -1 for failure."""
          for i, nm in enumerate(self.data):
              if nm[-1] == name:
                  return i
          return -1