Article View: comp.text.tex
Article #2364Re: Problem with tabularx
From: David Carlisle
Date: Mon, 17 Aug 1992 13:26
Date: Mon, 17 Aug 1992 13:26
53 lines
2759 bytes
2759 bytes
>>>>> On 17 Aug 92 07:10:23 GMT, maassen@kreon.informatik.rwth-aachen.de (Andreas Maassen) said:
Andreas> Nntp-Posting-Host: kreon
Andreas> I have a macro which uses nested tabular environments. To be precise,
Andreas> the outer tabular environment has a p{...} column which contains
Andreas> another tabular environment.
Andreas> Now I've tried to replace the inner tabular environment by tabularx,
Andreas> which does not work. Here is what I get:
Andreas> Runaway argument?
Andreas> Erster \unskip \relax \@endpbox \hskip \col@sep
Andreas> ! Forbidden control sequence found while scanning use of \TX@get@body.
Andreas> <inserted text>
Andreas> \par
Andreas> <to be read again>
Andreas> \endtemplate
Andreas> <template> ...ndpbox \hskip \col@sep \endtemplate
Andreas>
Andreas> <argument> Erster &
Andreas> Versuch dfhgkjdf kljkddhgkjd kljddhfgkjdf kjkddhgjkdf\\
Andreas> \interf #1#2->\begin {tabularx}{5cm}{lX} #1
Andreas> \end {tabularx}\\\\\begin {tabul...
Andreas> l.9 ...jdf kljkddhgkjd kljddhfgkjdf kjkddhgjkdf\\}
Andreas> ^
Firstly `tabularx' is not a standard latex command, so you ought to
have mentioned the style and version number you were using. Also my
email address is at the top of the file, so you could have used that.
Anyway, it looks like a bug to me. A temporary fix is to surround the
inner tabularx environment with braces {..}, as in
{\begin {tabularx}{5cm}{lX}
....
\end{tabularx}}
In the next release I will either mention this in the documentation,
or include a better fix in the code (If I can think of anything).
Thanks for reporting the bug!
David
--
David Carlisle
JANET: carlisle@uk.ac.man.cs
Computer Science Department
Manchester University
Oxford Road
Manchester
England
M13 9PL
Technical Details
Message-ID:
<CARLISLE.92Aug17142643@r8d.cs.man.ac.uk>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!mucs!m1!carlisleReferences:
<maassen.714035423@kreon>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!mucs!m1!carlisle From: carlisle@cs.man.ac.uk (David Carlisle) Newsgroups: comp.text.tex Subject: Re: Problem with tabularx Message-ID: <CARLISLE.92Aug17142643@r8d.cs.man.ac.uk> Date: 17 Aug 92 13:26:43 GMT References: <maassen.714035423@kreon> Sender: news@cs.man.ac.uk Organization: Department of Computer Science, University of Manchester Lines: 53 In-reply-to: maassen@kreon.informatik.rwth-aachen.de's message of 17 Aug 92 07:10:23 GMT