Skip to content
glottotopia edited this page Mar 23, 2021 · 6 revisions

The following list presents common error codes and gives hints how to address the errors:

floats lost

  • most likely cause This error occurs when you add a \todo{} or a \marginpar{} to a footnote
  • prototypical example
\footnote{John \todo{or Jim???} said this and that.}
  • remedy use \todo[inline]{} instead
  • fixed example
\footnote[inline]{John \todo{or Jim???} said this and that.}

has an extra }

  • most likely cause
  • prototypical example
  • remedy
  • fixed example

paragraph ended before twosent was complete

  • most likely cause You used \gll but forgot to end a line with \\
  • prototypical example
\gll Das funktioniert nicht\\
     this work not 
\glt `This does not work'
  • remedy add the missing \\
  • fixed example
\gll Das funktioniert nicht\\
     this work not\\
\glt `This does not work'

not in outer par mode

  • most likely cause: you have nested {table} or {figure} environments
  • prototypical example:
\begin{figure}
   \begin{table}
       ...
   \end{table}
\end{figure}
  • remedy: remove the extra environment
  • fixed example
\begin{figure} 
       ... 
\end{figure}

begin{xxx} finished by end{yyy}

  • most likely cause
  • prototypical example
  • remedy
  • fixed example

undefined control sequence

  • most likely cause: you misspelled a command, e.g. \setcion{} instead of \section{}
  • other possible cause: you forgot to close some of your ea's with \z's.
  • prototypical example
\setcion{Introduction}
\ea
 \ea Law 1
 \ex Law 2

Some text

\ea
 \ea Rule A
 \ex Rule B 

Some more text 

\ea
 \ea Error occurs here 
 \ex ...
  • remedy close the \z's
  • fixed example
\ea
 \ea Law 1
 \ex Law 2
 \z
\z

Some text

\ea
 \ea Rule A
 \ex Rule B 
 \z
\z

Some more text 

\ea
 \ea Error occurs here 
 \ex ...
 \z
\z

missing $ inserted

  • most likely cause
  • prototypical example
  • remedy
  • fixed example

there is no line here to end