ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Reviczky, Adam" <adam.reviczky@kcl.ac.uk>
To: "ntg-context@ntg.nl" <ntg-context@ntg.nl>
Subject: qpdf broken with beta since 2001/02/08
Date: Thu, 10 Feb 2011 11:29:15 +0000	[thread overview]
Message-ID: <7B4626C28B06A7418E938BF73D6DEE18F9E71DB462@KCL-MAIL05.kclad.ds.kcl.ac.uk> (raw)

Hi

I have a problem using qpdf (http://qpdf.sourceforge.net/) with context beta since 2011.02.08.
Don't really know whose fault it is, but there might be something wrong with mkiv.

All I want to do is generating a linearized (web optimized) pdf using qpdf as hinted on this list (see http://www.ntg.nl/pipermail/ntg-context/2011/055626.html).
I was able to use it until context beta 2011.02.08, and getting an error since.

Here's what I'm doing:

1)
test.tex contains
%%%
\starttext
Hello world!
\stoptext
%%%

2) running "context test.tex" to make the pdf

3) running "qpdf --linearize test.pdf out.pdf"
which creates the optimized out.pdf

So up until and including context beta 2011.02.05 everything was working.
---
reviczky@calcium ~/Desktop % qpdf --linearize test.pdf out.pdf
reviczky@calcium ~/Desktop %                                                   
---

But since beta 2011.02.08 (10:06) I get just a very brief error:
---
reviczky@calcium ~/Desktop % qpdf --linearize test.pdf out.pdf
operation for Name object attempted on object of wrong type
2 reviczky@calcium ~/Desktop %                                              :( 
---

Does anyone have a clue what might go wrong here?
Does context beta (mkiv) generates broken pdf's now? How can I check that?
qpdf isn't too helpful with that:
---
checking test.pdf
PDF Version: 1.6
File is not encrypted
File is not linearized
No syntax or stream encoding errors found; the file may still contain
errors that qpdf cannot detect
---

Perhaps there's something new in context that breaks the qpdf check?

Adam
___________________________________________________________________________________
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
___________________________________________________________________________________


             reply	other threads:[~2011-02-10 11:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-10 11:29 Reviczky, Adam [this message]
2011-02-10 11:43 ` Hans Hagen
2011-02-10 11:49   ` Martin Schröder
2011-02-10 16:40     ` luigi scarso
2011-02-10 12:24 ` Hans Hagen
     [not found]   ` <7B4626C28B06A7418E938BF73D6DEE18F9E71DB46C@KCL-MAIL05.kclad.ds.kcl.ac.uk>
2011-02-10 13:08     ` Reviczky, Adam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7B4626C28B06A7418E938BF73D6DEE18F9E71DB462@KCL-MAIL05.kclad.ds.kcl.ac.uk \
    --to=adam.reviczky@kcl.ac.uk \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).