Questions relating to the importing, exporting, and extraction of data from PDF files

learn more… | top users | synonyms (1)

81
votes
6answers
17k views

Exporting graphics to PDF - huge file

I want to draw some basic surfaces, export them to PDF and include them in a LaTeX file. I create a simple 3D graphics object, for instance with ...
33
votes
4answers
3k views

Saner alternative to ContourPlot fill

I am producing a large number of ContourPlot objects, which when exported generate notoriously large PDF files because it basically generates lots of little ...
31
votes
3answers
3k views

Avoiding white lines inside filled area in RegionPlot exported as PDF or PS

When doing a RegionPlotand then exporting (or saving from the front end) as PDF or EPS, there are small white lines in the filling of the region. Here's an example ...
30
votes
2answers
707 views

Graphics elements do not line up perfectly in exported PDFs

Bug introduced in version 9.0 and persisting through 10.4 Graphics elements do not always line up perfectly in exported PDFs using "Save As..." method. Take, for example: ...
17
votes
2answers
2k views

Some tutorials on formatting notebook for exporting to pdf

I love the way that Mathematica allows me to type in of formulas. It is really easy to type complicated expressions with shortcuts on the keyboard. It would be great if I could use Mathematica ...
26
votes
3answers
2k views

Save as pdf broken in version 10.0.2?

Fixed in 10.1 It looks like the save as pdf is broken after I update to version 10.0.2. The labels in the plot become a mess. Are there ways to fix it? The ...
37
votes
4answers
2k views

Saving a notebook as PDF, preserving syntax highlighting

Currently, one may save notebooks as PDFs from the menu by Save As... and then selecting PDF (on a Mac, I imagine it is similar on other OSs). However, the ...
8
votes
3answers
1k views

Avoiding grid lines inside filled area in RegionPlot exported as PDF

Basically the same question as here, but now with regions which have opacity. ...
16
votes
2answers
651 views

Export Plot3D in Mathematica 10.1 is Rasterized by default

When I use Export to export Plot3D to PDF format, I get different behaviour in Mathematica 10.1 compared to 10.0. In particular, ...
6
votes
3answers
1k views

Trouble with fonts when exporting a 2D-plot to vector formats

I've set up my plot to look exactly how I like it. At least it does so on screen. Upon export though, only the bitmap formats look the same. For PDF and EPS, the FontSize seems to get ignored and the ...
21
votes
1answer
2k views

How to control the page size when exporting as a PDF?

When I used Mathematica under Windows, I could control the page size of the pdf files created by Export[...,"PDF"] by setting the paper size in the print menu to ...
29
votes
3answers
3k views

How to embed fonts when exporting Mathematica graphics as PDF

Upon exporting a Mathematica graphics expression as a PDF, Mathematica does not seem to embed any nonstandard fonts used. When you open the resulting PDF document with a PDF viewer, all the text items ...
16
votes
4answers
2k views

Printing exported PDF graphics fails (version 8)

When I export even simple graphics, say, a DateListPlot to PDF under Windows, it refuses to print on any of the printers at work. Acrobat (Reader X) throws three ...
8
votes
2answers
2k views

Difficulties with Importing PDFs in Mathematica

I am trying to import a group of PDFs that I have downloaded (it is in the realm of 1,000+). They are a group of doctoral dissertations that I'm trying to automatically extract bibliographic ...
13
votes
3answers
891 views

PDF exports of ArrayPlot's are fuzzy (OS X)

This is now fixed in version 10.3. The problem is present up to version 10.2 only. [The following problem occurs on OS X; I don't know if it also occurs with other OS's.] If I produce a ...
11
votes
2answers
348 views

Sqrt disappeared when exporting plot to PDF in version 10

Bug introduced in 10.0.1 or 10.0.2 and fixed in 10.1.0 In version 10, if we plot with Sqrt in y-axis, and export to PDF, the square root disappears in the PDF ...
10
votes
3answers
482 views

Export MatrixPlot graphics to PDF

I am trying to export a plot generated by MatrixPlot to PDF but am having problems with the way the exported PDF is rendered. ...
7
votes
1answer
509 views

Export to PDF on OS X, font missing on Windows

Here is another problem with Mathematica plots and PDF. I have Mathematica 9.0.1 on Mac OS X. I want to export my plots to PDF to include them in a LaTeX document. If I export the plot with the ...
7
votes
2answers
893 views

Cropped pdf file after export

I have plot generated by Plot[] function that I want to export to pdf file. The problem is that Export[] function somehow cuts a ...
24
votes
2answers
427 views

How can I export graph as PDF with metadata such as Title and Author fields

I want to export a figure from Mathematica in PDF format. Moreover, I want to fill Author and Title fields of the PDF. For example, to fill Author field, I use the following code: ...
13
votes
2answers
417 views

PlotRangeClipping not working correctly with small ImageSize and PDF-export

Bug introduced in 8 or earlier and persists through 10.4 or later Although Mathematica has some nice plotting capabilities, there are some things which are annoying me: I like to export a Graphics ...
8
votes
1answer
1k views

How to avoid font substitution with Mathematica fonts?

When I export a Plot to PDF, a journal publisher complains that they do not have the Mathematica fonts. I believe there is a way ...
9
votes
2answers
740 views

Export list elements each to it's own page in a multi-paged PDF document

I have a list, myList, of let's say 20 (different) objects myList = Table["object", {20}] I know would like to export every ...
8
votes
1answer
564 views

How can I scale a plot in vector graphic or PDF form?

I am not at all a computer graphics expert, but it seems that portable document format (PDF) files have a "native size," even though they may (and usually do!) contain vector graphics that can be ...
6
votes
2answers
220 views

Mathematica-exported PDFs placed in Illustrator documents keep disappearing

This question is regarding interoperability between Adobe Illustrator and Mathematica. Illustrator has a File → Place... function which can insert complete figures inside Illustrator documents. ...
5
votes
1answer
2k views

Combine multiple PDF files into one document

I have multiple single page PDFs I'd like to join together into a single file. (Obviously I mean the file format and not the probability distributions here!) I'm aware of free online services such as ...
3
votes
2answers
172 views

Math diacritics go missing when exporting graphics [duplicate]

Bug introduced in 10.0.1 or 10.0.2 and fixed in 10.1.0 Take this example plot: ...
8
votes
1answer
845 views

Exporting plots with Cyrillic text elements to pdf

I'm trying to export a plot with some added notes which happen to be in Russian. Using Mathematica 8.04 and WinXP I evaluate ...
7
votes
2answers
2k views

Custom fonts show as boxes when opening Mathematica-made PDFs with Illustrator

If I export a PDF from Mathematica, then open it with Illustrator, the font glyphs will sometimes appear as boxes, depending on what font was used. Why does this happen? Is there a workaround? I ...
7
votes
1answer
374 views

Color ramp banding in PDFKit when exporting Raster image Inset to PDF

Here I produce a Raster image with large uniformly colored rectangles and put it in an Inset: ...
5
votes
0answers
195 views

Mathematica can't export $\sqrt{}$ [duplicate]

Fixed in version 10.1.0 It looks like version 10 can't export to pdf correctly with square root. For example: ...
3
votes
2answers
398 views

Change Header By Page

I would like to display the following header on of each page of an exported pdf specificTitle XXX XXX should be the ...
3
votes
1answer
513 views

Running external pdflatex command and importing the generated PDF document

There have been a couple of questions about incorporating labels and equations that were typeset in $\LaTeX$ into a Mathematica notebook. Ideally, this requires running ...
1
vote
0answers
117 views

Export to PDF file and use in latex, weird behaviour from using Acrobat

I have put all files here. All pictures are Exported from Mathematica 10.0.1 X64 (win7) using Export["filename.pdf",plotobject]. I first complied the latex file, ...
18
votes
3answers
2k views

Using Inset[..] to overlay a Graphics3D with its raster version

Preamble First let me explain the why. You can skip this and go directly to the question if want to answer it right away. We had more than one discussion about how to produce nice looking 3d plots ...
6
votes
2answers
358 views

Exporting BarChart3D as PDF produces artefacts

So I think the following image already shows the problem, similar to Avoiding white lines inside filled area in RegionPlot exported as PDF or PS the pdf export of the chart creates thin lines in the ...
32
votes
0answers
349 views

Hyperlinks not preserved when saving in PDF format in MMA V10

I usually create my course contracts in Mathematica and then save them in PDF format. The notebooks include hyperlinks and these have transferred to PDF without problem over the last several versions ...
8
votes
2answers
2k views

How do I save my animation/manipulation in pdf?

Is it possible to presserve my animation and manipulation plots in the pdf?
7
votes
1answer
1k views

How do I prevent fonts sizes and line weights from scaling in exported graphics?

It's common to export graphics from Mathematica that are subsequently scaled to various sizes that cannot (at least not conveniently) be anticipated. This is problematic in cases where (as is common) ...
13
votes
2answers
484 views

Export Plots to PNG in Printout Style

When creating a plot in Mathematica 10 (OS X 10.9.4 and Win 7) the FrameLabel and Ticks are greyish and only the Frame itself is black (see Screenshot bellow). Only when exporting the plot to PDF all ...
4
votes
1answer
892 views

Removing clipping masks from exported PDFs

I usually export graphics from Mathematica as PDFs which I tweak with Adobe Illustrator. When most plots are exported from Mathematica as PDFs they contain a large number of mostly useless clipping ...
10
votes
1answer
857 views

Efficient export of complex graphics to PDF

So I have 2D plot, made with DensityListPlot. Mathematica just cannot export them properly to PDF, so what I want to do is 1) export the plot itself, without axes, labels, etc, as a jpg image, and 2) ...
7
votes
0answers
119 views

How can I export 3D plots as vector graphics? [duplicate]

Consider the following simple example code: plot3D = ListPlot3D[{{0, 0, 1}, {1, 0, 0}, {0, 1, 0}}, Mesh -> All]; Export["plot3D.pdf", plot3D] As clearly seen, ...
5
votes
1answer
240 views

Extra spaces when exporting strings into pdf (bug, linux)

Rationale: Imagine you would like to create a publication quality figure in Mathematica, from under Linux. Naturally, it will contain text/labels. Problem: Here is a simple string ...
3
votes
1answer
237 views

Ugly plots when printing notebook to pdf

One image is worth one thousand words, so: Question: At what options should I be looking, so that what I see in my notebook is what I get in my printed pdf ? Here is the code I'm using: ...
15
votes
2answers
311 views

Upon PDF export, edgeless rectangles do not tile perfectly, and corners may be cut. Is this a bug?

Note: this problem is no longer present in version 10. Exporting the following as a PDF file ...
5
votes
3answers
186 views

Exporting PDF with large PaperSize

Suppose I create a new Notebook: nb = CreateDocument[{TextCell["PDF Test", "Section"], Table[PieChart@Range@5, {7}]}]; And set a big paper ...
4
votes
2answers
371 views

Change Meta-Information “Title” of PDF file in Export

Whenever I export a PDF file in Mathematica with the Export command, the meta-info of the pdf file will have the title as "Temporary Clipboard 0". I want to change the title. But using: ...
4
votes
1answer
726 views

Mathematica PDF import and fonts

I am trying to put nice LaTeX labels on my Mathematica plots. I can do this manually, or by introducing an extra GNUPlot step into my workflow, but it would streamline the process considerably if ...
3
votes
1answer
505 views

Exporting PDF file - incorrect graphic [closed]

I export graphics to PDF using: Export["/path/figure.pdf", plotname] It gives me more than enough quality for PDFLatex. But somehow, some exported plots have ...