Before adding the pdf-viewer style to a grid event, check if a pdf viewer is
available.
Filter the event styles in EventExtractor is the more general solution and make
it easier to apply the page number event to kwic.
fixes 145