make modern and legacy style in pipeline

At the moment only one pdf file is created in the pipeline.

Can we achieve that both styles are generated in the pipeline?