Can anyone tell me the error(s) in this code??

\setbeamertemplate{navigation symbols}{}
\title[Method of Presentation]{Beautiful Presentation using Beamer}
\author{Shreeja and Rageeni} 
\begin{block} {Why Beamer????}
\barrow portability
\barrow Ease of collaboration
\barrow Free licence and community support
\barrow Content before style
\barrow Reuse LATEX code
\hyperlink{https://www.tug.org/pracjourn/2005-2/miller/miller.pdf#}]{\beamergotobutton{for detail click here}

1 Answer 1


The error based on your line:

\hyperlink{https://www.tug.org/pracjourn/2005-2/miller/miller.pdf#}]{\beamergotobutton{for detail click here}

First of all you should use \href instead of \hyperlink. The documentation of hyperref explains why:

A simple internal link is created with \hypertarget, with two parameters of an anchor name, and anchor text. \hyperlink has two arguments, the name of a hypertext object defined somewhere by \hypertarget, and the text which be used as the link on the page. Note that in HTML parlance, the \hyperlink command inserts a notional # in front of each link, making it relative to the current testdocument; \href expects a full URL.

Let us analyse your line:

  1. You have a single closing bracket ] between the two mandatory arguments which has no meaning.
  2. The second mandatory arguments isn't closed by a curly bracket.
  3. You are using a hash # inside your link address. So you have to declare the current frame as fragile. I guess the hash isn't part of the link address.

Based on the given information above the line should be

\href{https://www.tug.org/pracjourn/2005-2/miller/miller.pdf}{\beamergotobutton‌​{for detail click here}}

Here a complete minimal working example:

\href{https://www.tug.org/pracjourn/2005-2/miller/miller.pdf}{\beamergotobutton{for detail click here}}

\href{https://www.tug.org/pracjourn#/2005-2/miller/miller.pdf#}{\beamergotobutton{for detail click here}}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .