Text Formatting ⇒ cross references not hyperlinking
cross references not hyperlinking
I have been beating my head over this for a while.
I am writing a [report] in pdflatex, can't compile for all others bibtex,pdftex etc. I have crossreferenced the figures and graphs OK but I want that when I click on reference "Figure 4.5", it scrolls me to the figure referenced. How can I do this?
thanks
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Stefan Kottwitz
- Site Admin
- Posts: 10334
- Joined: Mon Mar 10, 2008 9:44 pm
cross references not hyperlinking
load the hyperref package:
Code: Select all
\usepackage{hyperref}
Stefan
Re: cross references not hyperlinking
Thanks a lot,works!
One slight problem though is that it puts a red square around each of the references, how can I get rid of this? Do I have to use pdftex?I am using pdflatex
- Stefan Kottwitz
- Site Admin
- Posts: 10334
- Joined: Mon Mar 10, 2008 9:44 pm
cross references not hyperlinking
Code: Select all
\hypersetup{
colorlinks=false,
pdfborder={0 0 0},
}
Code: Select all
\usepackage[colorlinks=false,pdfborder={0 0 0}]{hyperref}
Re: cross references not hyperlinking
Everything is perfect!
- Stefan Kottwitz
- Site Admin
- Posts: 10334
- Joined: Mon Mar 10, 2008 9:44 pm
cross references not hyperlinking
and you also mentioned BibTeX. There aresnif123 wrote:Hi,
Do I have to use pdftex?I am using pdflatex
- TeX engines, such as TeX, e-TeX, pdfTeX, XeTeX, LuaTeX, they provide the basic functionality and handle different input or output formats and fundamental features. This can mean input encoding (such as Unicode capability), output format (dvi, pdf) and advanced features (such as scripting).
- TeX format files, extending TeX for example by LaTeX macros, which results in LaTeX, pdfLaTeX, XeLaTeX, LuaLaTeX. If you use LaTeX classes, packages and macros, you need to use one of them. Still the engine could be chosen, depending on your needs.
- external programs, such as BibTeX and makeindex.
I'm glad to read that! As the topic is solved, it can be marked as solved. I did this for you now.snif123 wrote:Everything is perfect!
Stefan