Mercurial > octave
changeset 21535:e09f4c9f800a stable
macros.texi: Colorized links for PDF files with Texinfo 6.x.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 25 Mar 2016 16:58:01 -0400 |
parents | f744aa689d94 |
children | ca9c8ef555cb 9f0088f3f335 |
files | doc/interpreter/macros.texi |
diffstat | 1 files changed, 21 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/interpreter/macros.texi Mon Mar 21 22:20:22 2016 -0400 +++ b/doc/interpreter/macros.texi Fri Mar 25 16:58:01 2016 -0400 @@ -86,3 +86,24 @@ \\ @end macro +@c These may be useful for all, not just for octave.texi. +@tex + \ifx\rgbDarkRed\thisisundefined + \def\rgbDarkRed{0.50 0.09 0.12} + \fi + \ifx\linkcolor\thisisundefined + \relax + \else + \global\def\linkcolor{\rgbDarkRed} + \fi + \ifx\urlcolor\thisisundefined + \relax + \else + \global\def\urlcolor{\rgbDarkRed} + \fi + \ifx\urefurlonlylinktrue\thisisundefined + \relax + \else + \global\urefurlonlylinktrue + \fi +@end tex