Protesters coming from an anarchist book fair used pipes and bottles on store windows and then against the police, officers said.