From: Bruno Haible Date: Mon, 28 Oct 2024 12:24:34 +0000 (+0100) Subject: doc: Improve usability of generated PDF. X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=52cb8aa76abfbacfe3ade1ff746102fa75290157;p=gnulib.git doc: Improve usability of generated PDF. * doc/gnulib.texi: Use a brown colour for interactive links. --- diff --git a/ChangeLog b/ChangeLog index 93375a0dc0..2ca86ce7a7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2024-10-28 Bruno Haible + + doc: Improve usability of generated PDF. + * doc/gnulib.texi: Use a brown colour for interactive links. + 2024-10-27 Collin Funk realloc-gnu: Fix typo in deprecation notice. diff --git a/doc/gnulib.texi b/doc/gnulib.texi index 103189fddb..3133f481e2 100644 --- a/doc/gnulib.texi +++ b/doc/gnulib.texi @@ -3,6 +3,7 @@ @setfilename gnulib.info @settitle GNU Gnulib @documentencoding UTF-8 + @c These two require Texinfo 5.0 or later, so we use the older @c equivalent @set variables supported in 4.11 and hence @ignore @@ -11,6 +12,15 @@ @end ignore @set txicodequoteundirected @set txicodequotebacktick + +@c In PDF output, use a brown colour for interactive links, +@c like it was before commit +@c https://git.savannah.gnu.org/gitweb/?p=texinfo.git;a=commitdiff;h=b4f50b9f4c083327e81ec5c7cde9b87234a19646 +@tex +\global\def\linkcolor{\rgbDarkRed} +\global\def\urlcolor{\rgbDarkRed} +@end tex + @c Indices: @c cp = concept @cindex @c fn = function @findex @@ -31,6 +41,7 @@ @syncodeindex tp cp @syncodeindex vr cp @syncodeindex cn cp + @ifclear texi2html @firstparagraphindent insert @end ifclear