bkyk8rc3zvpnsf5inmcqq4n3k98cv6hj-my-site-hyper-literate-git.test.suzanne.soy-0.0.1

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit f165cc9dcd2d6597470f452e46bedfa6d529ae21
parent 0add73773243b76475f31c26794176a4b5fbba26
Author: Matthew Flatt <mflatt@racket-lang.org>
Date:   Sun,  3 Nov 2013 09:36:07 -0700

Scribble LaTeX/PDF: make section references hyperlinks

original commit: dee76b58a99e211cab70b2f4099f08bf6548815e

Diffstat:
Mpkgs/scribble-pkgs/scribble-lib/scribble/scribble.tex | 18+++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/pkgs/scribble-pkgs/scribble-lib/scribble/scribble.tex b/pkgs/scribble-pkgs/scribble-lib/scribble/scribble.tex @@ -38,14 +38,14 @@ \newcommand{\PartRefUC}[2]{Part~#1} % Variants of the above with a label for an internal reference: -\newcommand{\BookRefLocal}[3]{\BookRef{#2}{#3}} -\newcommand{\ChapRefLocal}[3]{\ChapRef{#2}{#3}} -\newcommand{\SecRefLocal}[3]{\SecRef{#2}{#3}} -\newcommand{\PartRefLocal}[3]{\PartRef{#2}{#3}} -\newcommand{\BookRefLocalUC}[3]{\BookRefUC{#2}{#3}} -\newcommand{\ChapRefLocalUC}[3]{\ChapRefUC{#2}{#3}} -\newcommand{\SecRefLocalUC}[3]{\SecRefUC{#2}{#3}} -\newcommand{\PartRefLocalUC}[3]{\PartRefUC{#2}{#3}} +\newcommand{\BookRefLocal}[3]{\hyperref[#1]{\BookRef{#2}{#3}}} +\newcommand{\ChapRefLocal}[3]{\hyperref[#1]{\ChapRef{#2}{#3}}} +\newcommand{\SecRefLocal}[3]{\hyperref[#1]{\SecRef{#2}{#3}}} +\newcommand{\PartRefLocal}[3]{\hyperref[#1]{\PartRef{#2}{#3}}} +\newcommand{\BookRefLocalUC}[3]{\hyperref[#1]{\BookRefUC{#2}{#3}}} +\newcommand{\ChapRefLocalUC}[3]{\hyperref[#1]{\ChapRefUC{#2}{#3}}} +\newcommand{\SecRefLocalUC}[3]{\hyperref[#1]{\SecRefUC{#2}{#3}}} +\newcommand{\PartRefLocalUC}[3]{\hyperref[#1]{\PartRefUC{#2}{#3}}} % Variants of the above with a section number is empty (i.e., UnNumbered): \newcommand{\BookRefUN}[1]{\BookRef{}{#1}} @@ -57,7 +57,7 @@ \newcommand{\SecRefUCUN}[1]{\SecRefUN{#1}} \newcommand{\PartRefUCUN}[1]{\PartRefUN{#1}} -\newcommand{\BookRefLocalUN}[2]{\BookRefUN{#2}} +\newcommand{\BookRefLocalUN}[2]{\hyperref[#1]{\BookRefUN{#2}}} \newcommand{\ChapRefLocalUN}[2]{\SecRefLocalUN{#1}{#2}} \newcommand{\SecRefLocalUN}[2]{\SecRefUN{#2} on page~\pageref{#1}} \newcommand{\PartRefLocalUN}[2]{\SecRefLocalUN{#1}{#2}}