Psychopathia Sexualis, by Richard Freiherr von Krafft-Ebing, is one of the first texts about sexual pathology.