This question about Using an extension: Answered

How to print multiple topics

Is it possible to print multiple topics with GenPDFWeasyPlugin like it is with PublishPlugin ?

And how can I do that if possible ?

Thanks !

-- ChipsInChief - 27 Nov 2015

I've not used GenPDFWeasyPlugin myself and from what I read in the docs, it does not provide an option to print multiple topics at once. However, as with most things with Foswiki, there's more then one way to achieve your ends. In different applications, I have set up special pages to enable printing multiple topics at once. The basic idea is to include multiple INCLUDEs with a special div styles as follows to force a page-break when printing:
<div style='page-break-before: always;'></div>

If you want to get a little fancier, you could define a form that allows the user to pass a list of topic references to the special page that has code something like this (using VarFORMAT macro):
%FORMAT{"%URLPARAM{"topiclist"}%" 
   format="$percntINCLUDE{\"$item\"}$percnt" 
   separator=" $n<div style='page-break-before: always;'></div> $n"
}%

-- LynnwoodBrown - 30 Nov 2015
 

QuestionForm edit

Subject Using an extension
Extension GenPDFWeasyPlugin
Version Foswiki 2.0.2
Status Answered
Related Topics
Topic revision: r2 - 30 Nov 2015, LynnwoodBrown - This page was cached on 02 Jun 2017 - 09:09.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License