ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Vladimir Lomov <lomov.vl@gmail.com>
To: ntg-context@ntg.nl
Subject: Re: **SPAM** ConTeXt breaks pdfcrop
Date: Mon, 18 Jun 2012 19:47:34 +0900	[thread overview]
Message-ID: <20120618104734.GE1003@smoon> (raw)
In-Reply-To: <4FDECCDC.5000701@googlemail.com>

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	other threads:[~2012-06-18 10:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-18  6:38 S Barmeier
2012-06-18 10:47 ` Vladimir Lomov [this message]
2012-06-21  0:00   ` S Barmeier
2012-06-21  0:32     ` Aditya Mahajan
2012-06-21  0:42       ` S Barmeier
2012-06-21  0:45         ` Aditya Mahajan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120618104734.GE1003@smoon \
    --to=lomov.vl@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).