Welcome to PlantUML Q&A, where you can ask questions and receive answers from other members of the community.

You can also submit new features request and vote for them.

page (hpages)x(vpages) and multiple diagrams in source file

0 votes
When several diagrams are in the same text file (e.g. f.txt), the output file for the first diagram is named f.png. Subsequent output files are named f_001.png, f_002.png etc...

If the first diagram is split on several pages, using the page(hpages)x(vpages), the first page will be in f.png (consistent with name of first diagram) but the second page will in f_001.png, and the second diagram will also be in f_001.png. The viewer shows the same twice, but the diagram content is the same (it's the second diagram).

The workaround I have is to create a first diagram with a title only, thus generating an otherwise useless f.png

Example to reproduce the issue: have the following text in the same text file:


  page 1x2

  title diagram 1



  title diagram 2

asked Mar 29 in bug by Chris38 (390 points)

1 Answer

+1 vote
Best answer
Thanks for the feedback.

This should be ok in last beta:


Tell us if it's not the case,

Thanks again for all your tests, it really helps to improve PlantUML quality!
answered Mar 29 by plantuml (126,850 points)
selected Mar 29 by Chris38
Support This Project Offer 250 Mo! Follow PlantUML on Twitter