ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hartmut Henkel <hartmut_henkel@gmx.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: simpleslides + combinepages != qpdf
Date: Tue, 3 May 2011 01:30:11 +0200 (CEST)	[thread overview]
Message-ID: <alpine.DEB.2.00.1105030127300.8663@hahepc1.hahe> (raw)
In-Reply-To: <7B4626C28B06A7418E938BF73D6DEE18F9F571EC00@KCL-MAIL05.kclad.ds.kcl.ac.uk>

[-- Attachment #1: Type: TEXT/PLAIN, Size: 3468 bytes --]

On Tue, 3 May 2011, Reviczky, Adam wrote:

> > found it: There were 4 null objects in an ObjStm in handout.pdf, stored
> > now compress: "nullnullnullnull" (not yet so in 0.70.x). Each null
> > object has a correct pointer to its begin (the 'n'), so one should
> > suppose that an object ends at the character ('l') just before the start
> > ('n') of the next null object. Like in the TeX string pool.
> >
> > But qpdf gives an error about a "nullnullnullnull" object (fully
> > ignoring the start of the 2nd null object!), and also Adobe Reader 9
> > quits with an error. Interestingly xpdf displays the file handout.pdf
> > without any problem. The problem is fixed by adding a space at to the
> > end of each object within an ObjStm, so there is now "null null null
> > null", see SVN 4242. No comment in the PDF Ref. on this. Looks like a
> > flaw in qpdf and the Reader?
> >
> > Regards, Hartmut
>
> Thanks Hartmut for fixing this!
>
> On another note I can't seem to compile the latest trunk anymore, it fails with:
>
> ...
> mv -f .deps/libluatex_a-writejp2.Tpo .deps/libluatex_a-writejp2.Po
> CWEBINPUTS=../../../source/texk/web2c/luatexdir/image TEXMFCNF=../../../source/texk/web2c/../kpathsea ./ctangle writepng.w
> This is CTANGLE, Version 3.64 (TeX Live 2011)
>
> Writing the output file (writepng.c):.....500.
> Done.
> (No errors were found.)
> gcc -DHAVE_CONFIG_H -I. -I../../../source/texk/web2c -I./w2c  -I/home/reviczky/Downloads/test/luatex-dir/luatex-0.70.0~svn201105022255r{revno}/build/texk -I/home/reviczky/Downloads/test/luatex-dir/luatex-0.70.0~svn201105022255r{revno}/source/texk -DNO_DEBUG  -I/usr/include/libpng12   -DPOPPLER_VERSION=\"0.16.4\" -I/usr/include/poppler   -I/home/reviczky/Downloads/test/luatex-dir/luatex-0.70.0~svn201105022255r{revno}/build/libs/obsdcompat -I/home/reviczky/Downloads/test/luatex-dir/luatex-0.70.0~svn201105022255r{revno}/source/libs/obsdcompat -I../../../source/texk/web2c/libmd5 -I../../../source/texk/web2c/luatexdir -I../../../source/texk/web2c/luatexdir/lua51 -DpdfTeX -I../../../source/texk/web2c/synctexdir -DSYNCTEX_ENGINE_H='<synctex-luatex.h>'  -Wall -Wunused -Wimplicit -Wreturn-type -Wdeclaration-after-statement -Wno-unknown-pragmas -Wmissing-prototypes -Wmissing-declarations -g -Wall -O2 -Wdeclaration-after-statement -MT libluatex_a-writepng.o -MD -MP -MF .deps/libluatex_a-writepng.Tpo -c -o libluatex_a-writepng.o `test -f 'writepng.c' || echo '../../../source/texk/web2c/'`writepng.c
> ../../../source/texk/web2c/luatexdir/image/writepng.w: In function ‘write_png’:
> ../../../source/texk/web2c/luatexdir/image/writepng.w:558:19: error: ‘PNG_FP_1’ undeclared (first use in this function)
> ../../../source/texk/web2c/luatexdir/image/writepng.w:558:19: note: each undeclared identifier is reported only once for each function it appears in
> make[1]: *** [libluatex_a-writepng.o] Error 1
> make[1]: Leaving directory `/home/reviczky/Downloads/test/luatex-dir/luatex-0.70.0~svn201105022255r{revno}/build/texk/web2c'
> luatex binary not stripped
> ls: cannot access build/texk/web2c/luatex: No such file or directory
> make: *** [build-stamp] Error 2
> ...
>
> Is that a problem on my end?

the PNG_FP_1 i have added recently, it's defined in png.h. Must be some
configure problem, maybe system png.h is used instead of the one coming
with the libpng within luatex. i don't have the problem here. Sorry,
needs investigation...

Regards, Hartmut

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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-05-02 23:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-02 23:13 Reviczky, Adam
2011-05-02 23:30 ` Hartmut Henkel [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-05-03  0:41 Reviczky, Adam
2011-05-02 20:49 Reviczky, Adam
2011-05-02 21:37 ` Hartmut Henkel
2011-05-02 22:54   ` Hartmut Henkel
2011-05-02 20:31 Reviczky, Adam
2011-05-02 20:26 Reviczky, Adam
2011-05-02 19:31 Reviczky, Adam
2011-05-02 20:16 ` Aditya Mahajan

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=alpine.DEB.2.00.1105030127300.8663@hahepc1.hahe \
    --to=hartmut_henkel@gmx.de \
    --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).