eps output not working for ditaa

0 votes
asked Jul 9, 2021 in Wanted features by albert (3,520 points)
recategorized Jul 10, 2021 by albert

When I have a plantuml file (ba.pu) like:

@startuml
Bob -> Alice : hello
@enduml

and use:

java -Djava.awt.headless=true -jar plantuml.jar -charset UTF-8 -teps ba.pu

the resulting ba.eps is an eps file, though when I have the file ditaa.pu with:

@startditaa
    +--------+   +-------+    +-------+
    |        | --+ ditaa +--> |       |
    |  Text  |   +-------+    |diagram|
    |Document|   |!magic!|    |       |
    |     {d}|   |       |    |       |
    +---+----+   +-------+    +-------+
        :                         ^
        |       Lots of work      |
        +-------------------------+
@endditaa

and use

java -Djava.awt.headless=true -jar plantuml.jar -charset UTF-8 -teps ditaa.pu

the resulting ditaa.eps is not an eps file but a png file.

Used version:

PlantUML Version 1.2021.8beta3

This problem has been reported against doxygen (https://github.com/doxygen/doxygen/issues/8657), but is clearly not a doxygen problem.

commented Jul 10, 2021 by albert (3,520 points)
edited Jul 10, 2021 by albert

From the answer:

⚠ On PlantUML, only PNG generation is supported.

which explains what is happening, but it is a big pity that PlantUML does not emit a warning / warning image (in eps format)

1 Answer

+1 vote
answered Jul 9, 2021 by The-Lu (63,920 points)

Hello A.,

Unfortunately:

⚠ On PlantUML, only PNG generation is supported.

See help on:

If that can help,
Regards,
Th.

commented Jul 10, 2021 by albert (3,520 points)
edited Jul 10, 2021 by albert
Thanks for the answer. It explains, unfortunately, the problem.

I've made a "Wanted Feature" from my question.

(I Can't make this the best answer as the best answer will be "it is fixed")
...