Use separate layout for pdf generation.