From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/77015 Path: news.gmane.org!not-for-mail From: S Barmeier Newsgroups: gmane.comp.tex.context Subject: Re: **SPAM** ConTeXt breaks pdfcrop Date: Thu, 21 Jun 2012 09:00:55 +0900 Message-ID: <4FE26437.7080401@googlemail.com> References: <4FDECCDC.5000701@googlemail.com> <20120618104734.GE1003@smoon> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1340236875 7899 80.91.229.3 (21 Jun 2012 00:01:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 21 Jun 2012 00:01:15 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jun 21 02:01:10 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ShUpe-00042I-AY for gctc-ntg-context-518@m.gmane.org; Thu, 21 Jun 2012 02:01:06 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E43EF10203; Thu, 21 Jun 2012 02:01:05 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id u5gQ7I+MiBnn; Thu, 21 Jun 2012 02:01:04 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3BC84101F9; Thu, 21 Jun 2012 02:01:04 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 68080101F9 for ; Thu, 21 Jun 2012 02:01:02 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Vh7tsFnINu7V for ; Thu, 21 Jun 2012 02:01:00 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id D6E9E101F8 for ; Thu, 21 Jun 2012 02:01:00 +0200 (CEST) Original-Received: from mail-pz0-f41.google.com (mail-pz0-f41.google.com [209.85.210.41]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q5L00xO1019866 for ; Thu, 21 Jun 2012 02:00:59 +0200 Original-Received: by dakp5 with SMTP id p5so69511dak.14 for ; Wed, 20 Jun 2012 17:00:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=N/cCD86sX5SZIE1N/u/bq+enQ9a8CYGNHP4dHa38x+w=; b=fxqPf33/5uMjeLe3WAu3L5qg8mH3WruMlumlTS5wH/W6GHrQkbopS/Ot4urrznbwNK FdY1dY/BS64E5Kz1Ny6zq+B4JGQfCyW65XIuwG60134f137axOV+do/jALpqRIwVTgt5 GEuzVowsKQGhZc9f81E42QyMOpUj5e3SZ9w3RKZV48iUdqymK8LltwwIOdLu9DvC0qgt 8Zi2F9pvf5kKzY4GuxADYpkbq+Jyfu0RIGJVi4XyQPRxnqBStikGXq9q1xK8U1RAtyJ8 Oa0CaxYZAVtsLuObooI2KjKdhE0HEZnkrrEPuAvI7PfGnEYP2QoPpRKa7ILl+/IwRE3l sXqA== Original-Received: by 10.68.192.39 with SMTP id hd7mr81244799pbc.97.1340236858551; Wed, 20 Jun 2012 17:00:58 -0700 (PDT) Original-Received: from [192.168.1.2] (softbank126065242241.bbtec.net. [126.65.242.241]) by mx.google.com with ESMTPS id op10sm2658737pbc.75.2012.06.20.17.00.56 (version=SSLv3 cipher=OTHER); Wed, 20 Jun 2012 17:00:57 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 In-Reply-To: <20120618104734.GE1003@smoon> X-Enigmail-Version: 1.5pre X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.210.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0RHoM0XSm - 687456e7532f - 20120621 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.13 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:77015 Archived-At: On 06/18/2012 07:47 PM, Vladimir Lomov wrote: > 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) > > #!/bin/bash > > PATH=/usr/local/texlive/2010/bin/x86_64-linux:$PATH > pdfcrop $@ > exit 0 > > and run as > > $ pdfcrop-tl FILE.PDF > > > (If I not mistake this is known as `wrapper'.) > > --- > WBR, Vladimir Lomov > Many thanks! Severin ___________________________________________________________________________________ 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 ___________________________________________________________________________________