[OS X TeX] backref
Herbert Schulz
herbs2 at mac.com
Tue Feb 28 07:55:20 EST 2023
> On Feb 27, 2023, at 8:00 PM, George Gratzer via MacOSX-TeX <macosx-tex at email.esm.psu.edu> wrote:
>
> A trick, even neater:
>
> \renewcommand{\verb}{\relax}
>
>
>
>> On Feb 24, 2023, at 2:08 PM, Herbert Schulz via MacOSX-TeX <macosx-tex at email.esm.psu.edu> wrote:
>>
>>
>>
>>> On Feb 24, 2023, at 11:51 AM, George Gratzer via MacOSX-TeX <macosx-tex at email.esm.psu.edu> wrote:
>>>
>>> Consider this tex file:
>>>
>>> \documentclass{amsart}
>>> \usepackage[backref]{hyperref}
>>>
>>> \begin{document}
>>> \title{Testing backref}
>>>
>>> \maketitle
>>>
>>> \section{Introduction}
>>> xxx
>>>
>>> \begin{thebibliography}{9}
>>>
>>> \bibitem{gCcc}
>>> G. Cz\'edli,
>>> A property.\\
>>> \verb!+arXiv:2112.07594!
>>>
>>> \end{thebibliography}
>>> \end{document}
>>>
>>> Cannot run it. Why?
>>>
>>> GG
>>
>> Howdy,
>>
>> First, I had trouble with using \verb in the bibliography environment and chnaged it to a \texttt{} command. Also, there is no citation given so there is nothing to `backref' to. I enclose a version that seems to typeset fine.
>>
>> % !TEX program = pdflatexmk
>> \documentclass{amsart}
>> \usepackage[backref]{hyperref}
>>
>> \begin{document}
>> \title{Testing backref}
>>
>> \maketitle
>>
>> \section{Introduction}
>> xxx \cite{gCcc}
>>
>> \newpage
>>
>> \begin{thebibliography}{9}
>>
>> \bibitem{gCcc}G. Cz\'edli, A property.\\
>> \texttt{+arXiv:2112.07594}
>>
>> \end{thebibliography}
>> \end{document}
>>
>> Good Luck,
>>
>> Herb Schulz
>> herbs2 at mac.com
Howdy,
Won't that leave the delimiters for the \verb (! in your case) intact? Also, the text will not be in a typewriter/mono-spaced font.
Good Luck,
Herb Schulz
herbs2 at mac.com
More information about the MacOSX-TeX
mailing list