Skip to content

Commit 37d11cc

Browse files
committed
Fix the openwebwork.org link in hardcopy.
The `webwork2.sty` file currently creates this link using the `\url` command. That command attempts to detect the link type. In this case that results in a file link. Depending on the PDF viewer used, that results in different behavior. In Firefox's PDF viewer it behaves as if it is not a link at all, but just text. Clicking on it does nothing. In Google Chrome's PDF viewer or Evince it is a link, but clicking on it results in a message being displayed that the file does not exist. So this switches to using the `\href` command instead. That requires that both the link URL and link text explicitly be given, but reliably results in a working link.
1 parent 1fedbc8 commit 37d11cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/tex/webwork2.sty

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
\small\sffamily Generated by WeBWorK, \copyright~The~WeBWorK~Project.%
9696
}
9797
\newcommand{\webworkSetCopyrightFooterRight}{%
98-
\url{openwebwork.org}%
98+
\href{https://openwebwork.org}{openwebwork.org}%
9999
}
100100
101101
% Define the macro that declares the copyright

0 commit comments

Comments
 (0)