fix conflict between amsmath and wasysym.
adjusting style definition of listings.
allow inclusion of local style definitions.