The suspect accused of killing a police officer outside a Montreal hotel had a manifesto that links him to an online community of frustrated men who talk about attacks against people who have sex, an official familiar with the matter confirmed Tuesday.