Article View: comp.text.tex
Article #2367Re: Problem with tabularx
From: David Carlisle
Date: Mon, 17 Aug 1992 14:25
Date: Mon, 17 Aug 1992 14:25
52 lines
2184 bytes
2184 bytes
[problem with tabularx]
I posted a quick fix a while ago, but you may prefer to modify the
code, as follows.
1) add {\ifnum0=`} to the start of \tabularx, so that it looks like:
% \begin{macro}{\tabularx}
% Save the first two arguments in registers, and clear the
% token register "\toks@". Then call "\TX@get@body" to begin
% saving the body of the table.
% \begin{macrocode}
\def\tabularx#1#2{{\ifnum0=`}\fi
2) Add \ifnum0=`{\fi} to the end of \TX@endtabularx, so that it looks
like:
% Now finish off the {\tt tabularx} environment. Note that we need
% "\end{tabularx}" here as the "\end{tabularx}" in the user's
% file is never expanded.
% \begin{macrocode}
\ifnum0=`{\fi}\end{tabularx}}
% \end{macrocode}
% \end{macro}
The special {\ifnum0=`} style braces are more or less explained on
page 385 of the TeX book.
I am only posting this to c.t.t to save anybody else thinking about
this, if you have further problems please email me.
If you do modify your local copy of tabularx, please modify the header
at the top of the file.
If I still think this fix is correct in a day or so, I will get the
files on the various archives changed. (archive maintainers: please do
not apply this patch yet!)
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.92Aug17152542@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.92Aug17152542@r8d.cs.man.ac.uk> Date: 17 Aug 92 14:25:42 GMT References: <maassen.714035423@kreon> Sender: news@cs.man.ac.uk Organization: Department of Computer Science, University of Manchester Lines: 52 In-reply-to: maassen@kreon.informatik.rwth-aachen.de's message of 17 Aug 92 07:10:23 GMT