Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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}
share|improve this question

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}}
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.