<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Interesting. I was using the book class. Without hyperref, it
worked without a glitch, not even a warning was issued. It
definitely doesn't work with hyperref. I'll just need to rewrite,
I guess. Luckily, there are only a couple of affected footnotes.<br>
</p>
<p>Fernando<br>
</p>
<div class="moz-cite-prefix">On 1/29/2020 12:44 PM, Peter Wilson
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:55dff0bb-b1de-4663-bf42-4ff31b84c5d0@earthlink.net">Normally
you cannot use \verb in a footnote. However the memoir class (if
you are using it) provides a \verbfootnote command which does
allow \verb to be used in the footnote's text.
<br>
<br>
Peter W.
<br>
<br>
<br>
On 29/01/20 14:57, Fernando Gouvea wrote:
<br>
<blockquote type="cite">
<br>
I am working on a book, and the publisher has just (as I was
finishing) asked me to use \hyperref to make links active on the
electronic version. Adding \usepackage{hyperref} and making no
other changes, I get a new error message:
<br>
<br>
<blockquote type="cite">! LaTeX Error: \verb illegal in command
argument.
<br>
<br>
See the LaTeX manual or LaTeX Companion for explanation.
<br>
Type H <return> for immediate help.
<br>
...
<br>
</blockquote>
This happens because I used something like \verb|Qp| in a
footnote. Despite the error message, the resulting pdf looks ok.
Of course, I haven't actually tried using any hyperref
functionality yet. Can anyone explain what is going on?
<br>
<br>
Thanks,
<br>
<br>
Fernando
<br>
<br>
-- <br>
=============================================================
<br>
Fernando Q. Gouveahttp://www.colby.edu/~fqgouvea
<br>
Carter Professor of Mathematics
<br>
Dept. of Mathematics and Statistics
<br>
Colby College
<br>
5836 Mayflower Hill
<br>
Waterville, ME 04901
<br>
<br>
Ah, Mozart! He was happily married -- but his wife wasn't.
<br>
-- Victor Borge
<br>
<br>
</blockquote>
<br>
</blockquote>
<pre class="moz-signature" cols="72">--
=============================================================
Fernando Q. Gouvea <a class="moz-txt-link-freetext" href="http://www.colby.edu/~fqgouvea">http://www.colby.edu/~fqgouvea</a>
Carter Professor of Mathematics
Dept. of Mathematics and Statistics
Colby College
5836 Mayflower Hill
Waterville, ME 04901
What sane person could live in this world and not be crazy?
-- Ursula K. LeGuin
</pre>
</body>
</html>