From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/55893 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: texexec --purge (was: Linux PPC64 & minimals) Date: Tue, 2 Feb 2010 16:57:26 +0100 Message-ID: <6faad9f01002020757r543e89f4la00b6bf65f1cc3df@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1265126265 20914 80.91.229.12 (2 Feb 2010 15:57:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Feb 2010 15:57:45 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Feb 02 16:57:39 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NcL8D-0008GR-S8 for gctc-ntg-context-518@m.gmane.org; Tue, 02 Feb 2010 16:57:37 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A741EC9CD7; Tue, 2 Feb 2010 16:58:34 +0100 (CET) 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 UuJ7-obaQQJE; Tue, 2 Feb 2010 16:58:31 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 250D1C9CC8; Tue, 2 Feb 2010 16:58:31 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2CE1EC9CC8 for ; Tue, 2 Feb 2010 16:58:28 +0100 (CET) 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 weo1T8hb3+nv for ; Tue, 2 Feb 2010 16:58:25 +0100 (CET) Original-Received: from ey-out-1920.google.com (ey-out-1920.google.com [74.125.78.146]) by balder.ntg.nl (Postfix) with ESMTP id 25FF7C9CC7 for ; Tue, 2 Feb 2010 16:58:24 +0100 (CET) Original-Received: by ey-out-1920.google.com with SMTP id 5so75163eyb.6 for ; Tue, 02 Feb 2010 07:57:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=oVy9qqimDa8wT0c9T5je9DnnfMrowKnJ+nurah3t7Nw=; b=H9I/xQfoXmEQSoZXzrAbIIAuZKkFzAjb8MVLsUZ01r70K3DsbeAfi+4XUStw8CLuHi xTIc8420OFeeTDEeITyCXghNLoUi77SZfRjxkG6rskDsUGGitSlzLTIROApFLwPAaZxs hMfTiCTiGingh9FYVzK/DUsrqLoUHt1yJydyA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=bPDptx4iXbxkyCnk8WeFF9IOxJaCAtk1adE/ef8R4MNpN1GSItWohakFPN/ffuvsY0 RRWTV+fTemv4i55L0NiC+U09ctD7W9wI/etHh1wDqplN+sVgDThKpofHw088XsueYq0M ixAld33xp3CX/i4hO5d/ingUizG7AwBKPqHbI= Original-Received: by 10.216.90.7 with SMTP id d7mr138422wef.81.1265126246162; Tue, 02 Feb 2010 07:57:26 -0800 (PST) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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:55893 Archived-At: On Tue, Feb 2, 2010 at 15:34, Mojca Miklavec wrote: > On Tue, Feb 2, 2010 at 15:15, Roger Mason wrote: >> Hi Mojca, >> >> texexec --purge simple.tex -> Output written on simple.pdf (1 page, >> 28424 bytes). >> >> texexec simple.tex -> Output written on simple.pdf (1 page, 28424 >> bytes). >> >> The document is always produced correctly, but --purge does not do its >> job and produces the errors listed in my original post. > > OK, that's reproducible here as well. The problem goes away if I comment out the lines 2053 and 2054 of tex.rb. I suspect that Kpse.runscript('ctxtools',rawbase,'--purge') if getvariable('purge') doesn't call the ctxtools script with proper quoting, so arguments are interpreted as commands instead of being just arguments. But I didn't inspect any further. Mojca texexec --verbose --purge besedilo ... pdfTeX warning: pdftex: no GlyphToUnicode entry has been inserted yet! Output written on besedilo.pdf (2 pages, 124469 bytes). Transcript written on besedilo.log. TeXUtil | parsing file besedilo.tui TeXUtil | shortcuts : 398 TeXUtil | expansions: 308 TeXUtil | reductions: 0 TeXUtil | divisions : 0 TeXUtil | loaded files: 1 TeXUtil | temporary files: 0 TeXUtil | commands: 29 TeXUtil | programs: 0 TeXUtil | tuo file saved sh: version: command not found sh: line 2: --bbeditinterface: command not found sh: line 3: --brandfiles: command not found sh: line 4: --contextversion: command not found sh: line 5: --dependencies: command not found sh: line 5: filenames]]: command not found sh: line 6: --disarmutfbom: command not found sh: line 7: --documentation: command not found sh: line 8: --dpxmapfiles: command not found sh: line 9: --jeditinterface: command not found sh: line 10: --listentities: command not found sh: line 11: --patternfiles: command not found sh: line 12: --platformize: command not found sh: line 13: --purgefiles: command not found sh: line 14: --rawinterface: command not found sh: line 15: --sciteinterface: command not found sh: line 16: --touchcontextfile: command not found sh: line 17: --updatecontext: command not found sh: line 18: --purge: command not found TeXExec | runtime: 5.496058 TeXExec | option 'purge' is set to 'true' TeXExec | option 'verbose' is set to 'true' TeXExec | option 'randomseed' is set to '132' TeXExec | option 'filename' is set to 'besedilo.tex' TeXExec | option 'mainlanguage' is set to 'standard' TeXExec | option 'bodyfont' is set to 'standard' TeXExec | option 'language' is set to 'standard' TeXExec | option 'engine' is set to 'standard' TeXExec | option 'distribution' is set to 'web2c' TeXExec | option 'texformats' is set to 'en' TeXExec | option 'mpsformats' is set to 'metafun' TeXExec | option 'progname' is set to 'standard' TeXExec | option 'interface' is set to 'standard' TeXExec | option 'runs' is set to '8' TeXExec | option 'backend' is set to 'standard' located : context-tex-besedilo.ctx -> scripts : ctxtools -> CtxTools | version 1.3.5 - 2004/2008 - PRAGMA ADE CtxTools | --bbeditinterface generate bbedit syntax files [--pipe] CtxTools | --brandfiles add context copyright notice [--force] CtxTools | --contextversion report context version CtxTools | --dependencies analyze depedencies within context [--save --compact --filter=[macros|filenames]] [filename] CtxTools | --disarmutfbom remove utf bom [--force] CtxTools | --documentation generate documentation [--type=] [filename] CtxTools | --dpxmapfiles convert pdftex mapfiles to dvipdfmx [--force] [texmfroot] CtxTools | --jeditinterface generate jedit syntax files [--pipe] CtxTools | --listentities create doctype entity definition from enco-uc.tex CtxTools | --patternfiles generate pattern files [--all --xml --utf8] [languagecode] CtxTools | --platformize replace line-endings [--recurse --force] [pattern] CtxTools | --purgefiles remove temporary files [--all --recurse] [basename] CtxTools | --rawinterface generate raw syntax files [--pipe] CtxTools | --sciteinterface generate scite syntax files [--pipe] CtxTools | --touchcontextfile update context version CtxTools | --updatecontext download latest version and remake formats [--proxy] ___________________________________________________________________________________ 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 ___________________________________________________________________________________