Questions tagged [pdfcrop]

64 questions
16
votes
2 answers

Is there a way to remove white margins when importing a pdf file?

A workaround is to use pdfcrop separately (in the terminal) to crop the PDF file we want to import. However - is there a way to remove white margins when importing a PDF file from within the tex file? The two common packages to import PDF files are…
tales
  • 265
10
votes
2 answers

Remove only top and bottom margins using pdfcrop

I usually use pdfcrop to remove white margins of pdf illustrations in LaTeX documents. Using it by command line: pdfcrop myfigure.pdf it removes all margins but to avoid me to resize the figure (if it has left and right white margins) I need a way…
Gabriele
  • 1,815
8
votes
2 answers

Install and use pdfcrop on windows

first of all I have to admit I'm definitely not an expext with tex stuffes ; I have found several post related to perl script not working with latex but I can't figure out what is happening on my computer. So, I try to use pdfcrop…
ClementWalter
  • 623
  • 1
  • 6
  • 11
6
votes
2 answers

PDFCrop: Is it integrated into Latex? Is it part of the graphix package? What on earth is it?

I am new to Latex and this place, so I have a few very simple questions, so simple that I do not find the answers: To automatically get rid of white spaces around an image on a PDF document I would like to insert into Latex, I should use PDFcrop,…
dan1789
  • 73
4
votes
1 answer

Can I pdfcrop a specific page out of a pdf containing several pages?

Can I pdfcrop a specific page out of a pdf containing several pages, say I want page 3 from a pdf that has four pages
Jiapan
  • 731
4
votes
2 answers

pdfcrop fails to crop a PDF document with non-white background

I have a PDF document created from the following input file. \documentclass[cmyk,a4paper]{minimal} \usepackage{geometry,xcolor} \pagecolor{cyan} \parindent=0bp \begin{document} \fbox{$\displaystyle E=mc^2$} \end{document} But it cannot be cropped…
Display Name
  • 46,933
1
vote
1 answer

pdfcrop crops too much or too little for some figures

I am on Windows 10, with pdfcrop 1.40 installed. For some figures, pdfcrop works fine, but not for others. For figures like this one it does not crop anything: While for figures like this one, it crops too much: Non-cropped figure: Cropped figure:…
bixiou
  • 73
1
vote
1 answer

why pdfcrop --xetex deletes all content of pdf file? TL 2015

I was reading this on the net, (abut 80% down the page), someone suggested to use pdfcrop with --xetex so that the generated pdf is smaller than the default. When I tried this option, on Linux with TL 2015, I found the cropped pdf file was all…
Nasser
  • 20,220
1
vote
1 answer

updmap error (affecting pdfcrop)

After installing texlive (on LMDE2), pdfcrop is running into errors. The error output is identical to the errors I get when I run updmap from terminal: /usr/local/texlive/2015/bin/i386-linux/updmap: kpsewhich -var-value=TEXMFROOT failed, aborting…
user86007
  • 11
  • 1
0
votes
0 answers

How to use pdfcrop on Overleaf or TeXworks?

I only use Overleaf and I need to use pdfcrop package, but I have no idea how it is supposed to be used. I have downloaded the package from CTAN, and I tried uploading its files to an Overleaf project and try to…
0
votes
1 answer

After El Capitan upgrade, pdfcrop does not crop pdf files

I have recently upgraded to El Capitan, and pdfcrop produces an output file, but does not crop the file. Any thoughts?
klurie
  • 111