[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



Hi Micha,

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

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.

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.

> 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.

Regards, Frank
-- 
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer




Reply to: