[OS X TeX] Reference and backref
Herbert Schulz via MacOSX-TeX
macosx-tex at email.esm.psu.edu
Wed Jun 28 18:23:49 CEST 2023
> On Jun 28, 2023, at 11:04 AM, Herbert Schulz via MacOSX-TeX <macosx-tex at email.esm.psu.edu> wrote:
>
>
>
>> On Jun 28, 2023, at 10:12 AM, George Gratzer via MacOSX-TeX <macosx-tex at email.esm.psu.edu> wrote:
>>
>> It seem there is some conflict between the backref option of hyperref
>> and the \verb command.
>>
>> Example:
>>
>> \documentclass{book}
>> \usepackage[backref]{hyperref}
>>
>> \begin{document}
>> \begin{thebibliography}{10}
>> \bibitem{uK05}
>> Uwe Kern,
>> \emph{The \texttt{xcolor} package.} December 21, 2005.\\
>> \verb+\http:www.ukern.de\tex\xcolor.html+
>> \end{thebibliography}
>> \end{document}
>>
>> Log file:
>>
>> ! Undefined control sequence.
>> <argument> ...} December 21, 2005.\\ \verb +\http
>> :www.ukern.de\tex \xcolor ...
>> <*> xxx.tex
>>
>> ?
>>
>> What did i do wrong?
>>
>> GG
>
> Howdy,
>
> \documentclass{book}
> \usepackage[backref]{hyperref}
>
> \begin{document}
> \begin{thebibliography}{10}
> \bibitem{uK05}
> Uwe Kern, \emph{The \texttt{xcolor} package.} December 21, 2005.\\
> \url{http://www.ukern.de/tex/xcolor.html}
> \end{thebibliography}
> \end{document}
>
> typesets fine for me. Note: corrected the URL (http:// and /s rather than \s) and also used hyperref's \url rather than \verb+...+.
>
> Good Luck,
>
> Herb Schulz
> herbs2 at mac.com
Howdy,
It also looks like there should either be a \par or a blank line after the \url command so that the \bibitem is completed.
Good Luck,
Herb Schulz
herbs2 at mac.com
----------- Please Consult the Following Before Posting -----------
TeX FAQ: https://www.tug.org/mactex/faq/index.html
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/TeX/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: https://www.tug.org/mactex/index.html
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
More information about the macostex-archives
mailing list.