Conversion Toolshyperref breaklinks problem

Information and discussion about output converters related to LaTeX (e.g. dvips, ps2pdf, ...)
Post Reply
AlexQ
Posts: 2
Joined: Tue Dec 03, 2013 3:55 pm

hyperref breaklinks problem

Post by AlexQ »

Hello!

I am new in the forum, I started working with LaTeX some months ago and I have found this site very useful.

Now I am writing a report and I want to have toc, lof and lot with hyperlinks. So I use the package:

Code: Select all

\usepackage[dvips,breaklinks]{hyperref}

Then I compile via \latex+dvips+ps2pdf+view pdf . When the pdf is generated the link text does not break at end line (i.e., in toc, lof and lot). I also used hypdvips package (http://www.latex-community.org/forum/vi ... 44&t=17716 ) but a lot of errors appear.

Code: Select all

\usepackage{hypdvips}
Although one solution is to add linktocpage (http://www.tex.ac.uk/cgi-bin/texfaq2htm ... breaklinks), I want to make the text active and not only the page number.

I also tried compiling via \ latex+dvipdfm+view pdf with the option dvipdfmx in hyperref

Code: Select all

\usepackage[dvipdfmx]{hyperref}

This time the breaklinks problem is solved but the eps figures are shifted.

I am using Texmaker 4.1, MiKTeX 2.9, Ghostscript 9.10 and GSview 5.0 on Windows 7.

I would appreciate any guidance.

Thank you in advance.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

hyperref breaklinks problem

Post by Johannes_B »

Crosspost to TeX.SX - Please read, what our administrator thinks about that.

If you are a regular reader here, you should know, that it is good to post a compilable minimal working example to make a problem understandable.

One tip from my side, don't explicitly give a driver to hyperref, i.e. do not load it with option dvips, oder pdftex (or similar).
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
AlexQ
Posts: 2
Joined: Tue Dec 03, 2013 3:55 pm

Re: hyperref breaklinks problem

Post by AlexQ »

@Johannes, I will take it into account next time I post in the forum.
Regarding my question, I also tried using hyperref without options (i.e., dvips, oder pdftex or similar) but it did not work.
Post Reply