[OS X TeX] Funny bug in hyperref

Victor Ivrii vivrii at gmail.com
Fri Jul 6 19:23:05 CEST 2012


On Fri, Jul 6, 2012 at 1:09 PM, Victor Ivrii <vivrii at gmail.com> wrote:
> On Fri, Jul 6, 2012 at 12:24 PM, Alain Schremmer
> <schremmer.alain at gmail.com> wrote:
>>
>> On Jul 6, 2012, at 11:30 AM, Alan Munn wrote:
>>
>>> Is there a minimal tex source that can produce it?
>>
>>
>> May not be minimal but here is a small one:
>>
>>
>> \documentclass[11pt]{book}
>> \usepackage[T1]{fontenc}
>> \usepackage{pdfsync}
>> \usepackage{url}
>> \usepackage[hyperfootnotes=false]{hyperref}%[pdfborder={0 0 0}]
>>
>> \begin{document}
>> \chapter{Chapter}
>> \section{Section The First}
>> Some text
>> \vspace{100mm}
>> Some text
>>
>>
>>
>> Some text before Some text before Some text before Some text before Some
>> text before Some text before Some text before
>> \url{http://en.wikipedia.org/wiki/Metrication_in_the_United_States}.)
>>
>>
>> \section{Section The Second}
>>
>> Some text
>>
>> \end{document}
>>
>>
>>
>>
>> ----------- Please Consult the Following Before Posting -----------
>> TeX FAQ: http://www.tex.ac.uk/faq
>> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
>> List Archive: http://tug.org/pipermail/macostex-archives/
>> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
>> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
>>
>>
>
> Methinks that the problem is in underscore.
>
> Use
>
> \href{http://en.wikipedia.org/wiki/Metrication_in_the_United_States}{http://en.wikipedia.org/wiki/Metrication\_in\_the\_United\_States}.
>
> instead
>
>
> Victor
>


Actually it is even funnier:

original \url{http://en.wikipedia.org/wiki/Metrication_in_the_United_States}

works if there is a blank line before or if it does not happen on such
strange place but no pdf is produced in the example below
(fully updated TL2012 pretest)


> --
> ========================
> Victor Ivrii, Professor, Department of Mathematics, University of Toronto
> http://www.math.toronto.edu/ivrii



-- 
========================
Victor Ivrii, Professor, Department of Mathematics, University of Toronto
http://www.math.toronto.edu/ivrii



More information about the macostex-archives mailing list