[OS X TeX] A \url problem
Vic Norton
vic at norton.name
Mon Nov 2 14:54:48 CET 2009
I've simplified my \url problem as much as possible. Here a simple TeX
script that illustrates the problem. I am attaching the TeXShop/LaTeX
PDF output (if attachments can make it to this list).
### begin source ###
%%!TEX encoding = UTF-8 Unicode
\documentclass[12pt, letterpaper]{article}
\usepackage{geometry}
\geometry{letterpaper, nohead,
hmargin={1.5in, 1.5in}, vmargin={1.5in, 1.0in},
}
\usepackage[parfill]{parskip}
\setlength{\parskip}{2.0ex plus0.5ex minus0.2ex}
\listfiles
\usepackage{url}
\usepackage[colorlinks=true,urlcolor=blue]{hyperref}
\begin{document}
This URL splits
$<$\url{http://vic.norton.name/finance-math/notionportf/
pricedistrib.csv}$>$,
but both parts take you where you are supposed to go.
I'd like to put the URL below this statement, but indented a bit.
Unfortunately the URL splits in an ugly way, and it no longer works
properly. The top goes nowhere; only the ``cvs'' part takes you where
you are supposed to go.\\
\hspace*{4.0ex}
\url{http://vic.norton.name/finance-math/notionportf/pricedistrib.csv}
I'd really like to indent the URL like this.\\
\hspace*{4.0ex}
\begin{minipage}[t]{5.0in}
\url{http://vic.norton.name/finance-math/notionportf/pricedistrib.csv}
\end{minipage}\\[1.0ex]
This looks right, but clicking on the top part doesn't work. Curiously,
clicking just to the right of the top part will take you to the right
place,
and the bottom part works the way it is supposed to.
What is the problem here? What am I missing?
Thanks for any advice you can give me.
Regards,
Vic Norton $<$\url{mailto:vic at norton.name}$>$
\end{document}
### end source ###
Here is a listing of the files used.
*File List*
article.cls 2005/09/16 v1.4f Standard LaTeX document class
size12.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
geometry.sty 2008/12/21 v4.2 Page Geometry
keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
ifpdf.sty 2009/04/10 v2.0 Provides the ifpdf switch (HO)
ifvtex.sty 2008/11/04 v1.4 Switches for detecting VTeX and its
modes (HO)
geometry.cfg
parskip.sty 2001/04/09 non-zero parskip adjustments
url.sty 2006/04/12 ver 3.3 Verb mode for urls, etc.
hyperref.sty 2009/05/01 v6.78r Hypertext links for LaTeX
ifxetex.sty 2009/01/23 v0.5 Provides ifxetex conditional
hycolor.sty 2008/09/08 v1.4 Code for color options of hyperref/
bookmark (HO
)
xcolor-patch.sty 2008/09/08 xcolor patch
pd1enc.def 2009/05/01 v6.78r Hyperref: PDFDocEncoding definition
(HO)
etexcmds.sty 2007/12/12 v1.2 Prefix for e-TeX command names (HO)
infwarerr.sty 2007/09/09 v1.2 Providing info/warning/message (HO)
hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive
kvoptions.sty 2009/04/10 v3.1 Keyval support for LaTeX options (HO)
bitset.sty 2007/09/28 v1.0 Data type bit set (HO)
intcalc.sty 2007/09/27 v1.1 Expandable integer calculations (HO)
bigintcalc.sty 2007/11/11 v1.1 Expandable big integer calculations
(HO)
pdftexcmds.sty 2009/04/10 v0.4 LuaTeX support for pdfTeX utility
functions (
HO)
ifluatex.sty 2009/04/10 v1.1 Provides the ifluatex switch (HO)
kvsetkeys.sty 2007/09/29 v1.3 Key value parser with default handler
support
(HO)
atbegshi.sty 2008/07/31 v1.9 At begin shipout hook (HO)
hpdftex.def 2009/05/01 v6.78r Hyperref driver for pdfTeX
color.sty 2005/11/14 v1.0j Standard LaTeX Color (DPC)
color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
pdftex.def 2008/09/08 v0.04l Graphics/color for pdfTeX
supp-pdf.tex
nameref.sty 2007/05/29 v2.31 Cross-referencing by name of section
refcount.sty 2008/08/11 v3.1 Data extraction from references (HO)
I have no idea what is going wrong here. Apparently others cannot
reproduce my problem. Any advice would be appreciated.
Regards,
Vic
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/macostex-archives/attachments/20091102/af020579/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: url_problem.pdf
Type: application/pdf
Size: 21213 bytes
Desc: not available
URL: <http://tug.org/pipermail/macostex-archives/attachments/20091102/af020579/attachment.pdf>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/macostex-archives/attachments/20091102/af020579/attachment-0001.html>
More information about the macostex-archives
mailing list