[OS X TeX] clickable url in Pdftex
Alain Schremmer
schremmer.alain at gmail.com
Mon May 28 16:19:44 CEST 2012
On May 28, 2012, at 4:58 AM, Claus Gerhardt wrote:
> Alain,
>
> Use \href{http://en.wikipedia.org/wiki/Arithmetic}{you name it} and
> omit the pdfborder option - at least I did.
>
> Claus
Long time no see !!!! Glad to hear from you. (Mixing my metaphors here).
I had indeed not thought of using href---even though, of course, I do
the equivalent in html. But here, I will stick with the url because
many people read the Magnum Opus in print.
As I posted earlier, things with hyperref now work fairly well but, of
course, I don't understand why: I am using titleref for, as I recall,
the chapter tocs but Arseneau himself says not to and to use nameref
(which is part of hyperref) instead.
By the way, hyperref killed makeidx until I found on the web that
showidx had to come after hyperref. Now things work almost well: I can
typeset a chapter from its "chapter root"---and it is perfect, but I
cannot typeset it from the "book root". Working on it.
Not a big problem, though, because the people who read the MG online
seem to read it chapter by chapter while those who print it print the
whole book. So, I can always play it both ways.
Hope to see you one of these days.
--schremmer
P.S. In Philadelphia.
>
>
> On May 26, 2012, at 22:01, Alain Schremmer wrote:
>
>> In the interest of leanness, I thought to replace some background
>> in the Magnum Opus by references to Wikipedia.
>>
>> I wrote the Magnum Opus with hard copy in mind but it turns out a
>> number of people read it on line which made me think of making the
>> url clickable. So, I put
>>
>> \usepackage{hyperref}%[pdfborder={0 0 0}]
>>
>> in the preamble and documents that compiled very nicely until then,
>> including stuff like:
>>
>>> (See \url{http://en.wikipedia.org/wiki/Arithmetic})
>>
>> immediately failed with the message:
>>
>>> LaTeX Warning: You have requested, on input line 250, version
>>> `2009/07/21' of package kvoptions,
>>> but only version
>>> `2007/10/18 v3.0 Keyval support for LaTeX options (HO)'
>>> is available.
>>>
>>> (/usr/local/texlive/2010/texmf-dist/tex/latex/hyperref/pd1enc.def)
>>> (/usr/local/texlive/2010/texmf-dist/tex/latex/latexconfig/
>>> hyperref.cfg)
>>> /usr/local/texlive/2010/texmf-dist/tex/latex/hyperref/hyperref.sty:
>>> 3896: Undefined control sequence.
>>> l.3896 \DeclareLocalOptions
>>> {%
>>> ?
>>
>> However, line 250 is in the middle of a big block of text that is
>> commented out.
>>
>> As for "kvoptions", I installed Mac Tex a few months ago when I
>> went from 10.4.11 to 10.5.8. and I forgot how to find the version
>> number via the terminal.
>>
>> Once hyperref was removed, all went back to smooth operation. So no
>> harm but hyperref is truly not for the faint of heart.
>>
>> Still, what did I do wrong? (<http://en.wikibooks.org/wiki/LaTeX/Hyperlinks
>> > did not help.)
>>
>> Regards
>> --schremmer
>>
>>
>>
>>
>>
>> ----------- 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
>>
>
> ----------- 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
>
More information about the macostex-archives
mailing list