Newsgroup: it.comp.software.tex
Titolo: Problema con url e hyperref

Ho notato che se un URL viene spezzata da un'interruzione di pagina
Latex include nell'hyperlink anche la testatina (quella con il nome del
capitolo). Sto usando pdfeTeX, Version 3.141592-1.21a-2.2 (MiKTeX 2.4).
Esempio minimale (tra l'altro, non c'è un package "lorem ipsum" per
generare del testo riempitivo?):
\documentclass[a4paper]{book}
\usepackage{hyperref}
\usepackage{url}
\begin{document}
\chapter{AAAAAAAA}
AAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAA AAAAAAAAAAAA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AAAAAAAA AAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAA \url{
http://www.google.it
}
\end{document}
Qualche idea, a parte ritoccare a mano il PDF con acrobat? Grazie.
Ciao
Davide

 Qualche idea, a parte ritoccare a mano il PDF con acrobat? Grazie.
Mah, ho compilato l'esempio e ho visto che usando pdflatex il problema
esiste. Dal semplice file dvi invece no, perché resta in una pagina, come
anche nel PDF generato da dvipdf. Ho l'impressione (da esperimenti miei)
che latex "semplice" tenda a tenere insieme gli URL, mentre pdflatex li
spezzi con più facilità. Solo un'impressione basata su pochi casi.
g
-- 
Guido Milanese
Vocal Ensemble Ars Antiqua, Genova (Genoa), Italy
http://www.arsantiqua.org