Code Monkey home page Code Monkey logo

pdf-export-sketch-plugin's Introduction

📕 PDF Export — Sketch Plugin

A Sketch Plugin to export artboards to a PDF document.

  • Export all pages
  • Export current page
  • Export selected artboards

PDF Export Preferences

Note: This plugin is no longer actively maintained; whilst functionality should still work, don't expect it to be updated in the future.

Features

🔥 Description
Artboard Export Order Easily set the export order of the artboards when running the plugin.
Export as PNGs into PDF This will export each artboard first into a PNG, then place those PNGs together into a single PDF document. This is extremely helpful for things such as 'images with fills', 'gradient fills', 'some shadows' that sometimes don't render well into a PDF.You can also specify the export size for the PNGs — same as the typical Sketch export; 200w = width of 200px, 100h = height of 100px, 3x = 3 times artboard size
Ignore Artboards/pages with prefix Do you sometimes have those few artboards you still want to keep around, but don't necessarily want to export? Or maybe a page that is an archive? Then this is perfect for you. When checked, you can specify a prefix. Every artboard or page with that prefix will be excluded when exporting.
Include 'Symbol Master' Artboards Perhaps you use Symbols and wish to include the 'Symbol Master' artboards in your export... now you can.

Why make this plugin?

Too often, I found myself going 'File > Export Artboards to PDF', then opening up the PDF and deleting pages I didn't actually want.

Sometimes I would duplicate a page in Sketch as a new iteration on the design. I would then want to export the single iteration—consisting of multiple artboards—into a PDF for distribution and printing purposes; so having a 'Export current page into PDF' option is a real lifesaver!! 😍

Installation

  1. Download the plugin
  2. Double-click the file, 'PDF Export.sketchplugin'
  3. That's it...

Follow @davidwilliames on Twitter

Twitter Follow

Check out my other Sketch Plugins:

If you find this plugin helpful, consider shouting me coffee ☕️ via PayPal

pdf-export-sketch-plugin's People

Contributors

dwilliames avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pdf-export-sketch-plugin's Issues

Symbol positioning off after exporting to pdf

after exporting for pdf, it looks like some of the symbols i use reposition themselves, as well as change the copy to something it was previously

Correct positioning
screen shot 2017-06-06 at 11 26 25 am

after export
screen shot 2017-06-06 at 11 22 41 am

feature request - support clickable links

with sketch's prototype feature you can add navigation links
but the default PDF export doesn't seem to support these, even though PDF itself will, unless I'm missing something

(and it's odd because I'm sure i've used that feature with sketch once before)

I wonder if that's something you'd consider adding?
It would allow to make simple transportable demo mockups

although perhaps a bit dependent on the PDF viewer, eg I dont think the mac default preview supports the hotspots

Sketch v100

Hello, it seems like the plugin isn't working with the new version of Sketch. Has anyone else experienced this?

Alert when attempting to export without Artboards

It should not possible to export a page if their are no artboards. However, at the moment the plugin will export a blank PDF page. It should instead popup an alert, saying that Artboards must be present.

Incorrect Feature Description

The description for the fourth feature i.e. Include 'Symbol Master' Artboards in README.md is incorrectly given as a subset of the description for the preceding feature.

Ignore Artboards and pages with SUFFIX or keyword

Hi,

thanks for your plugin and your work. It's great that you can ignore some artboard with a prefix but in may case, my artboard has already a prefix to name my artboards by ascending...so here it is : 100_artboard1, 200_artboard2 etc. and if I add a prefix with "-" it will blow all my order... :(

I was thinking of : 100_artboard-noExport- for example.

Thanks!

Font bolder in pdf than in the original sketch artboard

Hi! I am having this issue when i export to pdf (with the option export as PNGs into PDF unchecked). The fonts in the PDF looks a little bolder than in the original artboard. I have tried with a lot of different fonts and the problem is the same.
Some examples:
Captura de Pantalla 2020-11-23 a la(s) 10 52 01
Captura de Pantalla 2020-11-23 a la(s) 10 51 54
Captura de Pantalla 2020-11-23 a la(s) 10 51 40
Captura de Pantalla 2020-11-23 a la(s) 10 51 34

Symbol artboard background not included in export

Exporting to PDF an artboard containing a symbol which has a background does not include this symbol's background color, even if the option "Include in Export" is ticked in the native "Background Color" settings of the symbol's artboard.

Default Gray Matte

When using the 'Export PNGs into PDF' option, shapes and placed PNGs export with a gray matte. This only happens when there is no background color behind the layers with transparency, so when designing on a "white" background. I have to go back and add a white shape to all of my artboards in order to mitigate this.
Screen Shot 2019-07-22 at 12 36 12 PM
Screen Shot 2019-07-22 at 12 36 04 PM

I'm wondering if you could make the default matte white instead? Thanks!

Auto Layout vertical centering is ignored on PDF export

First of all, thank you for an awesome plugin! :)

However, i found a bug. When using Auto Layout to vertically center text in a symbol with text overrides, the PDF export ignores the vertical centering. You can see an example of this as well as the specific Auto Layout setting in question here:

Sk_rmbillede_2017_05_31_kl_16_11_33   Sk_rmbillede_2017_05_31_kl_16_09_12

Sketch version: 44.1

Steps to reproduce:

  1. Create a rectangle on an empty artboard
  2. Place one line of text on top of the rectangle
  3. Make the textfield and the rectangle into a symbol
  4. Go into the symbol, click on the text layer and select "Pin to center vertically" in the Auto Layout pane.
  5. Go back to the artboard and duplicate the symbol a couple of times and use text overrides to make one of the copied symbols text layer long enough to split into two lines of text
  6. Do a PDF-export and you should end up with a PDF that ignores the vertical centering, rendering the symbol with two lines of text looking weird because the two lines start from the middle and down instead of being centered vertically

I have included the exported PDF and the Sketch file as well:
https://adobe.ly/2qAzlfu

Padd behaves differently when I have an icon on the left, compared to when it's on the right

As you can see in the screenshots, I can't get Paddy to behave the same on both of these symbols.

The only difference in these symbols that I can figure out is that one has the icon on the left, one has it on the right.

The symbol with the icon on the right is behaving as expected.

I can't get the symbol with the icon on the left to do the same thing.

screen shot 2018-04-19 at 1 01 56 pm

The layers are exactly the same.

screen shot 2018-04-19 at 1 02 05 pm

And there are no constraints set in the symbol elements.

Any suggestions?

Since mac update, plugin broken?

Hey i was using the plugin fine, until a couple weeks ago, after the update from mac. I uninstalled the plugin and reintalled it. but still it is not working.

It makes a pdf allready, but it doesn't export the images correctly.
all icons or images with a fill over it will turn solid.
all background images with a overlay fill on it wil turn bright of the color that was used.
Seems like the plugin doesn't correspond with sketch? or it makes a pdf but on the same way as the sketch one dpes it.

Issue editing elements after exporting PDF

Seems to be an issue with Sketch Elements displaying weird editing behavior after exporting a PDF file using this tool.

Sketch Version 43.2
Steps to reproduce

  1. Install the plugin.
  2. Choose an artboard in Sketch and export to PDF using the plugin.
  3. After export return to the Sketch artboard and select a text element and hit return to edit the text.
  4. Text element cannot be changed but shows new text on top of old text.
  5. Quitting Sketch and opening the file again or drawing a new artboard then deleting it seems to resolve it.

bitmap

Sketch 45

Exporting artboards no longer generates a PDF file, no file is created.

Support Sketch 45 plugin update system

Hi there!

This is a quick note to remind you that Sketch 45 will include a plugin update system.

It would be awesome if you could add support to it (it's really easy!) before Sketch 45 comes out. Ideally, you should release an update for your plugin while we're still in Sketch 44, so your users will have a nice & easy experience when 45 is released.

For more details, please check http://sketchplugins.com/d/229-updating-plugins and http://developer.sketchapp.com/introduction/updating-plugins/

Thanks in advance!

PDF export has stopped working

It was working a couple of weeks ago but suddenly stopped.

I do not have the 'Export as PNG into PDF' selected which seems to have been the previous issue.

Any ideas?

Nested symbols not rendering

Hi,
Thanks for your great job!

I've got a little trouble when rendering nested symbols
Here is the comparison
image

Converts all symbols to layers on my page after export

I'm on the new version of Sketch and have been having lots of trouble with this plugin. First it was deleting entire "symbol-master artboards" so I no longer export those. But now, it's converting all my symbols to layers after I export. I go a bit crazy with symbols since I have loads of state changes so this is a HUGE inconvenience.

Using plugin with masked symbols

I am using masked symbols in my buttons to allow the button colour to be controlled with overrides.

Is there a way I can get Paddy to work with this technique?

This is where I got stuck:

screen shot 2018-04-19 at 1 37 04 pm

screen shot 2018-04-19 at 1 37 10 pm

Ignore Prefix Broken

The latest update broke the ignore prefix for me. It was working in the previous version.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.