From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76962 Path: news.gmane.org!not-for-mail From: Vladimir Lomov Newsgroups: gmane.comp.tex.context Subject: Re: **SPAM** ConTeXt breaks pdfcrop Date: Mon, 18 Jun 2012 19:47:34 +0900 Message-ID: <20120618104734.GE1003@smoon> References: <4FDECCDC.5000701@googlemail.com> 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 1340016473 25547 80.91.229.3 (18 Jun 2012 10:47:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 18 Jun 2012 10:47:53 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Jun 18 12:47:52 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 1SgZUp-0005Lf-Rq for gctc-ntg-context-518@m.gmane.org; Mon, 18 Jun 2012 12:47:47 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 09864101FC; Mon, 18 Jun 2012 12:47:48 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id zeflwDhgbOFQ; Mon, 18 Jun 2012 12:47:42 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 84299101E9; Mon, 18 Jun 2012 12:47:42 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8AA9A101E9 for ; Mon, 18 Jun 2012 12:47:41 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id HJIDZhWKYhxD for ; Mon, 18 Jun 2012 12:47:40 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 9630A101E0 for ; Mon, 18 Jun 2012 12:47:40 +0200 (CEST) Original-Received: from mail-lb0-f169.google.com (mail-lb0-f169.google.com [209.85.217.169]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q5IAldkX015820 for ; Mon, 18 Jun 2012 12:47:40 +0200 Original-Received: by lbjn8 with SMTP id n8so5407026lbj.14 for ; Mon, 18 Jun 2012 03:47:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=pLsgBADzDVT1MMttDwbJlvErll3p+Hfur7Geav6Frnc=; b=krQd0F+YuO/HgS1Rrih05qUvZTVASBL80HFsggpJrBhU1OQNMkJ4+Pzr87ObAfQHCV Sd4q3wvcGLxjohkCTsfEwwP0kgOJLso71owKaGySh7mTuJgGBNqmiLtp8fR6nnlR/PGD CWKec8/7uO2f+1LzAsuiAQbftJ4V0vZaJiFIzTyEH+eUuMCulChIfcBUJeEmK1oRF8sp 1HDkN/dfdRyzKuRXXdss2BkEOUom8GgdRQt2FCODwXbfV/Q5xcUe7l+zWgFlduAnY00e fZFDNz32CsGFVx+NxSxSNtZO7Hw5IqNmjTIigyfYIKwRoNJoNN60u0SVfZzVLqMfqfZQ gXiA== Original-Received: by 10.112.45.230 with SMTP id q6mr6291313lbm.94.1340016459597; Mon, 18 Jun 2012 03:47:39 -0700 (PDT) Original-Received: from smoon ([141.105.33.55]) by mx.google.com with ESMTPS id o5sm11133739lbg.5.2012.06.18.03.47.37 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 18 Jun 2012 03:47:38 -0700 (PDT) Mail-Followup-To: Vladimir Lomov , ntg-context@ntg.nl Content-Disposition: inline In-Reply-To: <4FDECCDC.5000701@googlemail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.217.169; 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: 0QHnKLEWA - 7f94ba0389e9 - 20120618 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:76962 Archived-At: 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 -- "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 ___________________________________________________________________________________