[PATCH 2/2] appendix: Draw hyperlink border in bibliography for 1c layout

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>From f7c3656241243faf11d23bf17fea9da765c260f3 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <akiyks@xxxxxxxxx>
Date: Thu, 2 Mar 2017 00:03:34 +0900
Subject: [PATCH 2/2] appendix: Draw hyperlink border in bibliography for 1c layout

Reflecting recent addition of URLs and DOIs in bibliography,
"pdfborder" would be helpful to find embedded links.

As an experiment, this commit enables it for 1c layout.
The color of the border is tuned to "light blue" to be nice for
reader's eyes.

Note: This commit involves indent changes. diff is easier to see
by ignoring white space changes.

Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx>
---
 appendix/appendix.tex | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/appendix/appendix.tex b/appendix/appendix.tex
index 6385bc2..e17c5e1 100644
--- a/appendix/appendix.tex
+++ b/appendix/appendix.tex
@@ -6,13 +6,17 @@
 \QuickQuizAnswers
 \input{glossary.tex}
 \IfTwoColumn{
-\onecolumn\begin{adjustwidth*}{.8in}{.7in}
-%\bibliographystyle{alpha}   % Use genuine alpha style (In case of build failure, use this instead)
-\bibliographystyle{alphapf} % Use alpha style customized by urlbst with --inlinelinks option
+  \onecolumn\begin{adjustwidth*}{.8in}{.7in}
+  %\bibliographystyle{alpha}   % Use genuine alpha style (In case of build failure, use this instead)
+  \bibliographystyle{alphapf} % Use alpha style customized by urlbst with --inlinelinks option
 }{
-\bibliographystyle{alphapf} % Use alpha style customized by urlbst with --inlinelinks option
+  \bibliographystyle{alphapf} % Use alpha style customized by urlbst with --inlinelinks option
+  \hypersetup{pdfborder=0 0 1,urlbordercolor=0.4 1 1}
 }
 \bibliography{bib/RCU,bib/WFS,bib/hw,bib/os,bib/parallelsys,bib/patterns,bib/perfmeas,bib/refs,bib/syncrefs,bib/search,bib/swtools,bib/realtime,bib/TM,bib/standards,bib/OSS,bib/maze,bib/energy}
 \IfTwoColumn{
-\end{adjustwidth*}\twocolumn}{}
+  \end{adjustwidth*}\twocolumn
+}{
+  \hypersetup{pdfborder=0 0 0}
+}
 \include{appendix/ack/ack}
-- 
2.7.4


--
To unsubscribe from this list: send the line "unsubscribe perfbook" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux