I want to use the preprocessor to generate multiple WBS diagrams from json data. The newpage keyword doesn't work. Is it possible to do this with another approach?
@startwbs
!procedure $make_wbs($parameter)
' read json data here and make a wbs diagram based on parameter
!endprocedure
$make_wbs($parameter="X")
newpage
$make_wbs($parameter="Y")
@endwbs
Both diagrams are based on the same json data but use different "parts" of it. The "parameter" is used to select the relevant "part".