PDF (Portable Document Format) is an open standard for document exchange.

learn more… | top users | synonyms

2
votes
0answers
23 views

Image size with gscan2pdf and ImageMagick `convert` bloat

I scan all my important incoming physical-mail to PDF. I am trying to move this activity to Linux as part of the process of eliminating my dependence on Windows - where I used to use the excellent but ...
1
vote
1answer
21 views

Convert linked html files into a pdf file?

I would like to convert an online book (linked html files) into a pdf file. I tried the two-step way in http://kmkeen.com/mirror/2009-02-05-14-00-00.html First, download the html files by wget -nd ...
0
votes
0answers
11 views

Clickable PDFs in rxvt

I would like to open PDFs (say, with evince) by clicking in the terminal. The setup is urxvt in Fedora 19 here, but if urxvt cannot do this, can you let me know which terminal emulators can. I got ...
1
vote
0answers
30 views

What is the resolution of a scanned pdf file? [migrated]

I scanned some documents using a Canon scanner, with resolution specified to be 300. I saved it into a pdf file Then I checked the resolution of the pdf file, by ImageMagick identify -verbose ...
2
votes
2answers
531 views

Can't print to PDF using cups-pdf; used to work, now “failed to set file mode” printing as non-root

Here's something really odd: something that used to work fine in Debian, and then broke, even without a dist-upgrade. I used to be able to use the CUPS PDF virtual printer to print anything to a PDF ...
4
votes
1answer
434 views

Configuring CUPS PDF writer for PDF/A output?

Can the PDF pseudo-printer in CUPS be configured to emit PDF/A files? If so, how to do it? I'm using CUPS 1.5.3-5 and CUPS-PDF 2.6.1-6 as provided by Debian Wheezy/7.0. Despite CUPS PDF Format - ...
1
vote
0answers
17 views

scan directories of .pdf and .ps files for keyword in title and author

I have got directories full of research papers. I would like to scan the files for keywords in the titles, the author lists, etc. Does a tool for that purpose exist?
10
votes
4answers
3k views

Is there some sort of PDF to text -converter?

I need PDF files to text so I can search over them in bulk from commandline. Is there some converter for Ubuntu, OBSD or similar distro? Perhaps related post, OCR with ubuntu here.
4
votes
1answer
50 views

Shortcut to google selected text

Is there a way to customize evince to search on Google a selected phrase? Like in Firefox where I select a text and right-click--> "Search Google for ..." If evince isn't customizable, is there any ...
0
votes
0answers
34 views

Firefox freezes with attachments or pdf

I am working on an old CentOs 5 machine. I am using Firefox as a browser. It worked fine until now, when every time I try to open a pdf or to attach something to the emails, it crashes. I tried to ...
14
votes
4answers
4k views

View pdf file in terminal

I want to see pdf files available on our cluster rather than copying them into my local machine and than visualize. Please tell me how can i do this.
3
votes
0answers
65 views

Standard workflow to digitize magazines or books using OCR while minimizing file size?

To scan books containing just text, black&white images and clear borders, the workflow I've been using is: digitize the source using a camera or just a scanner use scantailor finally use ...
3
votes
1answer
247 views

Corrupted PDF: Opens fine, but pyPdf bails with AssertionError

I received a PDF in an email and I want to crop and rotate it because it has two pages per sheet. Trying the solutions in Split pages in pdf I had problems with "AssertionError" in pyPDF and "Warning: ...
1
vote
1answer
28 views

Print PDF scaled-down and aligned

I want to print a PDF file with all pages scaled down equally (to, say, 70 %). The scaled-down pages should then be left-aligned on the printing paper. This doesn't seem to be possible with lpr ...
8
votes
1answer
343 views

Split PDF into colour and black/white pages

I would like to automatically split a large PDF document into two files: one file should contain only the pages with black and white content, and the other should contain only the pages with any ...
5
votes
1answer
55 views

How to print password protected pdf with cups from command line?

I have a *.pdf file that is password protected. I have the password and I can view the pdf with mupdf. However, printing with CUPS via lpr -P PRINTERNAME *.pdf does not work. All my printing is done ...
2
votes
0answers
23 views

MasterPDFEditor use black theme for PDF pages

@Crunchbang/Debian x32 I've been using MasterPDFEditor for quite some time & I'm impressed by its PDF annotation capabilities. However I decided to start using a black GTK+ theme & after ...
3
votes
1answer
312 views

TexLive and RHEL 6 — can I install 2011 *in addition* to 2007?

Our environment is Red Hat Enterprise Linux 6. By default, RHEL 6 comes with a version of TexLive from 2007. A user would like one of the extensions to TexLive ("PDFTex") to be updated. From ...
1
vote
2answers
20 views

How to extract bookmarks from a pdf file

I have a PDF file. I need the bookmarks in that file extracted to a text file or an excel. I also need to validate the bookmarks from the large PDF file. How could I do that?
5
votes
3answers
2k views

How can I add a signature .png to a PDF in Linux?

I have a scanned copy of my written signature and I need to apply it to some documents in the signature block. I used to do this on Windows all the time but I now have only Linux. Is this possible? ...
5
votes
4answers
1k views

Split PDF into documents with several pages each

There are several resources on the web explaining how one can split a PDF into many files with on page per file. But how can you split them into chunks of, say, five pages each? I have looked into ...
8
votes
2answers
249 views

Discovering metadata about a PDF

Suppose I have a PDF and I want to obtain whatever metadata is available for that PDF. What utility should I use? I find the piece of information I am usually most interested in knowing is the paper ...
15
votes
5answers
11k views

convert images to pdf: How to make PDF Pages same size

I did something like convert -page A4 -compress A4 *.png CH00.pdf But the 1st page is much larger than the subsequent pages. This happens even though the image dimensions are similar. These images ...
3
votes
1answer
41 views

Concatenate in a PDF the first page of several odt files alphabetically

I have, in the same directory, several odt files. I'd like to have in one PDF document the first page of these odt files, sorted alphabetically based on their filename. For example, if I have these ...
2
votes
1answer
26 views

Compile pdf file from multiple images scanned in by scanimage --batch

Say I'm scanning in images of documents with something like: scanimage --mode Gray --resolution 300 -x 215 -y 280 --format=tiff \ --batch=document-p%d.tiff --batch-prompt (In the example I've ...
1
vote
0answers
16 views

How can you pdfjoin smartly different sized pictures?

I'm running the default pdfjoin and getting results like this: How can you pdfjoin different sized pictures? My first idea is to add an empty page in front of all things.
1
vote
0answers
17 views

Can one move the OCRed text from one PDF to another PDF file?

Given a PDF file with OCRed text, is it possible to move the OCRed text to another PDF file?
1
vote
0answers
14 views

How can OCRed text be preserved while converting between djvu and pdf files?

Suppose a pdf file has OCRed text. How can we convert it to a djvu file and pass the OCRed text to the djvu file? Conversely, if exchange "pdf" and "djvu" in the above? Thanks!
2
votes
0answers
84 views

Ligatures missing in some PDFs

I have some PDFs which, when viewed in readers under Linux (tried atril from MATE and evince from GNOME), the ligatures (e.g. fi, fl) are missing, as can be seen from the example (it should be ...
1
vote
0answers
46 views

pdf viewer for text documents saved as images — bad rendering

The situation I have in mind is a .pdf document obtained from a scan, or at least such that some readers view it as an image (as opposed to text) and render it badly (see the screenshot below) My ...
14
votes
9answers
13k views

How can I grep in PDF files?

Is there a way to search pdf files using the power of grep, without converting to text first in Ubuntu?
3
votes
3answers
764 views

Lightweight feature-rich alternatives to OpenOffice and LibreOffice

I really like LibreOffice however I'm having issues with it freezing up and I can't seem to start a new instance of the writer on multiple desktops (I'm using dwm and want several documents open). ...
5
votes
1answer
154 views

Wrong emblem used for PDFs created by LibreOffice

If I create a test pdf file in a directory, by using something like ls -al > testpdf.pdf the file is shown in Caja 1.4.0 with an understandable emblem that is 'acrobat-like'. If I create a ...
1
vote
1answer
249 views

gs can't find the proper font

I am running the following command to add bookmarks to a pdf file. The file bookmarks.txt contains bookmarks in Chinese characters and in pdfmarks format. The output of gs shows that there seem to be ...
2
votes
0answers
127 views

Can't print pdf file with lpr

I am currently using Arch linux. I am trying to print a pdf file for the command line, it is easier that way as I need to print several range of pages. Just for testing I issue a command to print a ...
3
votes
4answers
1k views

How to view and edit the code of a pdf file

I was wondering how to view and edit the code of a pdf file? By viewing, I don't want to see the binary format, so I think hexdump may not be what I want. I tried gedit, but no encoding method can ...
2
votes
1answer
85 views

Change and save pdf annotation setting in Okular?

In Okular, I add inline notes to a pdf file. I change the default settings for inline notes: from default font "Ubuntu 13" to "Ubuntu 6", and from default opacity 100% to opacity 0%. But I ...
1
vote
1answer
46 views

problem with text added to pdf under Xournal after exporting to pdf

Under Xournal, I add some text to a pdf file, and then I export to a pdf file. In the exported pdf file, the text I added is shown correctly, and selectable, but when I copy and paste the selected ...
2
votes
0answers
68 views

Extract bookmarks from a pdf and add them to another in gs?

I have two pdf files, one with bookmarks, and the other without. I would like the second pdf file to have the same bookmarks as the first. I wonder how to do that using gs? Ideally, it will be nice ...
2
votes
1answer
97 views

Recursively find and move corrupted PDFs

The Issue I was using python-skydrive to download files to my PC, and I accidentally corrupted a good amount of my PDF files. When I try to view them in Document Viewer, I get the following error ...
1
vote
1answer
268 views

Imagemagick convert incorrectly sizes landscape pdfs

When I run convert example.pdf example.png I get a png image, but the image in the pdf is off-center and too small. How do I convert so that the png image is the right size and takes the whole ...
2
votes
0answers
492 views

troff to PDF conversion

I am very new to UNIX and trying to learn troff. I have some set of very old written troff files (before 20 years from now). Some samples are hereunder: file_00.g B,4.5,3.5,15.5,23.5 ...
3
votes
1answer
113 views

Good ways for annotating and searching in document (pdf, djvu)

For djvu files, I enjoy reading it in djview, because when I search for some words, it can show where all the results are at a glance, and highlight them simultaneously. This is much more convenient ...
2
votes
1answer
230 views

How can I extract images from a pdf file? [duplicate]

I have a pdf file that consists of an image per page. Are there any command line programs that can extract these images?
2
votes
1answer
63 views

How to change the color of all highlights in a PDF file?

I want to change the color of every highlight in a PDF file (without having it do for every highlight manually). Preferably with a command line command. Here is an example PDF with a highlighted ...
2
votes
4answers
12k views

How to install Adobe Acrobat Reader in Debian?

I've got deb http://debian-multimedia.org squeeze main in "/etc/apt/sources.list", but wajig update && wajig install acroread results in: E: Package ‘acroread’ has no installation candidate ...
7
votes
3answers
1k views

How to preserve bookmarks when rearranging pages of a PDF file with tools like pdftk?

I am using pdftk to rearrange pages of a pdf file with bookmarks/outlines, but after that, the output file lost the bookmarks of the original. My command is pdftk in.pdf cat 1-22 43 23-42 44-end ...
3
votes
1answer
474 views

Implementing a String -> PDF Stamp tool

I wrote a little shell function which creates a fixed-size PDF file (A4) from a character string using gs: make_stamp() { file=$1 string=$2 tmp=${file}-small.pdf gs -o "$tmp" -sDEVICE=pdfwrite ...
4
votes
6answers
2k views

Stitch two JPEGs together into a PDF

I need to take two 8.5in by 11in JPEG images and merge them together into two pages of a PDF. Is there a commandline or GUI tool to help me do this?
4
votes
3answers
412 views

Text annotations and image additions to PDF file using free software

I'm mostly interested in annotating a PDF file with text at a predetermined position. GUIs and command line utilities are both Ok, but only free software solutions, please. However, I included image ...