>> I would really like to test it, however, I've just found out that
>> appendices B and higher don't appear at all in the PDF outline (see
>> attached image).  Looks like a bug...
> 
> I don't know why that would be as I didn't get anything like that in
> my testing with various input files.  It could be that we are
> generating a faulty PDF which only breaks in some PDF readers.  What
> PDF reader is this in?

I tested both evince and okular, so I guess it's not a problem with
the viewer.  [Later] Indeed, checking with

```
pdftk notation.pdf dump_data
```

shows that the problem is in the PDF.

> If it a problem specific to the particular input files you could
> email me them and I could take a look.

Alas, to create LilyPond's Notation Reference a few thousand input
files are necessary.  I will try to create a small reproducer.  My
first tests today by omitting some top-level include files revealed a
surprising behaviour: after removing a few chapters, Appendix B showed
up in the outline, and after removing some more, Appendix C showed up,
too.

It is also possible that this is a GhostScript bug: to get
smaller-sized output PDFs, LilyPond creates the more than thousand
included PDF images without embedded fonts, and GhostScript does the
font embedding as a post-processing step (doing so shrinks the PDF
size from about 40MByte to 8MByte).


    Werner

Reply via email to