Skip to content

Commit 2906170

Browse files
committed
Add test file with external hyperlink
1 parent b98b86d commit 2906170

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

testing/CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ target_link_libraries(testhelp libdspdfviewer)
88
list(APPEND PDFFILENAMES
99
colored-rectangles.pdf
1010
images.pdf
11+
external-link.pdf
1112
)
1213

1314
if(DownloadTestPDF)
@@ -21,6 +22,11 @@ if(DownloadTestPDF)
2122
SHOW_PROGESS
2223
EXPECTED_MD5 5c72e0954d457e3e9a1287ff299e307a
2324
)
25+
file(DOWNLOAD http://danny-edel.de/external-link.pdf ${CMAKE_CURRENT_BINARY_DIR}/external-link.pdf
26+
TIMEOUT 30
27+
SHOW_PROGESS
28+
EXPECTED_MD5 56f89189525c4c46c2c1a2307d1a306c
29+
)
2430
else()
2531
# Compile from source
2632
find_program(PDFLATEX

testing/pdfs/external-link.tex

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
\documentclass[aspectratio=169]{beamer}
2+
\usepackage{color}
3+
\usepackage{pgfpages}
4+
\usepackage{hyperref}
5+
6+
\setbeameroption{show notes on second screen}
7+
8+
\title{External hyperlink}
9+
10+
\begin{document}
11+
12+
13+
14+
\definecolor{8f8}{HTML}{88FF88}
15+
\definecolor{f8f}{HTML}{FF88FF}
16+
17+
\begingroup
18+
\setbeamercolor{background canvas}{bg=8f8}
19+
\setbeamercolor{note page}{bg=f8f}
20+
\begin{frame}
21+
\url{http://dspdfviewer.danny-edel.de}
22+
\end{frame}
23+
\endgroup
24+
25+
\end{document}

0 commit comments

Comments
 (0)