Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to rename @png's output file? #34

Closed
Roger-luo opened this issue Jun 6, 2018 · 2 comments
Closed

How to rename @png's output file? #34

Roger-luo opened this issue Jun 6, 2018 · 2 comments

Comments

@Roger-luo
Copy link
Contributor

Is it possible to rename @png's output file in the scripts? I didn't find how in the documents...

@cormullion
Copy link
Member

Coincidentally the latest master (work in progress) has this addition to the macros, so you can do:

@svg begin
   ...
end 400 400 "/tmp/t.svg"

I made this change because every image in a notebook was being given the same name, and I thought this was causing bugs somewhere. (It was something else...:)

Until I do a new release, you can either live on the bleeding master edge, or stick to Drawing()... finish() ...preview().

@Roger-luo
Copy link
Contributor Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants