On 2019/09/19 7:52, Akira Yokosawa wrote: > From: Balbir Singh <bsingharora@xxxxxxxxx> > > Without these changes the PDF does not provide a browsable TOC > to choose for navigation, also add a bit of color to the links > to make them screen friendly. > > [akiyks: Split from patch [1]. > As 2c layouts are supposed to be for printing, enable coloring > of hyperlinks only in 1c layout. To do this, add a boolean > variable "colorlinks" and set it true for 1c layout. This would > make it easy to change the condition to enable "colorlinks". > > Select "DarkBlue" via xcolor's "svgnames" option as it looks > less distracting than the pure "blue". > > Redundant framing of links in bibliography is disabled when > "colorlinks" is effective. > > Also make the page numbers in TOC hyperlinks as well. > > [1]: https://www.spinics.net/lists/perfbook/msg02350.html > ] > > Signed-off-by: Balbir Singh <bsingharora@xxxxxxxxx> > Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx> > --- > Hi Paul and Balbir, > > This is an experimental patch. > Does the links in "DarkBlue" acceptable (in 1c layout) to you? Oops, obviously I meant "Do the links ...". > Any suggestion of color choice is welcome! > > Thanks, Akira > -- [...]