[NTG-pdftex] 1.40.0-alpha-20051205

Hartmut Henkel hartmut_henkel at gmx.de
Thu Dec 8 21:50:24 CET 2005


Hi Robert and Ralf,

On Thu, 8 Dec 2005 w.m.l at gmx.net wrote:

> On 05.12.2005 00:39, Martin Schröder wrote:
> > It's roughly tested: The manual still compiles.
>
> I get a segfault with the following:
>
> \pdfcompresslevel=0
> \documentclass{minimal}
> \usepackage{multicol}
> \usepackage{hyperref}
> \begin{document}
> Numbers written in italic refer to the page
> where the corresponding entry is described;
> numbers underlined refer to the code
>  \begin{multicols}{2}
>    x\hyperpage{1}
>  \end{multicols}
> \end{document}
>
> When changing the text above ever so slightly, it will compile,
> however, there still won't be a link in the PDF. (Its object number is
> zero.)

thanks for testing. Seems to be in the pdflastlink change file, somehow
related to the replacement of

    obj_annot_ptr(obj_ptr) := p;

by

    obj_annot_ptr(pdf_link_objnum(p)) := p;

in do_link(). The original made sense, as the obj_ptr was just freshly
created. But no idea what the patched code does, which does not use
obj_ptr (shouldn't it?). The macros resolved look like:

obj_annot_ptr(pdf_link_objnum(p)) := p;
obj_aux(pdf_link_objnum(p)) := p;
obj_tab[pdf_link_objnum(p)].int4 := p;
obj_tab[mem[p+6].int].int4 := p;

This is one for Ralf...

Regards, Hartmut


More information about the ntg-pdftex mailing list