Archiv verlassen und diese Seite im Standarddesign anzeigen : Problem with references, hyperlinks etc.
Hello everybody!
I have a small (i think) problem with references. I would like to do some links to other places in my pdf document like in
http://www.tug.org/tex-archive/info/lshort/polish/lshort2e.pdf
that document. I mean this red bordered lines.
Please can you give me full document (really small) where this links will work?
Oh, and my second problem is also with links but to figures (picuters,tables, etc) . I've made labels and ref objects but it was working only in dvi file (not in pdf).
Thank you for all
mw
daswaldhorn
29-05-2006, 21:31
Hello mw,
welcome to this board :)
You can do this links by using the package "hyperref". Look at this example:
\documentclass[a4paper]{scrreprt}
\usepackage[english]{babel}
\usepackage{blindtext}
\usepackage{hyperref}
\begin{document}
\tableofcontents
\listoffigures
\chapter{Hyperlinks in PDF}
Figure \ref{fig1} is placed on Page \pageref{fig1}.
\blinddocument
\begin{figure}
\centering
\rule{4cm}{2cm}
\caption{rule is only for the example}
\label{fig1}
\end{figure}
\end{document}Compile this document with pdflatex and all links will work fine. If you have other Problems, please post an own example which shows the error.
Greetings, Carsten
Thank you for reply!
I have kile (latex client) on gentoo kernel 2.6 ... and it doesn't have package "blindtext". This is what i see when i try to compile:
[PDFLaTeX] finished with exit status 1
test.tex:4:File `blindtext.sty' not found. \usepackage
When i removed \package{blindtext} and \blinddocument lines everything compiled.When i view document i saw red boredered, but unactive, links.
Any suggestions ?
Thanks for all!
Ever read the manual? It exists even in english...
http://www.tug.org/applications/hyperref/manual.html
Greetings Bischi
Ok now everything is working perfect!
Thak's a lot for help!
:)
Regards
daswaldhorn
30-05-2006, 08:29
Hello mw,
nice to hear, that it is working.
Have also a look at CTAN (http://www.dante.de/cgi-bin/ctan-index). Here you will find nearly every package which is not at you system, e.g. blindtext.
Greetings, Carsten
Thank you Carsten ! :)... ...for solving my problem
Powered by vBulletin® Version 4.2.5 Copyright ©2024 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.