"newpage" isn't working with v1.2017.13

0 votes
asked May 17, 2017 in Bug by liny (200 points)

Hi,

 

Not sure if this is bug or I'm missing something.

An example from PlantUML_Language_Reference_Guide.pdf:

@startuml
Alice -> Bob : message 1
Alice -> Bob : message 2
newpage
Alice -> Bob : message 3
Alice -> Bob : message 4
newpage A title for the\nlast page
Alice -> Bob : message 5
Alice -> Bob : message 6
@enduml
No matter using online plantuml or installed war with above script, I only see "message 1" and "message 2" diagram.
This should be workable, right?
 
Thank you.

1 Answer

–1 vote
answered May 17, 2017 by plantuml (294,960 points)
selected May 17, 2017 by liny
 
Best answer
A diagram with "newpage" generates more than 1 images. But the PlantUML server only display the first image.

It's not really a bug.

If you launch the command line with the same diagram, you will get three different files.

Does it sound better to you ?

Thanks,
commented May 17, 2017 by liny (200 points)
Thank you.
But I still hope PlantUML server can display all images.
commented May 7, 2019 by BobD (120 points)
edited May 7, 2019 by BobD
Agreed, this is not really a satisfactory answer. There's no indication from the server (or in the documentation) that this has occurred, and it would be preferable to display them all in a single image - otherwise the server functionality is incomplete.
...