GeneralRunaway argument?

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
ptrcao
Posts: 88
Joined: Sun Dec 05, 2010 3:26 am

Runaway argument?

Post by ptrcao »

Runaway argument?
! File ended while scanning use of \TX@get@body.
<inserted text>
\par
<*> tutorial*wk2.tex
I suspect you have forgotten a `}', causing me
to read past where you wanted me to stop.
I'll try to recover; but if the error is serious,
you'd better type `E' or `X' now and fix your file.
! Emergency stop.
<*> tutorial*wk2.tex
*** (job aborted, no legal \end found)
What's the problem and how do I fix this? Document which generated the error is below:

Code: Select all

\documentclass[12pt]{article}
\usepackage{a4wide}
\usepackage{fullpage}
\usepackage{amsmath}

\usepackage{booktabs}

\usepackage{tabularx}

%\usepackage{xtab}




\author{Peter Cao}

\begin{document}
\title{MICR2011 Tute Week 1}
\maketitle

\section{Media}
\begin{table}[h!]
\begin{tabularx}{1 \linewidth}{X X X X}
\toprule
Media & Characteristics & Uses/limitations \\
\cmidrule(r){1-1}  \cmidrule(l r){2-2} \cmidrule(l){3-3}
Basal media (a.k.a. an undefined or complex medium) & & \\

Enriched &  & \\
Enrichment & Always a liquid broth. & \\
Selective & Favour the growth of particular organisms. & Isolate. \\
Differential & & Contrast.\\
Nutrient agar & & \\
MacConkey agar & The selective components in MAC are bile salts and crystal violet, which inhibit the growth of gram-positive bacteria. Presence of lactose and neutral red (a pH indicator) will confirm a gram-negative bacteria that uses lactose as a carbon and energy source.  Release of acidic products changes colony colour to red.  & Used as a form of selective and differential media to contrast types of gram-negative bacteria that use lactose vs. those that don't.\\
Blood agar & & \\
Mannitol salt agar & 7.5\% NaCl + mannitol (C and energy source) + phenol red (pH indicator).  Release of acidic products changes medium colour: red $\rightarrow$ yellow. & Selects for growth of Staphylococci. \\
MRS medium & & \\
\bottomrule
\end
\end{tabularx}
\end{table}


\section{Koch's Postulates}
\begin{enumerate}
\item Observation: Pathogenic micro-organism must be present in all diseased organisms and absent from all healthy organisms.
\item Pathogenic organisms must be cultured and isolated.
\item Inoculation of pathogen into healthy organisms induces disease.
\item Pathogen must be isolated from the same organism in 3.
\end{enumerate}

Limitations:

\begin{enumerate}
\item Some micro-organisms are unculturables; we don't know how to yet. 
\item Koch's postulates would not hold true for organisms which cannot be grown in culture; or for those which are too dangerous to ethically administer to humans and can't be given to an analogue.
\item The disease could be opportunistic/dormant and not present itself until the right environmental conditions are present.
\end{enumerate}

Alternative interpretations:
\begin{enumerate}
\item Genetic verification and removal reintroduction of key genes can substitute for postulates. 
\end{enumerate}


\end{document}
Last edited by ptrcao on Fri Apr 01, 2011 6:09 am, edited 1 time in total.
OS info: Win XP | Debian 6.0 | Ubuntu 10.04
Latex editor of choice: TexWorks (for dual view feature)

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10348
Joined: Mon Mar 10, 2008 9:44 pm

Runaway argument?

Post by Stefan Kottwitz »

Hi Peter,

just remove the \end after \bottomrule and the error will be fixed.

By the way, I would not use a4wide and fullpage, I prefer geometry.

Stefan
LaTeX.org admin
ptrcao
Posts: 88
Joined: Sun Dec 05, 2010 3:26 am

Re: Runaway argument?

Post by ptrcao »

Kinds thanks Stefan. I'll look into it, though what do you think makes geometry better than either of the other packages?
Last edited by ptrcao on Thu Mar 31, 2011 10:37 am, edited 1 time in total.
OS info: Win XP | Debian 6.0 | Ubuntu 10.04
Latex editor of choice: TexWorks (for dual view feature)
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Runaway argument?

Post by localghost »

a4wide is obsolete and fullpage can cause trouble. geometry is just more sophisticated.


Thorsten
Post Reply