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

learn more… | top users | synonyms

55
votes
6answers
8k 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 ...
25
votes
3answers
2k 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 ...
24
votes
2answers
998 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 ...
17
votes
1answer
903 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 ...
16
votes
4answers
1k 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 ...
14
votes
2answers
213 views

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

Exporting the following as a PDF file Graphics[{ {Red, Rectangle[{0, 0}, {1, 1}]}, {Green, Rectangle[{1, 0}, {2, 1}]} }] does not produce perfectly tiled ...
8
votes
2answers
196 views

PlotRangeClipping not working correctly with small ImageSize and PDF-export

Although Mathematica has some nice plotting capabilities, there are some things which are annoying me: I like to export a Graphics oder Plot to PDF for use in $\LaTeX$. I like to a have an ImageSize ...
8
votes
1answer
392 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
1answer
479 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 ...
7
votes
1answer
322 views

Font size in PDF export with legended plots not working

I need to export plots as PDF with a given image and font size. Everything is working fine if there is no legend for that plot. However, if I want to export legended plots, the font size is decreased ...
7
votes
1answer
193 views

Exporting German Umlauts to PDF and importing them doesn't work - character encoding problem

I am using Mathematica 9.0.0.0 under German Windows 32bit. I am on trying to export and import German text to PDF and re-import it. It seems that there is a confusion about the character encoding. It ...
6
votes
2answers
258 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 ...
6
votes
2answers
584 views

How do I save my animation/manipulation in pdf?

Is it possible to presserve my animation and manipulation plots in the pdf?
6
votes
2answers
1k 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 ...
6
votes
1answer
643 views

Some tutorials on formatting notebook for exporting to pdf

I love the way that Mathematica handles type inn of formulas. It is really easy to type complicated expressions with shortcuts on keyboard. It would be great if I could use Mathematica completely to ...
6
votes
1answer
243 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: ...
6
votes
1answer
216 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
1answer
459 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) ...
5
votes
2answers
352 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 ...
5
votes
3answers
399 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. ...
5
votes
1answer
961 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 ...
5
votes
2answers
241 views

Export notebook in landscape orientation

Assuming the following is a notebook with a linebreak: How might I export a landscape pdf (preferred although other formats could work) such that each cell content each group of cells above and ...
5
votes
1answer
141 views
4
votes
2answers
315 views

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

[The following problem occurs on OS X; I don't know if it also occurs with other OS's.] If I produce a Graphics object with ...
4
votes
2answers
150 views

Background color of Code cell lost when convert a notebook file to pdf

Well, I have a notebook with the built-in stylesheet Preprint, which I'd like to convert it to pdf. Everything works well except for the code cells(I use the shortcut key alt+8 to create cells of code ...
4
votes
1answer
293 views

Exporting Cyrillics in PDF on Linux

I'm using Mathematica from Ubuntu. I need a normal font to display cyrillics inside PDFs. Any default font is very ugly, letters are too close together: ...
4
votes
2answers
183 views

Is it possible to export a live CDF document to PDF in the browser?

I am creating a computable document format (CDF) to embed in an HTML page. I would like to have a button that can be clicked to create/save a PDF of the CDF fromt he browser. The idea is that a person ...
4
votes
1answer
539 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 ...
3
votes
1answer
136 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: ...
3
votes
1answer
128 views

Importing numerical values from a PDF file

I need the numerical values from pdf files like this one. When I use the usual Import command, the PDF imports, but pages of images. How can Mathematica be used ...
3
votes
1answer
432 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
288 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 ...
3
votes
1answer
178 views

generating pdf using UseFrontEnd

I run mathematica on a remote server and run it in batch mode using /math -noprompt -script 'scriptname.m' & Now, I use ssh -X to connect to the server. The server is linux based and my computer ...
3
votes
0answers
51 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 ...
3
votes
0answers
90 views

Problem with exporting a plot with a legend to PDF

I've found a simple example that illustrates my problem: ContourPlot[x^2 - 1 == y, {x, -1, 1}, {y, -1, 1}, PlotLegends -> "Expressions"] When I try to export ...
2
votes
3answers
583 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 ...
2
votes
1answer
117 views

How to break graph to fill in the gap in pdf

I've printed my notebook into a pdf. There is a huge gap in the left page, due to the fact that the graph in the right page isn't divided to fill in the gap. Is there a way to fix it, preferably ...
2
votes
1answer
111 views

Exported PDF copy-and-pastable

Is it possible to export pdf documents that allow the user to copy and paste the exported code/text? The following table demonstrates what is pasted after copying the example symbols from a pdf ...
2
votes
2answers
99 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 ...
2
votes
1answer
392 views

How to import a Microsoft Word document into Mathematica?

I have a Microsoft Word document in DOCX format. I need to import it into Mathematica as a String preserving all formatting (font, size, bold/italic style, colors, ...
2
votes
2answers
288 views

Combine multiple notebook files into a pdf/rtf/word/etc file?

It's the end of the semester and I have a prof who wants me to turn in a printout of the nb files ive worked on. I have 33 separate files, and I was wondering if there was any easy way I could combine ...
2
votes
1answer
91 views

PlotLegends and ImageSize

I have Mathematica 9.0.1, and I have problems with PlotLegends breaking the ImageSize directive. I defined ...
2
votes
1answer
158 views

Why are the elements of plots separated in exported PDFs?

When I export a plot to a PDF with something like Export["test.pdf", Plot[Sin[x], {x, 0, 2 Pi}], "PDF"] I get a file in which the axes have been separated from ...
2
votes
1answer
192 views

How can I export specific data into different pages in .PDF format?

I have made various Grid-s and arranged them column-wise in another Grid. All Grids are ...
2
votes
2answers
81 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: ...
2
votes
1answer
267 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 ...
2
votes
0answers
514 views

Automatically sending to Print (using CutePDF Writer)

I use CutePDF for creating PDF output, but this requires manually selecting Print (Ctrl+P), with CutePDF Writer as the printer, and pressing OK. Can this be automated?
2
votes
0answers
384 views

Can not Import PDF

I try to import PDF and extract text from it Import["D:\\Vegetarian MS.pdf", {"PDF", "Plaintext"}] but with some files I have a problem like this ...
1
vote
1answer
92 views

Exporting a histogram to PDF in without rasterising it

How can I export a histogram without rasterising it? The labels and axes seem unaffected, but the bars themselves are pixelated when I zoom into them in a PDF viewer. For example, if I run ...
1
vote
1answer
51 views

Set Page Width of PDF

I have a very simple question. I am using the student version of Mathematica 9, and I often do my homework in it. I type up a notebook, and then save it as a PDF using the "save as" option. However, ...