[OS X TeX] clickable url in Pdftex

Alain Schremmer schremmer.alain at gmail.com
Sun May 27 18:31:43 CEST 2012


On May 27, 2012, at 11:56 AM, Herbert Schulz wrote:

> Can we see the lines near the beginning that shows when all the  
> files are being read in? Especially the ones just before the error  
> message.


Mmm, that sounds a bit indiscrete, doesn't it? :-))

> Trying to figure out why you are reading in an old kvoptions.

I sure wish I knew.

> Are you sure you don't have anything in ~/Library/texmf/tex/latex/?

Of course I am not sure. (But I just checked and, sure enough there it  
was: 2007. Moved it out to the desktop. Just in case.)

Ok, uncommented

\usepackage{hyperref}%[pdfborder={0 0 0}]

in the preamble, ran the file and:

> Latexmk: This is Latexmk, John Collins, 7 May 2011, version: 4.24.
> **** Report bugs etc to John Collins <collins at phys.psu.edu>. ****
> Rule 'makeindex 2.idx': File changes, etc:
>    Changed files, or newly in use since previous run(s):
>       '2.idx'
> ------------
> Run number 1 of rule 'makeindex 2.idx'
> ------------
> ------------
> Running 'makeindex  -o "2.ind" "2.idx"'
> ------------
> Latexmk: applying rule 'makeindex 2.idx'...
> This is makeindex, version 2.15 [TeX Live 2011] (kpathsea + Thai  
> support).
> Scanning input file 2.idx...done (0 entries accepted, 0 rejected).
> Nothing written in 2.ind.
> Transcript written in 2.ilg.
> Rule 'pdflatex': File changes, etc:
>    Changed files, or newly in use since previous run(s):
>       '../StyleSheets/Preamble.sty'
>       '../Text-contents/2.aux'
>       '../Text-contents/2.tex'
>       '2.aux'
>       '2.ind'
>    No-longer-existing files:
>       '/Users/gpadnom/Library/texmf/tex/latex/kvoptions.sty'
> ------------
> Run number 1 of rule 'pdflatex'
> ------------
> ------------
> Running 'pdflatex --shell-escape --synctex=1 --file-line-error    
> "2.tex"'
> ------------
> Latexmk: applying rule 'pdflatex'...
> This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011)
>  \write18 enabled.
> entering extended mode
> (./2.tex
> LaTeX2e <2009/09/24>
> Babel <v3.8l> and hyphenation patterns for english, dumylang,  
> nohyphenation, ge
> rman-x-2009-06-19, ngerman-x-2009-06-19, afrikaans, ancientgreek,  
> ibycus, arabi
> c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian,  
> czech, danis
> h, dutch, ukenglish, usenglishmax, esperanto, estonian, ethiopic,  
> farsi, finnis
> h, french, galician, german, ngerman, swissgerman, monogreek, greek,  
> hungarian,
>  icelandic, assamese, bengali, gujarati, hindi, kannada, malayalam,  
> marathi, or
> iya, panjabi, tamil, telugu, indonesian, interlingua, irish,  
> italian, kurmanji,
>  lao, latin, latvian, lithuanian, mongolian, mongolianlmc, bokmal,  
> nynorsk, pol
> ish, portuguese, romanian, russian, sanskrit, serbian, serbianc,  
> slovak, sloven
> ian, spanish, swedish, turkish, turkmen, ukrainian, uppersorbian,  
> welsh, loaded
> .
> (/usr/local/texlive/2011/texmf-dist/tex/latex/base/book.cls
> Document Class: book 2007/10/19 v1.4h Standard LaTeX document class
> (/usr/local/texlive/2011/texmf-dist/tex/latex/base/bk11.clo))
> (../StyleSheets/Preamble.sty
> (/usr/local/texlive/2011/texmf-dist/tex/latex/base/fontenc.sty
> (/usr/local/texlive/2011/texmf-dist/tex/latex/base/t1enc.def))
> (/Users/gpadnom/Library/texmf/tex/latex/pdfsync.sty)
> (/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/graphicx.sty
> (/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/keyval.sty)
> (/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/graphics.sty
> (/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/trig.sty)
> (/usr/local/texlive/2011/texmf-dist/tex/latex/latexconfig/ 
> graphics.cfg)
> (/usr/local/texlive/2011/texmf-dist/tex/latex/pdftex-def/pdftex.def
> (/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/ 
> infwarerr.sty)
> (/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/ 
> ltxcmds.sty))))
> (/usr/local/texlive/2011/texmf-dist/tex/latex/base/makeidx.sty)
> (/usr/local/texlive/2011/texmf-dist/tex/latex/base/showidx.sty)
> (/usr/local/texlive/2011/texmf-dist/tex/latex/nextpage/nextpage.sty)
> (/Users/gpadnom/Library/texmf/tex/latex/epigraph.sty)
> (/usr/local/texlive/2011/texmf-dist/tex/latex/hyperref/hyperref.sty
> (/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/hobsub- 
> hyperref.sty
> (/usr/local/texlive/2011/texmf-dist/tex/generic/oberdiek/hobsub- 
> generic.sty))
> (/usr/local/texlive/2011/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
> (/usr/local/texlive/2011/texmf-dist/tex/latex/oberdiek/kvoptions.sty)
> (/usr/local/texlive/2011/texmf-dist/tex/latex/hyperref/pd1enc.def)
> (/usr/local/texlive/2011/texmf-dist/tex/latex/latexconfig/ 
> hyperref.cfg)
> (/usr/local/texlive/2011/texmf-dist/tex/latex/url/url.sty))
>
> Package hyperref Message: Driver (autodetected): hpdftex.
>
> (/usr/local/texlive/2011/texmf-dist/tex/latex/hyperref/hpdftex.def
> (/usr/local/texlive/2011/texmf-dist/tex/latex/oberdiek/ 
> rerunfilecheck.sty))
> (/usr/local/texlive/2011/texmf-dist/tex/latex/amsmath/amsmath.sty
> For additional information on amsmath, use the `?' option.
> (/usr/local/texlive/2011/texmf-dist/tex/latex/amsmath/amstext.sty
> (/usr/local/texlive/2011/texmf-dist/tex/latex/amsmath/amsgen.sty))
> (/usr/local/texlive/2011/texmf-dist/tex/latex/amsmath/amsbsy.sty)
> (/usr/local/texlive/2011/texmf-dist/tex/latex/amsmath/amsopn.sty))
> (/usr/local/texlive/2011/texmf-dist/tex/latex/amscls/amsthm.sty)
> (/usr/local/texlive/2011/texmf-dist/tex/latex/amsfonts/amssymb.sty
> (/usr/local/texlive/2011/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
> (/usr/local/texlive/2011/texmf-dist/tex/latex/amsmath/amscd.sty)
> (/Users/gpadnom/Library/texmf/tex/latex/mathtools.sty
> (/usr/local/texlive/2011/texmf-dist/tex/latex/tools/calc.sty)
> (/Users/gpadnom/Library/texmf/tex/latex/mhsetup.sty))
> (/Users/gpadnom/Library/texmf/tex/latex/stmaryrd/stmaryrd.sty)
> (/usr/local/texlive/2011/texmf-dist/tex/latex/tools/array.sty)
> (/usr/local/texlive/2011/texmf-dist/tex/latex/tools/enumerate.sty)
> (/usr/local/texlive/2011/texmf-dist/tex/latex/booktabs/booktabs.sty)
> (/Users/gpadnom/Library/texmf/tex/latex/paralist.sty)
> (/Users/gpadnom/Library/texmf/tex/latex/dcolumn.sty)
> (/Users/gpadnom/Library/texmf/tex/latex/colortbl.sty
> (/usr/local/texlive/2011/texmf-dist/tex/latex/graphics/color.sty
> (/usr/local/texlive/2011/texmf-dist/tex/latex/latexconfig/color.cfg)))
> (/Users/gpadnom/Library/texmf/tex/latex/multirow.sty)
> (/usr/local/texlive/2011/texmf-dist/tex/latex/tools/hhline.sty)
> (/usr/local/texlive/2011/texmf-dist/tex/latex/tools/longtable.sty)
> (/usr/local/texlive/2011/texmf-dist/tex/latex/boxedminipage/ 
> boxedminipage.sty)
> (/Users/gpadnom/Library/texmf/tex/latex/ulem.sty)
> (/usr/local/texlive/2011/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty
> Style option: `fancyvrb' v2.7a, with DG/SPQR fixes, and  
> firstline=lastline fix
> <2008/02/07> (tvz)) (/Users/gpadnom/Library/texmf/tex/latex/ 
> fancybox.sty
> Style option: `fancybox' v1.3 <2000/09/19> (tvz)
> ) (/Users/gpadnom/Library/texmf/tex/latex/cancel.sty)
> (/usr/local/texlive/2011/texmf-dist/tex/latex/relsize/relsize.sty)
> (/Users/gpadnom/Library/texmf/tex/latex/arrayjobx.sty)
> (/usr/local/texlive/2011/texmf-dist/tex/latex/base/ifthen.sty)
> (/Users/gpadnom/Library/texmf/tex/latex/forloop.sty)
> (/Users/gpadnom/Library/texmf/tex/latex/polynomial.sty)
> (/Users/gpadnom/Library/texmf/tex/latex/polynom.sty)
> (/Users/gpadnom/Library/texmf/tex/latex/datetime.sty
> (/Users/gpadnom/Library/texmf/tex/latex/fmtcount.sty
> (/Users/gpadnom/Library/texmf/tex/latex/fc-english.def)
> (/Users/gpadnom/Library/texmf/tex/latex/fc-UKenglish.def)
> (/Users/gpadnom/Library/texmf/tex/latex/fc-british.def)
> (/Users/gpadnom/Library/texmf/tex/latex/fc-USenglish.def)
> (/Users/gpadnom/Library/texmf/tex/latex/fc-spanish.def)
> (/Users/gpadnom/Library/texmf/tex/latex/fc-portuges.def)
> (/Users/gpadnom/Library/texmf/tex/latex/fc-french.def)
> (/Users/gpadnom/Library/texmf/tex/latex/fc-german.def)
> No configuration file fmtcount.cfg found.
> )) (/Users/gpadnom/Library/texmf/tex/latex/probsoln.sty
> (/Users/gpadnom/Library/texmf/tex/latex/substr.sty))
> (/Users/gpadnom/Library/texmf/tex/latex/fink.sty)
> (/usr/local/texlive/2011/texmf-dist/tex/latex/tools/trace.sty)
> (/Users/gpadnom/Library/texmf/tex/latex/titleref.sty)
> (/usr/local/texlive/2011/texmf-dist/tex/latex/base/textcomp.sty
> (/usr/local/texlive/2011/texmf-dist/tex/latex/base/ts1enc.def))
> (/usr/local/texlive/2011/texmf-dist/tex/latex/psnfss/pifont.sty
> (/usr/local/texlive/2011/texmf-dist/tex/latex/psnfss/upzd.fd)
> (/usr/local/texlive/2011/texmf-dist/tex/latex/psnfss/upsy.fd))
> (/Users/gpadnom/Library/texmf/tex/latex/prettyref.sty)
> (/usr/local/texlive/2011/texmf-dist/tex/latex/titlesec/titletoc.sty)
> Writing index file 2.idx
> ) (../StyleSheets/GraphicsPaths.sty) (./2.aux)
> (/usr/local/texlive/2011/texmf-dist/tex/latex/base/ts1cmr.fd)
> (/usr/local/texlive/2011/texmf-dist/tex/context/base/supp-pdf.mkii
> [Loading MPS to PDF converter (version 2006.09.02).]
> ) (/usr/local/texlive/2011/texmf-dist/tex/latex/oberdiek/epstopdf- 
> base.sty
> (/usr/local/texlive/2011/texmf-dist/tex/latex/oberdiek/grfext.sty)
> (/usr/local/texlive/2011/texmf-dist/tex/latex/latexconfig/epstopdf- 
> sys.cfg))
> (/Users/gpadnom/Library/texmf/tex/latex/nameref.sty) (./2.out) (./ 
> 2.out)
> (../Text-contents/2.tex
> Chapter 2.
> (/usr/local/texlive/2011/texmf-dist/tex/latex/amsfonts/umsa.fd)
> (/usr/local/texlive/2011/texmf-dist/tex/latex/amsfonts/umsb.fd)
> (/Users/gpadnom/Library/texmf/tex/latex/stmaryrd/ustmry.fd)
>
> Package hyperref Warning: Ignoring empty anchor on input line 13.
>
> (./2.ptc
> ./2.ptc:4: Argument of \contentsline has an extra }.
> <inserted text>
>                 \par
> l.4 \contentsline
>                   {section}{\numberline {2.2}Representing Numbers Of  
> Items}{2}
> ?
> Process aborted

I see that the absence of kvoptions has been duly noted but I don't  
get the

> Package hyperref Warning: Ignoring empty anchor on input line 13

which is

> \footnotetext{\emph{Creation}, Ballantine Fiction, Page 326}

Here is the relevant part of the source:


> %!TEX root = ../Text-controls/\jobname.tex
>
>
> %CHAPTER=========CHAPTER=========CHAPTER=========CHAPTER
> \chapter{The Basic Ideas}
> \epigraphhead[0]%
> {%
> \epigraph{[...] clay tablets that represented millions of sheep,  
> tonnes of barley, stacks of iron and nearly all the [gold coins]  
> ever minted.}{%
> \setcounter{footnote}{0}%one before you read
> \textit{Gore Vidal}\footnotemark{}}%
> }%
> \setcounter{footnote}{1}% or whatever the footnote number should be
> \footnotetext{\emph{Creation}, Ballantine Fiction, Page 326}
> \ChapterToc
> %CHAPTER=========CHAPTER=========CHAPTER=========CHAPTER
>
>
>
> %$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$	
> \section{Quantities}
> %$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$	
>  The aspect of the real world that \SUBJECT{Arithmetic} deals with  
> is \textbf{quantities}\index{quantity} of real-world entities---as  
> opposed to, say, their shape or their color. (See \url{http://en.wikipedia.org/wiki/Arithmetic 
> })
>  \begin{asparaenum}%1, 2, 3.
> \setlength{\itemsep}{0mm}
> \def\indent{\hglue 5.3mm}
> \item%1
>  What immediately complicates matters, though, is that, from the  
> point of view of \emph{quantities}, there are two very different  
> kinds of real-world entities and, correspondingly, two very  
> different kinds of \emph{quantities}\footnote{Educologists would  
> speak of \emph{multitude} versus \emph{magnitude}.}.
> \begin{compactitem}
> \setlength{\itemsep}{0mm}
> \item%bullet
> One kind of real-world entity comes in the form of \textbf{items} 
> \index{item}, that is distinct entities that can each be dealt with  
> \emph{individually} and a quantity of \emph{items} is a  
> \textbf{number}\index{number}.
>
> \vspace{1mm}
> %\noindent
> \begin{EEXAMPLE}%
> \object{Apples} can each be dealt with individually and a  
> \emph{number} of \object{apples} could, for instance, be  
> \NUMBER{five}.
> \end{EEXAMPLE}%
> \item%bullet
> The other kind of real-world entity comes in the form of  
> \textbf{stuff}\index{stuff} that is an entity that can be dealt with  
> only \emph{in bulk} or \emph{as a whole} and a quantity of  
> \emph{stuff} is an \textbf{amount}\index{amount}.
>
> \vspace{1mm}
> %\noindent
> \begin{EEXAMPLE}%
> \object{Soup} is \emph{stuff} and an \emph{amount} of \object{soup}  
> could, for instance, be \NUMBER{five pints}.
> \end{EEXAMPLE}%
> \end{compactitem}
> The distinction between \emph{numbers} and \emph{amounts} is  
> difficult to pin down\footnote{As Educologists well know, while the  
> ancient Greeks had the concept of \emph{number}, they were unable to  
> deal with \emph{amounts} other than via `ratios and proportions'  
> which effectively stopped the development of \SUBJECT{Arithmetic}  
> for many centuries. Which makes one wonder why Educologists should  
> insist on teaching ``ratios and proportions''.} and often  
> misunderstood.  (See \url{http://www.differencebetween.net/science/mathematics-statistics/difference-between-number-and-amount/ 
> } and \url{http://www.youtube.com/watch?v=F8Do9bDfd1Y}). Yet, as we  
> will see shortly, the distinction  between \emph{numbers} and  
> \emph{amounts} is  a very significant one.
>
>
>
> \item%3
>  Natural languages may or may not use different words when dealing  
> with \emph{numbers} and with \emph{amounts} and, even when they do,  
> they do not always do so.
>
> \vspace{1mm}
> %\noindent
> \begin{EEXAMPLE}%
> In English, the distinction between \emph{numbers} and  
> \emph{amounts} is usually made, but not always:
> %\\[0.01mm]
> \begin{center}
> \catcode`\•=\active \def•{}
> 	\begin{tabular}{@{} lccc @{}}
> 		\hhline{~---}
> 		\hhline{~---}
> 	%Row0
>> 		&	Numbers
> 		&	\hspace{4mm}
> 		&	Amounts
> 		\\
> 		\hhline{~---}
> 	%Row2
>> 		&	Too \colorbox{yellow}{\hspace{-0.8mm}\emph{many}\hspace{-0.8mm}}  
> \object{apples}
> 		&	•
> 		&	Too \colorbox{yellow}{\hspace{-0.8mm}\emph{much}\hspace{-0.8mm}}  
> \object{soup}
> 		\\
> 	%Row3
>> 		&	A \colorbox{yellow}{\hspace{-0.8mm}\emph{few}\hspace{-0.8mm}}  
> \object{apples}
> 		&	•
> 		&	A \colorbox{yellow}{\hspace{-0.8mm}\emph{little}\hspace{-0.8mm}}  
> \object{soup}
> 		\\
> 	%Row4
>> 		&	\colorbox{yellow}{\hspace{-0.8mm}\emph{Fewer}\hspace{-0.8mm}}  
> \object{apples} than \object{bananas}
> 		&	•
> 		&	\colorbox{yellow}{\hspace{-0.8mm}\emph{Less}\hspace{-0.8mm}}  
> \object{soup} than \object{milk}
> 		\\
> 	%Row5
> 			but:
> 		&	•
> 		&	•
> 		&	•
> 		\\
> 	%Row6
>> 		&	\emph{More} \object{apples} than \object{bananas}
> 		&	•
> 		&	\emph{More} \object{soup} than \object{milk}
> 		\\
> 	%Row7
> 			in spite of
> 		&	•
> 		&	•
> 		&	•
> 		\\
> 	%Row8
>> 		&	\colorbox{yellow}{\hspace{-0.8mm}\emph{Many more} 
> \hspace{-0.8mm}} \object{apples} than \object{bananas}
> 		&	•
> 		&	\colorbox{yellow}{\hspace{-0.8mm}\emph{Much more} 
> \hspace{-0.8mm}} \object{soup} than \object{milk}
> 		\\
> 		\hhline{~---}
> 		\hhline{~---}
> 	\end{tabular}
> \end{center}
>
> \end{EEXAMPLE}%
> \vspace{3mm}
>
>
> \end{asparaenum}%1, 2, 3.
>
>
> %$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$	
> \section{Representing Numbers Of Items}
> %$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$	
> We start our development of a symbolic system for  
> \SUBJECT{Arithmetic} by dealing with \emph{numbers of items} and we  
> will then see that this symbolic system also enables us to deal with  
> \emph{amounts of stuff}.

Hopeful regards
--schremmer


More information about the macostex-archives mailing list