From 8abf744d95197e644a543c447c962ae52c96a59c Mon Sep 17 00:00:00 2001 From: Stephen C North Date: Wed, 28 Aug 2019 16:12:01 -0400 Subject: [PATCH] Accepted patches proposed in https://gitlab.com/graphviz/graphviz/issues/1583 to provide clickable TOC links in Cgraph documentation which for some reason is still named Agraph.tex --- doc/libgraph/Agraph.tex | 12 +++++++++++- doc/libguide/libguide.tex | 11 ++++++++++- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/doc/libgraph/Agraph.tex b/doc/libgraph/Agraph.tex index edcc4ab9c..30e678b65 100644 --- a/doc/libgraph/Agraph.tex +++ b/doc/libgraph/Agraph.tex @@ -1,7 +1,17 @@ \documentclass[11pt,letterpaper]{article} \usepackage{url} \usepackage{graphicx} -\usepackage{times} +\usepackage{newtxtext} +\usepackage{xcolor} +\usepackage[]{hyperref} +\usepackage[cmintegrals,cmbraces]{newtxmath} % times roman, the classic +\hypersetup{ + colorlinks = true, %Colours links instead of ugly boxes + urlcolor = {blue!80!black}, %Colour for external hyperlinks + linkcolor = {blue!80!black}, %Colour of internal links + citecolor = red %Colour of citations +} + \usepackage{lgrind} \usepackage{footnote} diff --git a/doc/libguide/libguide.tex b/doc/libguide/libguide.tex index 9749b5a37..70b1bd188 100644 --- a/doc/libguide/libguide.tex +++ b/doc/libguide/libguide.tex @@ -1,6 +1,15 @@ \documentclass[11pt]{article} %\usepackage{graphicx} -\usepackage{times} +\usepackage{newtxtext} +\usepackage{xcolor} +\usepackage[]{hyperref} +\usepackage[cmintegrals,cmbraces]{newtxmath} % times roman, the classic +\hypersetup{ + colorlinks = true, %Colours links instead of ugly boxes + urlcolor = {blue!80!black}, %Colour for external hyperlinks + linkcolor = {blue!80!black}, %Colour of internal links + citecolor = red %Colour of citations +} \usepackage{url} %\addtolength{\oddsidemargin}{-0.5in} -- 2.40.0