[Doxygen-users] Including DITAA diagrams into the documentation
                
                Brought to you by:
                
                    dimitri
                    
                
            
            
        
        
        
    | 
      
      
      From: flap <fb...@oh...> - 2023-12-02 12:48:52
      
     | 
| Hi list,
I'm using doxygen to generate my documentation including platuml images.
platuml uses SVG file formats and it works fine. The generated HTML code 
always uses filenames with the .svg extension.
When I create DITAA images, plantuml only supports PNG files for this kind of 
diagrams. The generated HTML code still uses a filename with .svg extension 
and this will fail in the browser, since it expects an SVG image, but finds a 
PNG file.
I tried to overwrite the filename with this example, but it still doesn't 
work.
@startuml {example.png} "ditaa example"
ditaa
+--------+   +-------+    +-------+
|        +---+ ditaa +--> |       |
|  Text  |   +-------+    |Diagram|
|Dokument|   |!Magie!|    |       |
|     {d}|   |       |    |       |
+---+----+   +-------+    +-------+
    :                         ^
    |    Ein Haufen Arbeit    |
    +-------------------------+
@enduml
It generates a PNG file with the name "example.svg" instead.
Is there some trick to force a specific filename for plantuml in these cases 
to get a correct html file?
Cheers
Jürgen
 |