Enable hyperlink border in bibliography
cover Enable hyperlink border in bibliography
From 5a3db5ddd9458a1787bdf9bd554146079501df18 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <[email protected]>
Date: Fri, 3 Mar 2017 21:21:25 +0900
Subject: [PATCH 0/2] Enable hyperlink border in bibliography
So, this patch set enables hyperlink border for all layouts. Patch 2 is another update to append doi.
Thanks, Akira
--
Akira Yokosawa (2):
appendix: Enable hyperlink border in bibliography for all layouts bib/syncrefs: Add doi to Hoare74
appendix/appendix.tex | 4 ++-- bib/syncrefs.bib | 1 + 2 files changed, 3 insertions(+), 2 deletions(-)
Signature · 1 line
2.7.4
PATCH 1/2 appendix: Enable hyperlink border in bibliography for all layouts
From ec794a1bd368c5ad381fac0594a254fd6a23f619 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <[email protected]>
Date: Fri, 3 Mar 2017 20:56:59 +0900
Subject: [PATCH 1/2] appendix: Enable hyperlink border in bibliography for all layouts
"pdfborder" in bibliography also helps in identifying known broken urls. This commit enables the border regardless of layout.
--- appendix/appendix.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
appendix/appendix.tex +2 -2
@@ -11,12 +11,12 @@ \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} } +\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} +\hypersetup{pdfborder=0 0 0} \IfTwoColumn{ \end{adjustwidth*}\twocolumn }{ - \hypersetup{pdfborder=0 0 0} } \include{appendix/ack/ack}
Signature · 1 line
2.7.4
Re: [PATCH 1/2] appendix: Enable hyperlink border in bibliography for all layouts
Quoted 7 lines · Akira Yokosawa
Quoted 1 line
From
ec794a1bd368c5ad381fac0594a254fd6a23f619Mon Sep 17 00:00:00 2001From: Akira Yokosawa <[email protected]>
Date: Fri, 3 Mar 2017 20:56:59 +0900
Subject: [PATCH 1/2] appendix: Enable hyperlink border in bibliography for all layouts"pdfborder" in bibliography also helps in identifying known broken urls. This commit enables the border regardless of layout.
One thing to note:
If a hyperlink crosses page boundary, the hyperlink is wrongly embedded also in the footer and header strings. As of now, target "1csf" hits this issue at the bottom of first page of Bibliography (p. 653-654). This is a well known issue of "hyperref" package, which would cause a build error in 2c layout. Before enabling the border, we just didn't notice the issue.
Other target might hit this issue by changes made in bibliography. Are you OK with this possible ugliness?
Thanks, Akira
Quoted 27 lines
Suggested-by Paul E. McKenney <[email protected]>Signed-off-by Akira Yokosawa <[email protected]>--- appendix/appendix.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)appendix/appendix.tex +2
-2@@ -11,12 +11,12 @@ \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} } +\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} +\hypersetup{pdfborder=0 0 0} \IfTwoColumn{ \end{adjustwidth*}\twocolumn }{ - \hypersetup{pdfborder=0 0 0} } \include{appendix/ack/ack}
Paul E. McKenney
AppliedRe: [PATCH 1/2] appendix: Enable hyperlink border in bibliography for all layouts
Quoted 11 lines · Akira Yokosawa
Quoted 7 lines · Akira Yokosawa
Quoted 1 line
From
ec794a1bd368c5ad381fac0594a254fd6a23f619Mon Sep 17 00:00:00 2001From: Akira Yokosawa <[email protected]>
Date: Fri, 3 Mar 2017 20:56:59 +0900
Subject: [PATCH 1/2] appendix: Enable hyperlink border in bibliography for all layouts"pdfborder" in bibliography also helps in identifying known broken urls. This commit enables the border regardless of layout.
One thing to note:
Quoted 8 lines
If a hyperlink crosses page boundary, the hyperlink is wrongly embedded also in the footer and header strings. As of now, target "1csf" hits this issue at the bottom of first page of Bibliography (p. 653-654). This is a well known issue of "hyperref" package, which would cause a build error in 2c layout. Before enabling the border, we just didn't notice the issue.
Other target might hit this issue by changes made in bibliography. Are you OK with this possible ugliness?
Seems like a good diagnostic. It might be necessary to manually adjust the .bbl file for editions, and perhaps also for releases. One nice thing is that this change gives visual indication as to where adjustment is needed.
Queued, will be pushed when I next get decent connectivity, thank you!
Thanx, Paul
Quoted 30 lines
Thanks, Akira
Quoted 27 lines
Suggested-by Paul E. McKenney <[email protected]>Signed-off-by Akira Yokosawa <[email protected]>--- appendix/appendix.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)appendix/appendix.tex +2
-2@@ -11,12 +11,12 @@ \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} } +\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} +\hypersetup{pdfborder=0 0 0} \IfTwoColumn{ \end{adjustwidth*}\twocolumn }{ - \hypersetup{pdfborder=0 0 0} } \include{appendix/ack/ack}
PATCH 2/2 bib/syncrefs: Add doi to Hoare74
In reply to Akira YokosawaFrom 5a3db5ddd9458a1787bdf9bd554146079501df18 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <[email protected]>
Date: Fri, 3 Mar 2017 21:20:05 +0900
Subject: [PATCH 2/2] bib/syncrefs: Add doi to Hoare74
--- bib/syncrefs.bib | 1 + 1 file changed, 1 insertion(+)
bib/syncrefs.bib +1 -0
@@ -268,6 +268,7 @@ Brent A Kingsbury" ,volume="17" ,number="10" ,pages="549-557" +,doi="10.1145/355620.361161" } @article{Lamport74a
Signature · 1 line
2.7.4
Paul E. McKenney
AppliedRe: [PATCH 2/2] bib/syncrefs: Add doi to Hoare74
Quoted 6 lines · Akira Yokosawa
Quoted 1 line
From
5a3db5ddd9458a1787bdf9bd554146079501df18Mon Sep 17 00:00:00 2001From: Akira Yokosawa <[email protected]>
Date: Fri, 3 Mar 2017 21:20:05 +0900
Subject: [PATCH 2/2] bib/syncrefs: Add doi to Hoare74Signed-off-by Akira Yokosawa <[email protected]>
Applied, thank you! I will push this as soon as I get to decent internet connectivity.
Thanx, Paul
Quoted 20 lines
--- bib/syncrefs.bib | 1 + 1 file changed, 1 insertion(+)bib/syncrefs.bib +1
-0@@ -268,6 +268,7 @@ Brent A Kingsbury" ,volume="17" ,number="10" ,pages="549-557" +,doi="10.1145/355620.361161" } @article{Lamport74aSignature · 1 line
2.7.4