Document Classes ⇒ problem with hyperref
problem with hyperref
Hi,
I'm using
\usepackage[colorlinks=true, pdfstartview=FitV, linkcolor=blue, citecolor=blue, urlcolor=blue]{hyperref}
\usepackage{hyperref}
when i do PDFLatex
result in error
[PDFLaTeX] finished with exit status 1
./Thesis.tex:22:File ended while scanning use of \@secondoftwo. \usepackage
/usr/share/texmf-tetex/tex/latex/hyperref/hpdftex.def:29:Undefined control sequence. \ifHy@pagelabels
/usr/share/texmf-tetex/tex/latex/hyperref/hpdftex.def:937:Undefined control sequence. \ifHy@implicit
./Thesis.tex:22:Extra \fi. \usepackage
./Thesis.tex:22:Extra \else. \usepackage
./Thesis.tex:22:File `.def' not found. \usepackage
[PDFLaTeX] 6 errors, 0 warnings, 0 badboxes
I'm not understand.
i hope someone could help me
Thanks in advance
I'm using
\usepackage[colorlinks=true, pdfstartview=FitV, linkcolor=blue, citecolor=blue, urlcolor=blue]{hyperref}
\usepackage{hyperref}
when i do PDFLatex
result in error
[PDFLaTeX] finished with exit status 1
./Thesis.tex:22:File ended while scanning use of \@secondoftwo. \usepackage
/usr/share/texmf-tetex/tex/latex/hyperref/hpdftex.def:29:Undefined control sequence. \ifHy@pagelabels
/usr/share/texmf-tetex/tex/latex/hyperref/hpdftex.def:937:Undefined control sequence. \ifHy@implicit
./Thesis.tex:22:Extra \fi. \usepackage
./Thesis.tex:22:Extra \else. \usepackage
./Thesis.tex:22:File `.def' not found. \usepackage
[PDFLaTeX] 6 errors, 0 warnings, 0 badboxes
I'm not understand.
i hope someone could help me
Thanks in advance
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
problem with hyperref
Hi sherlock,
you are loading hyperref two times, remove the second line \usepackage{hyperref}.
Stefan
you are loading hyperref two times, remove the second line \usepackage{hyperref}.
Stefan
LaTeX.org admin
Re: problem with hyperref
hi Stefan_k
i removed the second line but the error still happen
i removed the second line but the error still happen
- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
Re: problem with hyperref
Hi sherlock,
the first line contains no error.
Verify if you have an up-to-date version of hyperref installed. The latest version is 2008/04/24 v6.77u.
Stefan
the first line contains no error.
Verify if you have an up-to-date version of hyperref installed. The latest version is 2008/04/24 v6.77u.
Stefan
LaTeX.org admin
Re: problem with hyperref
Hi Stefan_K
My version is 2003/11/30 v6.74m
where i can find the latest version?
i couldn't find
My version is 2003/11/30 v6.74m
where i can find the latest version?
i couldn't find
- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
problem with hyperref
Hi sherlock,
usually you will find the latest packages on CTAN. Look here: hyperref
But in general it should be much easier to install it using the package manager of the LateX distribution or the operating system. For instance I installed the package texlive-latex-base that includes hyperref.
Which operating system and which LaTeX distribution do you use? I remember you used (Debian like) Linux (Ubuntu?), you wrote earlier that you installed texlive-full but removed it.
Stefan
usually you will find the latest packages on CTAN. Look here: hyperref
But in general it should be much easier to install it using the package manager of the LateX distribution or the operating system. For instance I installed the package texlive-latex-base that includes hyperref.
Which operating system and which LaTeX distribution do you use? I remember you used (Debian like) Linux (Ubuntu?), you wrote earlier that you installed texlive-full but removed it.
Stefan
LaTeX.org admin
Re: problem with hyperref
I m using
Ubuntu 7.0 Feisty and Tetex with Kile editor
I installed the packages with the operating system but the version is old.
I m new using Linux and Latex.
Ubuntu 7.0 Feisty and Tetex with Kile editor
I installed the packages with the operating system but the version is old.
I m new using Linux and Latex.
- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
Re: problem with hyperref
Hi sherlock,
sooner or later you should consider an update. I was using Feisty too for a long time until I updated to Ubuntu 8.04 (Hardy). Now I am using texlive and KILE 2.0.
If you don't want to update tetex to texlive (at least texlive-latex-recommended) perhaps it could help to update just the package tetex-extra. That should contain hyperref but of course not in the newest version. hyperref is not a small package, manual installation may be not so simple, but I didn't test that.
Stefan
sooner or later you should consider an update. I was using Feisty too for a long time until I updated to Ubuntu 8.04 (Hardy). Now I am using texlive and KILE 2.0.
If you don't want to update tetex to texlive (at least texlive-latex-recommended) perhaps it could help to update just the package tetex-extra. That should contain hyperref but of course not in the newest version. hyperref is not a small package, manual installation may be not so simple, but I didn't test that.
Stefan
LaTeX.org admin
Re: problem with hyperref
Hi
i am using Kile 1.9
And how i can update tetex to texlive without any problem?
Could you give me any hint to do this
Thanks in advance
i am using Kile 1.9
And how i can update tetex to texlive without any problem?
Could you give me any hint to do this
Thanks in advance
- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
problem with hyperref
Hi sherlock,
when I was using Ubuntu Feisty and tetex and needed newer package versions I installed texlive-base, texlive-common, texlive-latex-base (that contains hyperref), some more and the packages that they depend on with synaptic. I ended with a mix of some leftovers from tetex and the newer texlive but it was working, also with Kile 1.9.
You could give texlive a try. I did it, texlive replaced some tetex packages and left others untouched that remained working.
One alternative is installing the MiKTeX package manager, but that needs to be compiled on your system. I wrote an article about that: here. It's written in german but you may benefit from the links to ressources at the end, there you can find more information about this package manager. I used it a long time with tetex to get the latest/newest packages and was very satisfied.
Stefan
when I was using Ubuntu Feisty and tetex and needed newer package versions I installed texlive-base, texlive-common, texlive-latex-base (that contains hyperref), some more and the packages that they depend on with synaptic. I ended with a mix of some leftovers from tetex and the newer texlive but it was working, also with Kile 1.9.
You could give texlive a try. I did it, texlive replaced some tetex packages and left others untouched that remained working.
One alternative is installing the MiKTeX package manager, but that needs to be compiled on your system. I wrote an article about that: here. It's written in german but you may benefit from the links to ressources at the end, there you can find more information about this package manager. I used it a long time with tetex to get the latest/newest packages and was very satisfied.
Stefan
LaTeX.org admin