diff options
author | Akira Yokosawa <akiyks@gmail.com> | 2020-01-04 20:15:27 +0900 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2020-01-05 17:14:23 -0800 |
commit | 9e15aa1ec188340308493df721a91ae1fd9a1297 (patch) | |
tree | 0d4f1fed46d550bcc80dd7c035c2b58f2bdbe882 /utilities | |
parent | db1e4655e830e90445059a57dd3e42000bae1614 (diff) | |
download | perfbook-9e15aa1ec188340308493df721a91ae1fd9a1297.tar.gz |
utilities/toarxiv.sh: Get rid of borders around hyperlinks
Based on a Q&A on StackExchange [1], putting "nohypertex" in
00README.XXX looks like the cause of all those ugly borders.
To override the default behavior of arxiv's hyperref,
add a boolean "toarxiv" in perfbook.tex and set it "true" in
toarxiv.sh so that the workaround code added in the preamble
shall be enabled.
[1]: https://tex.stackexchange.com/questions/30243/
Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'utilities')
-rw-r--r-- | utilities/toarxiv.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utilities/toarxiv.sh b/utilities/toarxiv.sh index 29bce4ea..5e1c6388 100644 --- a/utilities/toarxiv.sh +++ b/utilities/toarxiv.sh @@ -79,6 +79,6 @@ rm ${destdir}/SMPdesign/DiningPhilosopher5TB.tex # The following changes work around arxiv.org limitations sed -e '/usepackage{footnotebackref}/d' \ - -e 's/\[bookmarks=true,bookmarksnumbered=true,pdfborder={0 0 0}]/[bookmarks=false]/' \ + -e 's/{toarxiv}{false}/{toarxiv}{true}/' \ < perfbook.tex > ${destdir}/perfbook.tex -echo "nohypertex" > ${destdir}/00README.XXX +# echo "nohypertex" > ${destdir}/00README.XXX |