Exporting to PDF - Background color and multiple pages
Hi
I'm trying to use Inkscape to write down(with wacom tablet) my solutions to different mathematical problems and then saving them as PDF:s so I can later upload and share my solutions. The problem I have now is that when I try to save my PDF the background color I have set in document proporties(black) isn't saved in the PDF. How do I include the background color in PDF export?
My other question is, is it possible to save an image to multiple PDF pages? Let's say that I define my drawing area to the height of 5*A4 and the width to 1*A4. Is it possible to split this image into 5 A4 when exporting to PDF?
Exporting to PDF - Background color and multiple...
-
- Posts: 5
- Joined: Wed Feb 02, 2011 5:14 am
Exporting to PDF - Background color and multiple...
Last edited by Christoffer on Sun Feb 06, 2011 4:58 am, edited 2 times in total.
Re: Exporting to PDF - Background color and multiple pages
No, but you can save as 5 PDFs and use the free program PDF split and merge (PDFSAM) to join them.
Your mind is what you think it is.
-
- Posts: 5
- Joined: Wed Feb 02, 2011 5:14 am
Re: Exporting to PDF - Background color and multiple pages
Thank you. Yea, that is a good solution...just an extra minute or two.
I'm still curious about my first question. Whether or not it's possible to save PDFs with black background(set from Document properties)? I will make them available with both white and black background. White for printing and black for reading on screen. A fast solution to this is to create a layer with a black rectangel covering way more area than the drawing/page area.
I'm still curious about my first question. Whether or not it's possible to save PDFs with black background(set from Document properties)? I will make them available with both white and black background. White for printing and black for reading on screen. A fast solution to this is to create a layer with a black rectangel covering way more area than the drawing/page area.
Re: Exporting to PDF - Background color and multiple pages
I don't think there is any way to have anything in the PDF or eps export that is not an actual described object.
Your mind is what you think it is.
Re: Exporting to PDF - Background color and multiple pages
Christoffer wrote:Whether or not it's possible to save PDFs with black background(set from Document properties)?
No (not possible).
See also: Bug #166396 in Inkscape: “background color not exported to formats other than png”
-
- Posts: 5
- Joined: Wed Feb 02, 2011 5:14 am
Re: Exporting to PDF - Background color and multiple pages
~suv wrote:Christoffer wrote:Whether or not it's possible to save PDFs with black background(set from Document properties)?
No (not possible).
See also: Bug #166396 in Inkscape: “background color not exported to formats other than png”
Thank you. The bug comments explains that in detail.
-
- Posts: 5
- Joined: Wed Feb 02, 2011 5:14 am
Re: Exporting to PDF - Background color and multiple pages
druban wrote:No, but you can save as 5 PDFs and use the free program PDF split and merge (PDFSAM) to join them.
Hmm, this wasn't as easy as I expected how do I save a big image into several PDFs. Within PDF export I never get to choose what part of the image to export...that is only when I do "export bitmap" to png.
-
- Posts: 5
- Joined: Wed Feb 02, 2011 5:14 am
Re: Exporting to PDF - Background color and multiple pages
Christoffer wrote:druban wrote:No, but you can save as 5 PDFs and use the free program PDF split and merge (PDFSAM) to join them.
Hmm, this wasn't as easy as I expected how do I save a big image into several PDFs. Within PDF export I never get to choose what part of the image to export...that is only when I do "export bitmap" to png.
Bump, anyone?
Re: Exporting to PDF - Background color and multiple pages
There is no export option or automated process in Inkscape to export to PDF in tiles (likewise for Print tiling).Christoffer wrote:Hmm, this wasn't as easy as I expected how do I save a big image into several PDFs. Within PDF export I never get to choose what part of the image to export...that is only when I do "export bitmap" to png.
You can do it manually though, making use of 'Resize page to selection'. For example like this:
- create a new layer on top (for the geometry of the tiles or slices to be exported as separate PDFs)
- draw rectangles (no stroke!!, fill color semi-transparent) that divide your drawing into the appropriately sized tiles. Use snapping and guides to position them precisely.
- select such a slice, change page size to selection (in 'Document Properties > Page')
- hide the tiles-layer
- 'File > Save a Copy…' as PDF (export area is page)
- unhide the tiles-layer, select the next tile and repeat
Re: Exporting to PDF - Background color and multiple...
Ehm, u mean to save as pdf from a bunch of images (or vectors), right?
well, i guess there is a way but u'know u have to code it and make a script to do so, also i would add the option to import more than 1 pdf img at same time...
and yeah, sure it would be a great thing to add to newer versions ...
well, i guess there is a way but u'know u have to code it and make a script to do so, also i would add the option to import more than 1 pdf img at same time...
and yeah, sure it would be a great thing to add to newer versions ...
Re: Exporting to PDF - Background color and multiple...
Sorry, didn't see the bump! ~suv's method is probably the best solution to your problem. My original suggestion was for a way to make, say, a five-page PDF from five Inkscape files. If you are originally planning a five page PDF document you could just draw five different illustrations separately; that's how I do these projects.
Your mind is what you think it is.
-
- Posts: 1
- Joined: Wed Jun 22, 2011 6:33 pm
Re: Exporting to PDF - Background color and multiple...
The Tiling suggested above is simplified with creating a tile and then using clone to fill the exact size required. I then followed through on the steps you've written and it worked like a charm.