Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Compiling some linguex code gives me:

Runaway argument?
\newgll  [CP Ceapann tú [CP go bhuailfidh an píobaire an t-amhrán \ETC.
! File ended while scanning use of \ai.
<inserted text> 
                \par 

Code:

\documentclass[11pt]{article}
\usepackage{linguex}

\begin{document}
\ex. \aig. [CP Ceapann tú [CP go bhuailfidh an píobaire an t-amhrán ]] \\
          think you that play.FUT the piper the song\\
          `You think that the piper will play the song.'\\
 \big. An t-ór seo$_i$ [CP a$_N$ chreid corr-dhuine [CP go raibh sé$_i$ ann ] ].\\
       the gold DEM that.RSMP thought some-people that was it there\\
       `This gold that some people thought was there'\\

\end{document}
share|improve this question

1 Answer 1

up vote 3 down vote accepted

You need an empty line after every \ex.. The following works fine (apart from an underfull \hbox):

\documentclass[11pt]{article}
\usepackage{linguex}

\begin{document}
\ex. \aig. [CP Ceapann tú [CP go bhuailfidh an píobaire an t-amhrán ]] \\
          think you that play.FUT the piper the song\\
          `You think that the piper will play the song.'\\

\end{document}

Page 1 of the linguex documentation:

The list environment created by \ex. must be closed by a single blank line (a \par). The text following this list will not be indented. In order to get a \parindent, a second blank line must be added, immediately following the first.

share|improve this answer
    
What about multiple lines? sprunge.us/JUGA gives me the same error. –  Reactormonk Dec 10 '12 at 22:29
    
@Tass That doesn't give me any errors, just the same warning. Deleting the auxiliary files might help? Generally: Please always include all code, output, etc. directly here on the site, i.e. edit your question if new "evidence" comes up, and point to that in the comments. –  doncherry Dec 10 '12 at 22:31
    
I get sprunge.us/aCcK –  Reactormonk Dec 10 '12 at 22:40
    
@Tass Please edit your question if you have more data to show. –  doncherry Dec 10 '12 at 22:47
    
Well, I basically get the same error. –  Reactormonk Dec 11 '12 at 0:31

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.