Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to find all links in a pdf file, but also their position x,y on those pages. I want to create pictures out of a pdf (that I know hw to do) which I will use on a web site, but I need to know about those links too. What ever you can give, I will be very thankful.

share|improve this question

1/2 answer !

To find back the links you could start playing with

pdftotext -layout yourpdf.pdf

and then you will have to script around with the generated text yourpdf.txt file and a grep command. Knowing the exact xy location of each link is out of my knowledge !

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.