Skip to content

Commit

Permalink
Add test file with external hyperlink
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyedel committed Nov 28, 2015
1 parent b98b86d commit 2906170
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
6 changes: 6 additions & 0 deletions testing/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ target_link_libraries(testhelp libdspdfviewer)
list(APPEND PDFFILENAMES
colored-rectangles.pdf
images.pdf
external-link.pdf
)

if(DownloadTestPDF)
Expand All @@ -21,6 +22,11 @@ if(DownloadTestPDF)
SHOW_PROGESS
EXPECTED_MD5 5c72e0954d457e3e9a1287ff299e307a
)
file(DOWNLOAD http://danny-edel.de/external-link.pdf ${CMAKE_CURRENT_BINARY_DIR}/external-link.pdf
TIMEOUT 30
SHOW_PROGESS
EXPECTED_MD5 56f89189525c4c46c2c1a2307d1a306c
)
else()
# Compile from source
find_program(PDFLATEX
Expand Down
25 changes: 25 additions & 0 deletions testing/pdfs/external-link.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
\documentclass[aspectratio=169]{beamer}
\usepackage{color}
\usepackage{pgfpages}
\usepackage{hyperref}

\setbeameroption{show notes on second screen}

\title{External hyperlink}

\begin{document}



\definecolor{8f8}{HTML}{88FF88}
\definecolor{f8f}{HTML}{FF88FF}

\begingroup
\setbeamercolor{background canvas}{bg=8f8}
\setbeamercolor{note page}{bg=f8f}
\begin{frame}
\url{http://dspdfviewer.danny-edel.de}
\end{frame}
\endgroup

\end{document}

0 comments on commit 2906170

Please sign in to comment.