From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/112466 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ramkumar KB via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: Both pdfinfo & exiftool have trouble with 1.0.4 but works with 1.0.3 Date: Fri, 13 Aug 2021 23:35:07 +0800 Message-ID: References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0649015331627387556==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28271"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Ramkumar KB , mailing list for ConTeXt users To: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Fri Aug 13 17:36:03 2021 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mEZE2-00076w-St for gctc-ntg-context-518@m.gmane-mx.org; Fri, 13 Aug 2021 17:36:02 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5523C286728; Fri, 13 Aug 2021 17:35:27 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id m0xxcnoaG3LF; Fri, 13 Aug 2021 17:35:25 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id EB75E28675B; Fri, 13 Aug 2021 17:35:24 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 1DD28286759 for ; Fri, 13 Aug 2021 17:35:23 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ESTeVXaK8jGh for ; Fri, 13 Aug 2021 17:35:20 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.167.52; helo=mail-lf1-f52.google.com; envelope-from=ramkumarkb@gmail.com; receiver= Original-Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 16047286728 for ; Fri, 13 Aug 2021 17:35:20 +0200 (CEST) Original-Received: by mail-lf1-f52.google.com with SMTP id w20so20547314lfu.7 for ; Fri, 13 Aug 2021 08:35:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=gIg1sB5zbPqV/565xSrp+vQXbn1prEhibrAl8gfiqNE=; b=JPAybKvoKSyOEdJPYm62Y+/5oeRbQVQEdG2b0/8w9yMEcISwdeW4e/GV4qbJNdSxZ0 hfIsy5nojJSpG19H/u4dgRbcA2NzvGtHoTITfZTfmqSraT3uHQLk2TncCp0vxy6FeaE5 eBHo3Gu5SU+BL6w2lvzRsFrLXOo0SSxNGue5VQ7EajcvmtvxGp+vLxQNFpNTat8GrYRo PWt0nR9IJxnncQPpSyvomfWXZ2m5hLD/Gw3IRoR16KLsTWJ4/mjjTxSyXMnmuXYlqSJx kxnSlAwjxLjwKsxbaJsa/9y7Pl6JPypQK6+mISwLG+sBbyAApYPNVjbpuJdbZA5d6XFy 9O1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=gIg1sB5zbPqV/565xSrp+vQXbn1prEhibrAl8gfiqNE=; b=hyoThPwCe1WJXEK74jseRE9V4f6wR6tFgk1f475ErAeoTLMWbbHrtqYzwGc8+/9VhV vvnwoSNzWUcNKia9FGGvd3TDSWoGmwiD4U2bPB7UVp6pMa7msDMGMoTwQmGgpbsmFJqZ t2IZNZ1TYBtcQLBXV4B4CJtM4GRIy8pn5E+PkcMyPLB8Ict0Iauz8ZMVsgadKfOORABg dxLXWQTFQ6H9BGXMim30kdaBeyIXcqZx3dZogJnoMW6hyghZdakojxIv2F8zhwPRrWFQ OekVopbS88solQGDj1bNbcPHcBCWVXMFlX3QmzMIm9jy1Bv6xVIwf8vcSImPoLNxDj0d eHyw== X-Gm-Message-State: AOAM533EzdIumLYSRKcR1FYfp/2BNm7mAk6b57+nnPHI4tzyDTZhaBTx 5thBsJvVv/8mEhY/Dj2mVkzBFtQam22urvzYfZc= X-Google-Smtp-Source: ABdhPJy/0xGE4Xgm24t+T3cMCPzBi4W/dNFrnzO4K6qyHVabukO1J0OfEYPTxxJ6M5PW4YuN0sgZPiulvPDQ1YkC97Q= X-Received: by 2002:a19:d602:: with SMTP id n2mr2202645lfg.385.1628868918562; Fri, 13 Aug 2021 08:35:18 -0700 (PDT) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:112466 Archived-At: --===============0649015331627387556== Content-Type: multipart/alternative; boundary="00000000000046d53805c97299d8" --00000000000046d53805c97299d8 Content-Type: text/plain; charset="UTF-8" Hans, To close this thread, both poppler and exiftool worked properly after I upgraded to the latest version (details below). I will add a section in the wiki about these tools, as they are mighty useful when working with PDFs. mtx-context | ConTeXt Process Management 1.04 mtx-context | mtx-context | main context file: /home/tex/texmf-context/tex/context/base/mkiv/context.mkiv mtx-context | current version: 2021.08.10 12:42 mtx-context | main context file: /home/tex/texmf-context/tex/context/base/mkxl/context.mkxl mtx-context | current version: 2021.08.10 12:42 Thanks again! best regards, Ramkumar On Tue, Aug 10, 2021 at 7:01 PM Ramkumar KB wrote: > Hans, > > Thanks for the feedback. I will update to the latest version and run some > tests again. > > mtxrun does not list the custom attributes unlike the others. From our > (limited) experience, mutool / poppler / exiftool all excel in different > areas. Dealing with different tools and keeping them upto date is > something we have internalized. > > We did observe that mutool did not give errors with version 1.0.4 but > others did. In the ConTeXt development workflow, are there any tests with > such external tools (to possibly catch regression issues)? > > We have experienced (reasonable) success with tools like diff-pdf > to catch regression in our workflow. > > Thank you as always! > > best regards, > Ramkumar > > > On Tue, Aug 10, 2021 at 3:19 PM Hans Hagen wrote: > >> On 8/10/2021 6:33 AM, Ramkumar KB via ntg-context wrote: >> > Hi, >> > >> > We use PDF tools like mutool, pdfinfo (from poppler) and exiftool in >> our >> > workflow (once the PDFs are created by ConTeXt). >> > >> > But looks like we have hit upon some regression issue between 1.0.3 and >> > 1.0.4 versions. Both pdfinfo (from poppler) and exiftool are able to >> > read PDFs created from 1.0.3 but have trouble reading PDFs created with >> > 1.0.4. Please see below logs for details. >> hard to say without files but indeed updating might help >> >> btw, there is (kind of old but still ok): >> >> mtxrun --script pdf --info filename.pdf >> >> Hans >> >> ----------------------------------------------------------------- >> Hans Hagen | PRAGMA ADE >> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands >> tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl >> ----------------------------------------------------------------- >> > --00000000000046d53805c97299d8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hans,

To close this thread, both popple= r and exiftool worked properly after I upgraded to the latest version (deta= ils below). I will add a section in the wiki about these tools, as they are= mighty useful when working with PDFs.

mtx-context=C2=A0 =C2=A0 =C2=A0| ConTeXt Process Management = 1.04 mtx-context=C2=A0 =C2=A0 =C2=A0| mtx-context=C2=A0 =C2=A0 =C2=A0| main context file: /home/tex/texmf-context= /tex/context/base/mkiv/context.mkiv mtx-context=C2=A0 =C2=A0 =C2=A0| current version: 2021.08.10 12:42 mtx-context=C2=A0 =C2=A0 =C2=A0| main context file: /home/tex/texmf-context= /tex/context/base/mkxl/context.mkxl mtx-context=C2=A0 =C2=A0 =C2=A0| current version: 2021.08.10 12:42

Thanks again!

best reg= ards,
Ramkumar

On Tue, Aug 10, 2021 at 7:01 PM Ramkumar KB &= lt;ramkumarkb@gmail.com> wro= te:
Hans,

Thanks for the feedback. I will update to the= latest version and run some tests again.

mtxrun d= oes not list the custom attributes unlike the others. From our (limited) ex= perience, mutool / poppler / exiftool all excel in different areas. Dealing= with different tools and keeping them upto date is something=C2=A0we=C2=A0= have internalized.

We did observe that mutool did = not give errors with version=C2=A01.0.4 but others did. In the ConTeXt deve= lopment workflow, are there any tests with such external tools (to possibly= catch regression issues)?

We have experienced (re= asonable)=C2=A0success with tools like diff-pdf=C2=A0to catch regression in our = workflow.

Thank you as always!

best regards,
Ramkumar


On Tue, Aug 10, = 2021 at 3:19 PM Hans Hagen <j.hagen@xs4all.nl> wrote:
On 8/10/2021 6:33 AM, Ramkumar KB via ntg-cont= ext wrote:
> Hi,
>
> We use PDF tools like mutool, pdfinfo (from poppler) and exiftool in o= ur
> workflow (once the PDFs are created by ConTeXt).
>
> But looks like we have hit upon some regression issue between 1.0.3 an= d
> 1.0.4 versions. Both pdfinfo (from poppler) and exiftool are able to <= br> > read PDFs created from 1.0.3 but have trouble reading PDFs created wit= h
> 1.0.4. Please see below logs for details.
hard to say without files but indeed updating might help

btw, there is (kind of old but still ok):

mtxrun --script pdf --info filename.pdf

Hans

-----------------------------------------------------------------
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0Hans Hagen | PRAGMA ADE
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Ridderstraat 27 | 80= 61 GH Hasselt | The Netherlands
=C2=A0 =C2=A0 =C2=A0 =C2=A0 tel: 038 477 53 69 | www.pragma-ade.nl | www.= pragma-pod.nl
-----------------------------------------------------------------
--00000000000046d53805c97299d8-- --===============0649015331627387556== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============0649015331627387556==--