Add tags Information and discussion about MikTeX distribution for Windows; installation, administration; field reports
4 posts • Page 1 of 1
I have a problem concerning pdfcrop.
When I call pdfcrop from commandline I get the following error:
I'm using Windows7 x64, Miktex 2.9 (x86) and I installed Active Perl (x86).
The following files are present in my miktex installation:
C:\Program Files (x86)\TeX\MiKTeX 2.9\miktex\bin\pdfcrop.exe
C:\Program Files (x86)\TeX\MiKTeX 2.9\scripts\pdfcrop\pdfcrop.pl
I also tried copying pdfcrop.pl to
C:\Program Files (x86)\TeX\MiKTeX 2.9\scripts\pdfcrop\perl\pdfcrop.pl
but it didn't change anything.
My PATH varialbe contains:
C:\Program Files (x86)\Perl\site\bin
C:\Program Files (x86)\Perl\bin
C:\Program Files (x86)\TeX\MiKTeX 2.9\miktex\bin
I allready tried calling the perl script directly. It works but produces another error (probably due to some path error)
Does anyone have an idea what's wrong with my setup of pdfcrop?
Last edited by Ede_123 on Fri Aug 19th, 2011, edited 1 time in total.
Ok, I successfully broke pdfcrop on my laptop were it used to work before.
What I did was an update of MikTeX today. Yesterday everything worked ok...
Is there somebody who could assist me in locating the origin of the problem? Since I'm not too familiar with the internal structure of LaTeX it's quite complicated for me to track down what package update broke pdfcrop for me.
I assume first step would be to find what packages got updated and what version they were before. Is there a logfile somewehere, where the updates are written to?
Okay, I did it! pdfcrop is working again.
Problem seems, that pdfcrop.exe actually searches for pdfcrop.pl in
but after the pdfcrop update to v1.32 from 2011/08/10 ist is just written to
My approach to copy pdfcrop.pl into the subfolder /perl didn't work in the first place because I forgot to refresh file name database. (MiKTeX Options -> Refresh FNDB)
I'm going to refer this thread to Heiko Oberdiek, pdfcrops author. I assume he knows what to do, to resolve this problem in future versions.
Since it's probably an issue with MiKTeX and not with pdfcrop itself I created a bugreport here:
https://sourceforge.net/tracker/?func=d ... tid=110783
(From http://sourceforge.net/tracker/?func=de ... tid=110783)
4 posts • Page 1 of 1
Users browsing this forum: Bing [Bot] and 1 guest