[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#344790: [Micha Feigin] Re: Bug#344790: hyperref: off by 1 error with pdf bookmarks and tocdepth



On Wed, 28 Dec 2005 12:59:55 +0100
Frank Küster <frank@debian.org> wrote:

> Hi Micha,
> 
> please keep the bugnumber in the Cc, so that the other maintainers also
> see the mail, and it gets properly archived.
> 

Sorry mixed up reply and reply all

> Frank Küster <frank@kuesterei.ch> wrote:
> 
> > I attached a sample file. If you change the tocdepth value from 1 to 2 the
> > bookmarks are one level behind the table of contents (for tocdepth=2 table of
> > contents shows subsections but bookmarks only sections, tocdepth=1 shows
> > sections in toc and nothing in bookmarks).
> 
> This is not the case here.  When increasing tocdepth, the bookmarks need
> 2 pdflatex runs to show the additional level, but they always show the
> same items as the toc does.
> 

I tried compiling it even 5 times before sending the initial bug report, doesn't help.

I get with tocdepth=2 only section 1 in the bookmarks without subsection 1 in
bookmarks (but it does appear in toc).

With tocdepth=1 nothing in bookmarks and section 1 appears in toc.

I tried compiling with both pdflatex and latex->dvipdf and viewing with both
xpdf and acroread.

I can also send you pdfs if you want.

> If you add
> 
> \listfiles
> 
> as the very first line of the LaTeX file, the log file and the output
> will contain a list of included style files with versions.  Please send
> us this list.  Also, above the list you can find the listing of all
> included files with full path (even without the \listfiles command).
> Please check whether any file is used that is in /usr/local/texmf,
> ~/texmf or any other local tree.
> 

only things from /usr/share/texmf(...) nothing local

> > For some reason exporting from lyx produces more erratic results, tocdepth=1
> > gives nothing in bookmarks (same as regular latex) but tocdepth=2 results with
> > subsections in bookmarks instead of just sections). I also attached the lyx
> > file just in case.
> 
> I hope we'll be able to debug this without lyx - I've never used it.
> 

There is also a lyx related bug, it would be a problem to debug the lyx problem
without knowing what lyx compiles. I am trying to see if I can get at what lyx
is compiling itself and not what it exports as it seems to be different things.

It still leaves me with bookmarks that are lagging one level behind the toc

> Regards, Frank
> -- 
> Frank Küster
> Inst. f. Biochemie der Univ. Zürich
> Debian Developer
> 
>  
>  +++++++++++++++++++++++++++++++++++++++++++
>  This Mail Was Scanned By Mail-seCure System
>  at the Tel-Aviv University CC.
> 


 +++++++++++++++++++++++++++++++++++++++++++
 This Mail Was Scanned By Mail-seCure System
 at the Tel-Aviv University CC.



Reply to: