Q1: I would like to have a macro to be able to access the output filename without the extension
Q2: Why this does result in the full file name?
@startuml test.svg note right: %filename% @enduml
(--------)
Q1: With last beta https://www.dropbox.com/s/koo42q3d9gxw288/plantuml.jar?dl=0
you can have:
@startuml foo.png note right: %filename% note left: %filenameNoExtension% @enduml
Q2: Not sure to understand the question. This is simply our decision (see http://plantuml.com/preprocessing )
(Note that this is not working with the online server http://www.plantuml.com/plantuml because there are no "filename" in that case)