nathangrigg/vimhelppdf

Missing bookmark on Adobe Reader sidebar based on Cygwin make

Closed this issue · 3 comments

Hi,

I am a Cygwin user with texlive installed. I comment out below 4 lines within preamble.tex due to no fonts 'Avenir Next' and 'Source Code Pro'.

% fontspec for the fonts (requires xelatex)
%\usepackage{fontspec}
%\setromanfont{Avenir Next}
%\setmonofont{Source Code Pro}

Then run make a4, generate vimhelp-a4.pdf. Open vimhelp-a4.pdf with Adobe Reader, see there is no bookmark on sidebar. Compare to official version, there is good bookmark on sidebar.

I observed many warning about bookmark on the building process like:

Package hyperref Warning: The anchor of a bookmark and its parent's must not 
(hyperref)                be the same. Added a new anchor on input line 29902.

I don't know whether above warning cause this issue. Anyways, it looks like this project was built and tested on Mac machine instead of Cygwin within Windows XP machine.

Thanks,
njman

The secret is to run make a4 twice.

This is a LaTeX thing. Table of contents is analyzed on the first run and inserted into the PDF on the second run.

The warnings are nothing to be worried about. LaTeX in general and hyperref in particular are very chatty.

Hi Grigg,

Thank you, it works now.

Regards,
Ya

On Wed, Oct 2, 2013 at 12:43 PM, Nathan Grigg notifications@github.comwrote:

The secret is to run make a4 twice.

This is a LaTeX thing. Table of contents is analyzed on the first run and
inserted into the PDF on the second run.

The warnings are nothing to be worried about. LaTeX in general and
hyperref in particular are very chatty.


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-25512999
.

The secret is to run make a4 twice.

This is a LaTeX thing. Table of contents is analyzed on the first run and inserted into the PDF on the second run.

On Oct 1, 2013, at 7:09 PM, njman notifications@github.com wrote:

Hi,

I am a Cygwin user with texlive installed. I uncomment out below 4 lines within preamble.tex due to no fonts 'Avenir Next' and 'Source Code Pro'.

Then run make a4, generate vimhelp-a4.pdf. Open vimhelp-a4.pdf with Adobe Reader, see there is no bookmark on sidebar. Compare to official version, there is good bookmark on sidebar.

I observed many warning about bookmark on the building process like:

Package hyperref Warning: The anchor of a bookmark and its parent's must not
(hyperref) be the same. Added a new anchor on input line 29902.
Please check below snapshot.

Thanks,
njman


Reply to this email directly or view it on GitHub.