URL に # が含まれているためエラーが発生します

URL に # が含まれているためエラーが発生します
\begin{frame}{Triphala Churn}
     \begin{enumerate}
     \item  Three fruits – Amalaki [Indian Gooseberry – Emblica officinalis], Haritaki [Myrobalan – Terminalia chebula], and Vibhatika [Belleric Myrobalan – Terminalia belerica]
    \item Laxative 
    \item result in allergic reaction including anaphylaxis 
     \end{enumerate}
     Ref: http://www.stylecraze.com/articles/harmful-side-effects-of-triphala-churna/#gref
    \end{frame}

おそらく #gref が原因でエラーが発生しています。解決策は何ですか。数学記号として含めるために $..$ を試しました。

答え1

パッケージは、特殊文字を処理する をurl提供します。また、フレームにはオプションも必要になる可能性があります。\urlfragile

\usepackage{url}% (shold be already loaded by `hyperref`, which is loaded by `beamer`)

\begin{frame}[fragile]
  ...
  \url{http://www.example.org/index.html#gref}
\end{frame}

関連情報