Questions tagged [pdf]

PDF (Portable Document Format) is an open standard for fixed format document exchange. Use this tag to indicate questions involving files in this format and also when software is generating/processing this format. When possible and possible relevant indicate the version of the PDF document (as retrieved from the file properties, or using "file document_name.pdf"

Filter by
Sorted by
Tagged with
-2 votes
0 answers
42 views

How to extract the digital signature from signed PDF

How to extract the digital signature from signed PDF (certificate which was used to sign the PDF and key), and use it to create another signed PDF? Preferably, using python or shell scripting. As far ...
minto's user avatar
  • 511
0 votes
0 answers
19 views

Are there any way to restore closed tabs in okular pdf viewer?

I am on an Arch Linux machine and okular is probably the best pdf viewer, except just one lacking feature which is restoring tabs when you reopen Okular. Now since there is no default option for doing ...
souraj ghosh's user avatar
0 votes
0 answers
7 views

How do I create and retain bookmarks in qpdfview or qpdf? I was using Ctrl+b and saving my bookmarks but it's not permanent after restarting qpdf

I think the main question is self-sufficient. To add things that I tried: I am on a linux machine so I was trying opensource options, and qpdf was the software I was already using. Tried to seek ...
souraj ghosh's user avatar
0 votes
1 answer
32 views

Open a new instance of a pdf file with zathura

I love zathura to read my PDF but there is an important feature I am missing. How can I open a copy on the current file (in another instance of zathura)? Thanks for your help! Update (solution): For ...
mahaaaham's user avatar
0 votes
0 answers
16 views

Display the current time during a PDF slides presentation (i.e., totally full screen)

I want to have current time (i.e., HH:MM) displayed in a corner of the screen when I present my slides (at the moment, I'm using Okular but I'm open to change). I have found a working solution $ cat ~/...
gboffi's user avatar
  • 1,352
0 votes
1 answer
40 views

Print two half-sized copies of a two-sided document at once

I have a two-sided, us-letter format document that I'd like to print two copies at once, by resizing it to half letter (a.k.a. statement, or organizer L). My current workflow is very inconvenient: ...
Clément's user avatar
  • 328
0 votes
1 answer
24 views

Image Magick produces two PDF pages from a single TIFF with convert

with Debian and this version of image magick: convert --version Version: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org Copyright: (C) 1999-2021 ImageMagick Studio LLC License: ...
freezr's user avatar
  • 1
0 votes
1 answer
21 views

Combine PDF forms including filled-in information

I have been trying to file my taxes by filling out the individual forms, which are fillable PDFs on the IRS's website, and concatenating them using the pdfunite command: pdfunite f1040.pdf f1040s1.pdf ...
Mirlan's user avatar
  • 101
0 votes
1 answer
46 views

How to tell convert command to skip a page in pdf?

I want to split a PDF page because it scanned two page at the time and I found this useful command: convert in.pdf -crop 50%x0 +repage -density 400 out.pdf But now I want this command to skip ...
malloc's user avatar
  • 135
0 votes
0 answers
113 views

Error opening directory with Okular due to "Too many levels of symbolic links" in Ubuntu 22.04

This location could not be displayed. Sorry, could not display all the contents of "Documents": Error opening directory '/home/arijit/Documents': Too many levels of symbolic links I ...
ARIJIT GURIA's user avatar
0 votes
0 answers
809 views

PDFInfoNotInstalledError: Unable to get page count. Is poppler installed and in PATH?

Currently I am trying to use pdfinfo for extracting the content in the pdf files. I have installed poppler-utils in local using !sudo apt-get install -y poppler-utils and it worked, Now I am running ...
ram_98's user avatar
  • 1
0 votes
0 answers
14 views

Get older revision of signed pdf in command line

I'm creating a multiple signed PDF with JSignPDF. I have an empty PDF file that I sign multiple times. Here is the minimum reproducible example of how I make the PDFs: $ echo '...
Kristian's user avatar
  • 249
5 votes
2 answers
276 views

evince opens pdf in "presentation mode"

when opening a particular pdf file, evince decides to open it in "presentation mode". I see in the man page that evince has -s option to open in presentation mode, but I did not invoke it. I ...
Martin Vegter's user avatar
0 votes
0 answers
48 views

How can I repair a pdf file without losing links within it?

I am using the following gs command: gs -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile=/path/to/output.pdf /path/to/input.pdf to repair a pdf file which may have various unclear problems ...
Tim's user avatar
  • 100k
0 votes
1 answer
35 views

Split and rotate multiple-pages PDF

I have a multiple-pages PDF which I would like to split (each page being split in 2 or 3 pages) and rotated. My aim is to be able to print a scaled version of my PDF. I tried this pdftk input.pdf cat ...
GlinesMome's user avatar
0 votes
0 answers
10 views

Scanned Pdf documents do not print every now and then with Brother MFC-J6930DW

I have the Brother MFC-J6930DW printer. Documents can be printed with Linux Mint without problems. PDF's created from documents are also no problem to print. If I want to print a scanned document, the ...
Lebewesen's user avatar
2 votes
0 answers
69 views

Combine PDFs to new PDF with filenames as bookmarks

I have a directory foo containing .pdf files named with pattern X01, X02, ..., each two pages long. I want to combine them to a new .pdf, named "all_YY-MM-DDTHHMMSS.pdf" that will contain ...
jay.sf's user avatar
  • 227
2 votes
0 answers
33 views

OCR high res images & combine OCR data later, after image compression?

I have a large number of .tif's coming out of ScanTailor. Is there a way that I might OCR those .tif's with tesseract, holding the OCR data separate from the images; then compress the images, and ...
Diagon's user avatar
  • 620
1 vote
0 answers
137 views

How to change PDF version output in pdftocairo?

Command pdftocairo is an utility from poppler-utils package. It's a PDF to PNG/JPEG/PDF/PS/EPS/SVG converter using Cairo. I use this command to update a very old PDF from version 1.2 to 1.5, for ...
Daniel's user avatar
  • 343
0 votes
1 answer
174 views

flatten pdf tool

I need a way to flatten PDFs, treating them as images. I frequently use LibreOffice Draw, as it is the perfect tool for many tasks. However, it has a frustrating bug when it comes to Hebrew text (I'm ...
Chicko's user avatar
  • 1
-1 votes
2 answers
91 views

Why is there "==> append : to filename to view the PDF source" at the beginning of the output of `less` on pdf files

When I use less to view the text part of a pdf file, I get ==> append : to filename to view the PDF source appended to the beginning of the output. Why does that happen? How can I suppress it? $ ...
Tim's user avatar
  • 100k
0 votes
0 answers
158 views

Converting a TXT file to PDF from the command line using a custom font

I want to convert a UTF-8 txt file to PDF for printing with CUPS. The problem I'm facing is that all tools I've tried have either failed to format the PDF (resulting in a fully white document with no ...
psvg200's user avatar
0 votes
1 answer
182 views

How to use evince to open PDF accessed through remote ssh?

It is extremely likely this question comes from a major misunderstanding, but I will explain what I am trying to do/have done. I am also not fully sure this is a Linux/Unix issue. My goal is to view a ...
lingStudent's user avatar
0 votes
1 answer
87 views

How to enable reading PDF annotations in zathura

I'm using Zathura document viewer and I wanted to have some support for PDF annotations, I'm using the ZATHURA-PDF-MUPDF and as far as I know mypdf has support for PDF annotations, but yet Zathura ...
Abdelrahman Dwedar's user avatar
1 vote
1 answer
43 views

Converting non-English manual pages to PDF/PostScript

I'm trying to convert manual pages containing either Japanese or Russian characters to the PDF/PostScript formats. I'm doing it with the following commands. man -Tpdf /usr/share/man/ja/man1/vim.1.gz &...
Shamaoke's user avatar
  • 191
0 votes
1 answer
55 views

How to find a file and copy its directory without copying the other files in that same directory?

I have a lot of different folders with pdf files and other extensions. I want to copy all the pdf files to another destination. But if I do that with find like this: "${SEARCHDIR}" -iname &...
pwrsheller's user avatar
0 votes
0 answers
68 views

URI to page or section of pdf

I am attempting to write a Markdown file for a project that references relevant sections of a large PDF. I can use URIs to link to files, such as the entire PDF, using file://<pathtofile> Can I ...
user15670876's user avatar
0 votes
1 answer
128 views

How can I fix font issue with a PDF file?

I have a PDF file (this Mazda owner's manual to be precise) with font issues. Therefore I cannot search within. For instance, if you search for the word electric, Okular cannot find it (I've also ...
şaloma's user avatar
  • 511
1 vote
1 answer
86 views

create larger pdf from smaller pdfs by putting several smaller pages onto the large one

I have one or several pdfs with small size like A5, A6 etc.. Possibly with more than one page. I want to create a large pdf like A4 that is completely tiled with the smaller ones, so that I can print ...
Kjara's user avatar
  • 131
0 votes
0 answers
30 views

All PDFs default as a picture of ImageMagick

Cinnamon Mint. All PDFs suddenly now open in default to a ghastly image of an 'ImageMagick' clown. i tried every one of your recommendations : Setting 'Document Viewer' as 'default' don't work, ...
nimpz's user avatar
  • 1
0 votes
0 answers
70 views

How to make Gnome Nautilus sort files in lexicographic order?

I have three pdf files in a folder. They are named 01.pdf, 1.pdf and 2.pdf respectively. When I click Name on the GUI to sort the files by name in ascending order they are sorted 1.pdf, 01.pdf, 2.pdf. ...
out49364's user avatar
0 votes
1 answer
78 views

Correcting typo in PDF, other solutions aren't working

I have a job interview on Tuesday, and I need to correct a typo "obestiy" [sic] to "obesity" in a PDF from LaTeX that I cannot recompile due to missing images and tables. I have ...
con's user avatar
  • 109
0 votes
0 answers
27 views

How to open PDF file in .Xsession custom desktop?

I am new to .xsession concept and my aim is to create a custom desktop where I can use only my GUI. So, I have created the below .xsession file and it is working good for me. #! /bin/bash gnome-wm &...
SPL's user avatar
  • 1
0 votes
2 answers
217 views

Any foss apps on Linux that contain the print booklet feature of Adobe Acrobat Reader?

I have been using the Print Booklet -function of Adobe Acrobat Reader on Windows. However the program does not have a Linux version, see download page. Also I don't see the option on Evince. Are there ...
dmy3628's user avatar
0 votes
1 answer
73 views

Is it possible to create such a tool that allows to save a being read text from a PDF reader into a string for handling this text afterwards?

The Linux Mint has a tool for PDF reading that is called the "Xreader" and installed by default together with the operation system installation. Is it possible to create such a tool that ...
SFriendly's user avatar
  • 101
0 votes
2 answers
103 views

Thunderbird unable to save file to PDF in gnome google drive

I am having a weird issue, whereby if I want to save an email through print to PDF from Thunderbird to the Gnome managed google drive mounted drive it doesn´t work. It simply returns back to the ...
N.Schipper's user avatar
2 votes
1 answer
227 views

Prevent PDF form modification

I am likely misunderstanding the concept here, but my case is this: I have a received a PDF with editable fields / form that I have filled. I want to lock it so that it can't be changed, but still ...
Err488's user avatar
  • 25
0 votes
1 answer
37 views

Uploading compiled .tex file (.pdf) to the root repo in Gitlab

I need your help with the following problem. I'm trying to compile a .tex document in GitLab and put my compiled .pdf file in the root repo. I have created a .gitlab-ci.yml file which has the ...
Mafsi's user avatar
  • 141
0 votes
1 answer
113 views

Gnome Evolution Email - Saving my messages as a .PDF file issue

I wanted to save some Emails with all the formatting, images, and attachments, just as they appear in Evolution. I know I can 'File > Back up Evolution Data...' but I want it so I don't have to ...
Maitland's user avatar
0 votes
0 answers
60 views

Evince annotations and bookmarks disappear after copying document

I add annotations and bookmarks when reading a document using Evince document viewer in gnome. However when I use evince to open a backup copy of a document that contained annotations and bookmarks, ...
bit's user avatar
  • 1,076
1 vote
2 answers
177 views

Crop a PDF file and remove hidden content

When I use the preview in macOS to crop a PDF file, the hidden content (outside of the cropped region) is still there. One can also notice this because the file size does not change. I noticed that ...
River's user avatar
  • 11
0 votes
2 answers
300 views

How can you compress images in a PDF (via a GUI, not batch or CLI util)?

While there's similar questions on how to compress a PDF using a command-line tool like ghostscript, is there a GUI experience to compress a PDF file's images? Previously on macOS I used tools like ...
Vivek Gani's user avatar
2 votes
1 answer
119 views

Escape %d for pdfseparate in a thunar custom action

I want to create a thunar custom action that lets me right-click a PDF and then select "split PDF" to split it into individual pages. The command to do this is: $ pdfseparate mypdf.pdf ...
ki9's user avatar
  • 393
1 vote
1 answer
584 views

How to create a script that takes screenshots of all pages of a given PDF file

I want to create a script that takes a PDF file as input and takes a screenshot of every single page in actual size(100%). So it would look like this: custom_pdfcapture example.PDF After execution the ...
efac793's user avatar
  • 11
0 votes
0 answers
217 views

Using wget to get pdfs from a specific page of a website

I need to download all PDF files that are linked from this webpage https://www.physicsandmathstutor.com/maths-revision/gcse-number/. Everything I have tried so far either does not get the files or ...
robotsheepboy's user avatar
0 votes
1 answer
81 views

Making pdf with single pages

I have a pdf which has 2 pages in a single page. I want to make it so that the file has single pages. What can I do to crop the images so that I no longer have two pages in a single page?
Vera's user avatar
  • 1,193
1 vote
0 answers
139 views

Splitting a 2up PDF MuTool ‘poster’ style

There are many command line tools to convert a 2-up PDF, where two actual pages from a book are combined to form 1 page in a PDF, into a single page format, where 1 PDF page is 1 actual page. The ...
mbr50's user avatar
  • 11
0 votes
1 answer
24 views

What are the Keyboard Shortcuts for PDF Arranger?

Where can I find the keyboard shortcuts and configuration file for PDF Arranger?
user2514157's user avatar
0 votes
2 answers
140 views

How to merge pdfs in order of their name in Linux Terminal? [duplicate]

I have 86 PDFs that I don't want to share on the internet and merge with online tools. I am using the PopOS Linux distro and I would like to merge it using the terminal. PDF names are like 1.SubjectA, ...
wodikiy313's user avatar
2 votes
1 answer
135 views

How would I add certain metadata to pdf files after using find

Say I use find command to find a group of pdfs. I want to add metadata to all of these pdfs, say keywords of red and small. What command could I execute? find (some criteria) -name "*.pdf" -...
paulj's user avatar
  • 228

1
2 3 4 5
14