Comments (5)
@nathos I've updated the octicons in this repo so the keynote file has both black and white versions that can be copied & pasted.
from keynote-octicons.
@sophshep could you add a black version?
@nathos I started hacking on making this more automated, but I couldn't find any great prior-art for
- converting svg to keynote
- or creating keynote templates programmatically
- or creating powerpoint files programmatically
Ideally in the future this repo will pull in the svg files from primer/octicons and build the template.
from keynote-octicons.
@jonrohan I did discover that when using Sketch's "Export Artboards to PDF" from the octicons-master.sketch
file, it does a create a nice multi-page PDF:
Each page can be copy/pasted into Keynote as a vector object.
…but yes, creating the Keynote programmatically seems troublesome. It might be possible with AppleScript, but like most things AppleScript, it looks painful/limited:
tell application "Keynote"
activate
tell the front document
tell the current slide
-- TO CREATE A NEW IMAGE ITEM:
-- use the make command and include an HFS file reference to the file to be imported, as the value of “file” property
set newImageItem to ¬
make new image with properties ¬
{file:alias "Macintosh HD:Users:sal:Pictures:NASA Rocket.jpg"}
end tell
end tell
end tell
(via Sal Soghoian's iworkautomation.com)
from keynote-octicons.
The problem with just dropping them into keynote from sketch is when it's converted to pdf, there's no way to change the color. Which makes it sucky because we'll have to create a template for every color.
Ideally if we could import them as "symbols" which are keynotes version of scalable graphics. Then we can change the color within keynote.
The apple script approach is interesting, haven't looked at that yet.
Through some deep deep digging, I discovered that the latest powerpoint does import svg properly! And keynote has the ability to open powerpoint files.
from keynote-octicons.
were these created from a PDF export from Sketch? Any other automation involved?
I just copied and pasted them over from the sketch file directly. A pain in the butt since you need to do each one individually, but ultimately much faster than researching and building any scripts.
from keynote-octicons.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from keynote-octicons.