Document Classes ⇒ Problems in using \hyperref
-
- Posts: 20
- Joined: Thu Sep 06, 2007 7:31 pm
Problems in using \hyperref
\label{fig:report:1} and in the text I referred it as Fig. ~{\ref{fig:report:1}} . After compilation it is not showing the hyperlink in pdf file. Have I missed something?
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
-
- Posts: 20
- Joined: Thu Sep 06, 2007 7:31 pm
Re: Problems in using \hyperref
Problems in using \hyperref
Code: Select all
\documentclass{article}
\usepackage{hyperref}
\begin{document}
\begin{figure}
\centering
\fbox{Report 1}
\caption{Figure test}
\label{fig:report1}
\end{figure}
As you can see in Fig.~\ref{fig:report1}...
\end{document}
-
- Posts: 20
- Joined: Thu Sep 06, 2007 7:31 pm
Re: Problems in using \hyperref
\usepackage[breaklinks=true,a4paper=true,pagebackref=true]{hyperref}
\begin{document}
\begin{figure}[!h]
\centering
\includegraphics[width=2.5in,height=2in]{SOCexample.eps}
\caption{An example of Core-based SOC}
\label{fig:report:1}
\end{figure}
Fig.~{\ref{fig:report:1}} shows a conceptual architecture of an SOC.\\
\end{document}
This is the code I wrote.. but not working
Problems in using \hyperref
Code: Select all
\documentclass[11pt]{report}
\usepackage{graphicx}
\usepackage[breaklinks=true,a4paper=true,pagebackref=true]{hyperref}
\begin{document}
\begin{figure}[!h]
\centering
\includegraphics[width=2.5in,height=2in]{SOCexample.eps}
\caption{An example of Core-based SOC}
\label{fig:report:1}
\end{figure}
Fig.~{\ref{fig:report:1}} shows a conceptual architecture of an SOC.
\end{document}
1) Post the errors or warnings (if any) you get after processing the document.
2) Add \listfiles before \documentclass process the document and post the .log file.
Remark: you are using .eps files so you can't process your document using pdflatex directly. (just to make sure that this is not the cause of the problem).
-
- Posts: 20
- Joined: Thu Sep 06, 2007 7:31 pm
Re: Problems in using \hyperref
-
- Posts: 20
- Joined: Thu Sep 06, 2007 7:31 pm
Re: Problems in using \hyperref
- Attachments
-
- synopsis_paper.log
- This is the log file after giving \listfiles before \documentclass
- (11.66 KiB) Downloaded 456 times
Problems in using \hyperref
Code: Select all
hyperref.sty 2007/04/18 v6.76c Hypertext links for LaTeX
Code: Select all
hyperref.sty 2007/11/05 v6.77c Hypertext links for LaTeX
-
- Posts: 20
- Joined: Thu Sep 06, 2007 7:31 pm