Questions tagged [pdf]
Portable Document Format (PDF) is a platform-independent standard developed by Adobe System in 1993 for document exchange.
3,726
questions
240
votes
15
answers
280k
views
How Can I Convert Github-Flavored Markdown To A PDF
I have recently started learning Markdown for use with documentation, and need to print out a few of my Markdown pages. I would like to use a command-line, Terminal, etc. utility that allows me to ...
231
votes
19
answers
479k
views
How to compare the differences between two PDF files on Windows?
Do you know a good way to compare PDF files side-by-side and show the modifications between the two?
I'm looking for Windows software to accomplish this. It would be great if you can post both free ...
161
votes
9
answers
290k
views
Combine/merge PDF files in Windows? [closed]
Is there a painless way to combine/merge PDF files in Windows? I understand that pdftk will do it on Linux.
152
votes
11
answers
162k
views
How to convert a PDF document to PNG?
Is there a free way to convert a PDF document to a PNG image?
148
votes
3
answers
95k
views
Why does Chrome sometimes download a PDF instead of opening it? [duplicate]
When I go to certain addresses of PDF files, Chrome downloads the PDF instead of opening it using its built-in PDF viewer. The page is then blank white.
There is no problem with my Chrome settings: I ...
146
votes
15
answers
433k
views
How to know which fonts are used in selected part of a PDF document
I'm using Foxit Reader as default PDF viewer. How can I see what type of font is used for a selected part of a PDF document?
(If this can only be done with another software, I'd prefer a freeware as ...
124
votes
6
answers
209k
views
How can I fix/repair a corrupted PDF file?
Does anyone have any recommendation or procedures for repairing a corrupt PDF? When I open the file I get "There was an error opening this document. the file is damaged and cannot be repaired." ...
116
votes
16
answers
521k
views
How to remove security from a PDF file?
I am trying to fill out some docs, but the provided PDFs are "SECURED", meaning I can't use FoxIt's typewriter tools.
Is there any way to remove the security?
105
votes
4
answers
65k
views
Convert a PDF to greyscale on the command line in FLOSS?
I have a colour PDF file, and I'm going to print it out and then photocopy it in black and white. I'd like to know what it's like in B&W before photocopying it. Is it possible to 'greyscale' a PDF ...
99
votes
3
answers
44k
views
Can't convert PDF into image, because of 'no images defined' error
I've the following PDF file:
http://www.fmwconcepts.com/misc_tests/pdf_tests/test.pdf
But when I'm trying to convert it via:
$ convert test.pdf test.png
I've the following error:
convert: no ...
96
votes
12
answers
143k
views
Count the number of words in a PDF file
How can I get the word count of a PDF file? I think that most pdf files for which I want to get total word count have text layer embedded, so I need no OCR.
The task was arisen from searching for ...
94
votes
11
answers
96k
views
What's the back button of Adobe PDF Reader after clicking a hyperlink whose target is on the same document?
PDF documents have hyperlinks to the contents on the same document (analogous to "#section" hrefs for an HTML document). Where's the back button to go back to the page I was on (where I ...
87
votes
8
answers
99k
views
How do I convert a DjVu document to PDF in Linux using only command line tools?
I've got some documents in DjVu which I'll like convert to PDF. Is there a way to do this using command line OSS tools?
85
votes
6
answers
174k
views
How can I split in half a double-page scanned PDF in a single pass?
I have a scanned course and it has two pages, consecutive are showing as one page, how can I automatically split all the pages in one pass. Usually this is done by cropping odd and even pages and then ...
83
votes
5
answers
34k
views
How to replace a single page in a pdf using another pdf in linux?
I want to find out the easiest way to replace a single page in a multiple page PDF with another single page PDF in Linux. What tool is best for this?
Currently I do it like this:
split pdf to ...
83
votes
16
answers
119k
views
Stop PDFs from displaying inside Google Chrome
When I click on a PDF link in Chrome, it opens automatically inside the browser window. How can I get it to download instead and open with an external viewer?
Update:
I implemented djhowell's ...
83
votes
2
answers
104k
views
Export PowerPoint to PDF with each animation on a separate slide
I have a PowerPoint presentation where I extensively use simple animations, only appear/disappear effects triggered by the mouse (not time based), without any smooth transitions.
Is it possible to ...
80
votes
7
answers
91k
views
Convert many images to one PDF on Mac
How can I convert about 100 PNGs to one PDF on a Mac? I'm open to using the command line if it helps.
I have tried using iPhoto, but it quits, not sure why. Saving from Preview doesn't quite do what ...
78
votes
5
answers
117k
views
Split PDF document from command line in Linux?
I would like to extract page ranges from a PDF document into a new PDF document using the command line in Linux. Note that:
PDFtk - The PDF Toolkit fails for me with:
$ pdftk input.pdf cat 1 verbose ...
76
votes
6
answers
74k
views
How to read an ACSM file on Linux?
So, I needed the Semantics Engineering with PLT Redex textbook to complete a homework assignment this week. I needed it in a digital format because I'm going to POPL 2016 tomorrow and I can't have it ...
76
votes
20
answers
328k
views
Export word document with high resolution PNG to PDF
I have a nice high resolution PNG. (Download from Dropbox)
When I paste this into a new Word document, it looks good. I can't zoom in more than 500% but at that zoom level all lines are smooth, as ...
75
votes
2
answers
80k
views
View list of embedded fonts in PDF file with Preview
In Acrobat Reader I can go to File > Properties to see all the metadata for the open PDF file: the program that created the document, author information, embedded fonts, etc.
OS X's Preview can also ...
74
votes
3
answers
96k
views
How to extract vectors from a PDF file?
I have a PDF file with vector images inside it. (I downloaded it from the internet, so I do not have any originals.)
I wish to extract the vectors so that I can overlay them on some other images; use ...
71
votes
3
answers
12k
views
Why are PDFs generated from MS Word so large?
I created a simple MS Word document containing just this sentence:
This is a small document.
Nothing else. Then I've saved this document as DOCX and a PDF. Here are the file sizes:
DOCX: 12 kB
...
69
votes
12
answers
386k
views
Can't copy text from a pdf file
I am using foxit PDF reader to view my text book. I would like to copy the text from the pdf file into a word document but it won't let me. I can select the text fine but the option to copy text is ...
65
votes
6
answers
87k
views
How to merge pdf:s using Imagemagick (resolution problem)
When I try to merge two .pdf files using Imagemagick
convert pdf1.pdf pdf2.pdf temp.pdf
the resulting temp.pdf file seems to have very low resolution. How can I keep the resolution same as in the ...
65
votes
11
answers
97k
views
Is it possible to delete some pages of a pdf document?
How do I remove some pages of a .pdf file? I tried some tips mentioned in different websites, but to no avail.
64
votes
17
answers
686k
views
How to save a rotated Adobe PDF file
I received an Adobe PDF scan of a document that displays upside-down.
I rotated it inside Adobe Acrobat and chose Save As to make a new document, however, the rotation is not saved and when I open ...
64
votes
12
answers
61k
views
How to extract image from PDF file
I currently use Foxit's PDF reader, and I recently downloaded an image from the Internet, but it is inside a PDF file. How do I extract this image?
Operating system is Windows 7.
64
votes
11
answers
48k
views
Merge two PDF files containing even and odd pages of a book
I have two searchable PDF documents, say even.pdf and odd.pdf which contain even and odd pages of a book, respectively.
I can decompile each PDF to separate files 001.pdf 002.pdf 003.pdf, et cetera....
63
votes
12
answers
59k
views
How to convert a 1 page PDF to a 2 page per sheet PDF?
I would like to print a PDF so that on the front of the first page are the first two pages, on the back the 3rd and 4th and so on.
----------------- -----------------
| | | ...
63
votes
10
answers
140k
views
How to convert a webpage to PDF with preserving its look (exactly as on web browser) and text/links?
I'm looking for a way to convert a webpage to PDF, but preserving the webpage's look. Also preserving webpage's text (being selectable), searchable [Generating image screenshot for the webpage would ...
61
votes
10
answers
132k
views
How to merge multiple PDF files onto one page with pdftk?
I have a range of PDF files 1.pdf, 2.pdf, etc. that I would like to merge into one file, with all the PDFs tiled on one page.
Currently, I have tried pdftk to merge these files, but they are put on ...
60
votes
12
answers
18k
views
How to change internal page numbers in the meta data of a PDF?
I have a pdf document I created through non-Acrobat means (printing to pdf, then merging a bunch of pdfs), but I'd like to manually change the page numbers (i.e. the first several pages are simply ...
60
votes
1
answer
5k
views
How does less display PDFs?
I have tried several programs: pdftotext, pdf2txt.py, ... All of them can extract text from PDFs, but the one which is doing the better job is good ol' less: the text from the PDF has a proper layout. ...
58
votes
8
answers
72k
views
Is there a command-line method to split a multi-page PDF file into single pages?
I have a single PDF file 6 pages long that I want to split into six seperate pdfs (1.pdf, 2.pdf, 3.pdf) such that each file produced represents one page from the input. I would love to be able to do ...
56
votes
8
answers
140k
views
How to search inside PDFs with Windows Search?
I'd like to use Windows Search for searching through multiple PDFs in one go, but I see that in the Indexing Options' Advanced Options screen, PDF files don't have a registered IFilter:
What is an ...
55
votes
6
answers
46k
views
Is the pdftotext command line tool for mac?
I would like to know if there is mac version of linux command line tool pdftotext?
pdftotext
55
votes
10
answers
168k
views
How to convert Word (doc) to PDF in linux?
I have a set of files in .doc format, that need to be converted to .pdf format. I am using Ubuntu linux.
55
votes
7
answers
58k
views
Are there tools available for trimming PDF margins?
I have an ebook I'm trying to read in PDF format on a Kindle. Unfortunately, the page headers and footers have some content (page number and copyright info, respectively) preventing the device from ...
53
votes
1
answer
69k
views
Two-page view in full screen for Adobe Acrobat
Since i'm using a wide screen, i want to view two page in full screen while reading PDF. I can view two page in Reading Mode or normal view. however, whenever i switch to full screen mode, acrobat ...
53
votes
4
answers
49k
views
How to extract text from pdf in script on Linux?
On Linux - How to extract text from a .pdf in which text really is text, not a scanned image?
I want something I can use on the command line / in a script, not interactively.
(I don't want to convert ...
50
votes
9
answers
373k
views
How to copy text out of a PDF without losing formatting?
When I copy text out of a PDF file and into a text editor, it ends up mangled in a variety of ways. Formatting like bold and italics are lost; soft line breaks within a paragraph of text are converted ...
50
votes
3
answers
59k
views
correctly sizing PNG images in markdown with pandoc for html/pdf/docx
I am trying to use markdown with pandoc to convert a single document into html, pdf, and docx. It's an extremely simple document containing only math-less text and a few images. The images are in ...
49
votes
7
answers
158k
views
How to remove a watermark from a PDF file?
I thought this would be a simple task, but it turned out the other way.
The watermark is the very same (overlapping, but transparent) image on every single page. I created the PDF file myself (so no ...
49
votes
11
answers
69k
views
How to extract text with OCR from a PDF on Linux?
How do I extract text from a PDF that wasn't built with an index? It's all text, but I can't search or select anything. I'm running Kubuntu, and Okular doesn't have this feature.
49
votes
5
answers
23k
views
Make Chrome always open PDFs itself
I'm looking for a way to make Google Chrome always open PDFs with its internal viewer when I click a link, as opposed to downloading it to the default location. It works with most URLs, but some ...
48
votes
4
answers
54k
views
Removing PDF usage restrictions [duplicate]
I have several PDF documents which have the "no copy" and "no print" restriction bits set. Are there any free tools for removing such restrictions, on Linux?
I tried pdf2ps | ps2pdf but the size ...
48
votes
7
answers
49k
views
How do I decrypt a password-protected PDF on OSX?
I have a PDF that requires a password to view. I know what the password is. I frequently open this PDF to print it, and find entering the password each time incredibly annoying. How can I remove the ...
47
votes
1
answer
31k
views
Acrobat Reader & saving last page I read?
I like to read eBooks, but I tend to have a hard time keeping track on which page I am in which file. Is there a bookmark function or something similar that I'm not aware of?