Strange message for \nobreakdash inside a \caption
- From: "Mariano Suárez-Alvarez" <mariano.suarezalvarez@xxxxxxxxx>
- Date: Fri, 29 Feb 2008 10:30:51 -0800 (PST)
Hi all,
the following little piece of code results in an unintelligible error:
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{figure}
A figure goes here.
\caption{The caption\nobreakdash-goes here}
\end{figure}
\end{document}
This is using amsmath's \nobreakdash.
If one changes that to plain latex's \nobreakdashes
the error goes away.
Is there any actual difference between the two macros?
They are similarly scary...
-- m
.
- Follow-Ups:
- Re: Strange message for \nobreakdash inside a \caption
- From: Nicola Talbot
- Re: Strange message for \nobreakdash inside a \caption
- Prev by Date: Re: The Problems of TeX
- Next by Date: Re: Strange message for \nobreakdash inside a \caption
- Previous by thread: Re: arrayjob incompatibility with amsmath?
- Next by thread: Re: Strange message for \nobreakdash inside a \caption
- Index(es):