filename directive on page

0 votes
asked Nov 25, 2019 in Wanted features by Ed
It would be great to be able to have the source filename put into a footer when generating/saving a diagram.  This would help as a reference to someone viewing the diagram (i.e. how do I change this? what is the filename that holds the source code?).

1 Answer

0 votes
answered Nov 26, 2019 by Serge Wenger Work (12,800 points)
edited Nov 26, 2019 by Serge Wenger Work

You can use:

caption %filename()

This is not working on online server 

commented Jan 14 by anonymous

But 

footer

%filename()

endfooter

Does work - it has no filename defined online so shows blank, but this way doesn't crash.

commented Jan 15 by Serge Wenger Work (12,800 points)

Yes, there is no filename defined on online server as I write in my answer:

    This is not working on online server 

...