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.

Our 1.0.4 is from April-2021. We will try to upgrade to the latest 1.0.4
and try again.

mtx-context     | ConTeXt Process Management 1.04 mtx-context     |
mtx-context     | main context file:
/ConTeXt/apr2021/tex/texmf-context/tex/context/base/mkiv/context.mkiv
mtx-context     | current version: 2021.04.21 11:39 mtx-context     | main
context file:
/ConTeXt/apr2021/tex/texmf-context/tex/context/base/mkxl/context.mkxl
mtx-context     | current version: 2021.04.21 11:39 mtx-context     |
ConTeXt Process Management 1.03 mtx-context     | mtx-context     | main
context file:
/ConTeXt/sep2020/tex/texmf-context/tex/context/base/mkiv/context.mkiv
mtx-context     | current version: 2020.09.20 23:02 mtx-context     | main
context file:
/ConTeXt/sep2020/tex/texmf-context/tex/context/base/mkiv/context.mkxl
mtx-context     | current version: 2020.09.20 23:02

*====pdfinfo (from Poppler)====* ~/TeX$ pdfinfo Hello-world_1.0.4.pdf  Syntax
Error: Missing 'endstream' or incorrect stream length Syntax Error: Missing
'endstream' or incorrect stream length Title:          Hello world!
Subject:        A ConTeXt template Keywords:       template Author:
 Mickey Mouse Creator:        LuaMetaTeX 2.09 20210418 + ConTeXt LMTX
2021.04.21 11:39 Producer:       LuaMetaTeX-2.09 CreationDate:   Tue Aug 10
10:18:36 2021 +08 ModDate:        Tue Aug 10 10:18:36 2021 +08 Tagged:
   no UserProperties: no Suspects:       no Form:           none
JavaScript:     no Pages:          2 Encrypted:      no Page size:      612
x 792 pts (letter) Page rot:       0 File size:      39062 bytes
Optimized:      no PDF version:    1.7 ~/TeX$ pdfinfo Hello-world_1.0.3.pdf
Title:          Hello world! Subject:        A ConTeXt template Keywords:
     template Author:         Mickey Mouse Creator:        LuaTeX 2.07
20200920 + ConTeXt MkIV 2020.09.20 23:02 Producer:       LuaTeX-2.07
CreationDate:   Tue Aug 10 09:16:30 2021 +08 ModDate:        Tue Aug 10
09:16:30 2021 +08 Tagged:         no UserProperties: no Suspects:       no
Form:           none JavaScript:     no Pages:          2 Encrypted:
no Page size:      612 x 792 pts (letter) Page rot:       0 File size:
39861 bytes Optimized:      no PDF version:    1.7

*====exiftool====* ~/exiftool/Image-ExifTool-12.29/exiftool
Hello-world_1.0.4.pdf  ExifTool Version Number         : 12.29 File Name
                   : Hello-world_1.0.4.pdf Directory
 : . File Size                       : 38 KiB File Modification Date/Time
   : 2021:08:10 10:19:52+08:00 File Access Date/Time           : 2021:08:10
10:20:17+08:00 File Inode Change Date/Time     : 2021:08:10 10:19:52+08:00
File Permissions                : -rwxr-x--- File Type
 : PDF File Type Extension             : pdf MIME Type
 : application/pdf PDF Version                     : 1.7 Linearized
              : No Warning                         : Error reading stream
data ~/exiftool/Image-ExifTool-12.29/exiftool Hello-world_1.0.3.pdf
ExifTool Version Number         : 12.29 File Name                       :
Hello-world_1.0.3.pdf Directory                       : . File Size
               : 39 KiB File Modification Date/Time     : 2021:08:10
09:17:51+08:00 File Access Date/Time           : 2021:08:10 09:18:00+08:00
File Inode Change Date/Time     : 2021:08:10 09:17:51+08:00 File
Permissions                : -rwxr-x--- File Type                       :
PDF File Type Extension             : pdf MIME Type                       :
application/pdf Linearized                      : No Author
          : Mickey Mouse Con Te Xt Jobname               : Hello-world Con
Te Xt LMTX                  : 0.10 Con Te Xt Support               :
contextgarden.net Con Te Xt Time                  : 2021-08-10 09:16 Con Te
Xt Url                   : www.pragma-ade.com Con Te Xt Version
   : 2020.09.20 23:02 Create Date                     : 2021:08:10
09:16:30+08:00 ID                              : Hello-world |
2021-08-10T09:16:30+08:00 Keywords                        : template Modify
Date                     : 2021:08:10 09:16:30+08:00 Subject
         : A ConTeXt template Te X Support                    : tug.org
Language                        : en Format                          :
application/pdf Creator                         : Mickey Mouse Description
                   : A ConTeXt template Title                           :
Hello world! Id                              : Hello-world |
2021-08-10T09:16:30+08:00 Con Te Xt Jobname               : Hello-world Con
Te Xt Time                  : 2021:08:10 09:16 Con Te Xt Url
   : www.pragma-ade.com Con Te Xt Support               : contextgarden.net
Con Te Xt Version               : 2020.09.20 23:02 Con Te Xt LMTX
        : 0.10 Te X Support                    : tug.org Lua Te X Version
              : 2.07 Lua Te X Functionality          : 20200920 Lua Te X
Lua Version            : 5.4 Lua Te X Platform               : win64
Creator Tool                    : LuaTeX 2.07 20200920 + ConTeXt MkIV
2020.09.20 23:02 Metadata Date                   : 2021:08:10
09:16:30+08:00 Producer                        : LuaTeX-2.07 Trapped
                 : False Document ID                     :
uuid:41a746a2-4d66-ad14-387a-ace654b14d2c Instance ID                     :
uuid:125a13c6-4cf4-9bff-2617-972e13516712 Page Mode                       :
UseNone Page Count                      : 2 PDF Version
 : 1.7
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to