Hello,
** S Barmeier [2012-06-18 15:38:20 +0900]:

> I guess this has to do with my path variables, but having context
> minimals installed prevents pdfcrop from running successfully:

> PDFCROP 1.33, 2012/02/01 - Copyright (c) 2002-2012 by Heiko Oberdiek.

> kpathsea: Running mktexfmt pdftex.fmt
> /usr/local/texlive/2010/bin/x86_64-linux/mktexfmt: 395:
> /usr/local/texlive/2010/bin/x86_64-linux/mktexfmt:
> /home/user/context/tex/texmf/texconfig/tcfmgr: not found
> fmtutil: config file `fmtutil.cnf' not found.
> !!! Error: pdfTeX run failed!

> Does anybody have a suggestion of how to deal with this issue successfully?

Do you familiar with shell script writing?

> Thank you.
> Severin

> P.S.: I'm on ubuntu 12.04.

Save this code as `pdfcrop-tl' (or use any other name, except pdfcrop)
<code>
#!/bin/bash

PATH=/usr/local/texlive/2010/bin/x86_64-linux:$PATH
pdfcrop $@
exit 0
</code>
and run as
<terminal>
$ pdfcrop-tl FILE.PDF
</terminal>

(If I not mistake this is known as `wrapper'.)

---
WBR, Vladimir Lomov

-- 
"Protozoa are small, and bacteria are small, but viruses are smaller
 than the both put together."
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to