On Mon, May 1, 2023 at 6:03 PM David Kastrup <d...@gnu.org> wrote: > > Hongyi Zhao <hongyi.z...@gmail.com> writes: > > > Hi here, > > > > I know this is not an auctex related problem, but I would like to see > > some experience from others in solving this problem. > > > > With the attached file as an example, I always encounter the following > > error during compiling it: > > > > ERROR: LaTeX Error: \caption outside float. > > > > --- TeX said --- > > > > See the LaTeX manual or LaTeX Companion for explanation. > > Type H <return> for immediate help. > > ... > > > > l.9 \caption > > {Caption to table} > > --- HELP --- > >>From the .log file... > > > > You're in trouble here. Try typing <return> to proceed. > > If that doesn't work, type X <return> to quit. > > > > But I really can't find a way to solve this problem gracefully. Any > > tips will be appreciated. > > Complain to the author of the iucr document class.
Nice tip. Done. > -- > David Kastrup Zhao