[Tugindia] How to write block matrices

David Kastrup dak at gnu.org
Thu Sep 27 23:13:25 CEST 2007

Kapil Hari Paranjape <kapil at imsc.res.in> writes:

> On Wed, 26 Sep 2007, Lovy Singhal wrote:
>> ! No room for a new \dimen .
>> \ch at ck ...\else \errmessage {No room for a new #3}
>>                                                   \fi 
>> l.79 }
>> I even talked to the author of this easy package but he said that
>> the problem was that my LaTeX compiler was one using less number
>> of memory registers and also there are some packages which are
>> consuming too much memory.  Can somebody please suggest any other
>> alternative way to write one or what to do with this way itself.
> You can edit the memory available to TeX by creating a file called
> 	~/.texmf-config/texmf.cnf
> In this you can put the line
> 	extra_memory_bot = 2000000
> This will provide 2MB of extra memory for boxes in tex and that
> should be adequate.
> Tell us if it works!

It wouldn't.

There is likely a bug in the program source (one popular bug is to
include PicTeX once for every picture), and the author should fix this
bug (another one is using \newdimen in a macro, allocating one
register per allocation, which is rather senseless).

This would be the sanething to do.  If one is sure that it is nothing
like that, one can use
for getting more registers.  But if there _is_ such a bug, this will
hide the bug.

David Kastrup, Kriemhildstr. 15, 44793 Bochum
UKTUG FAQ: <URL:http://www.tex.ac.uk/cgi-bin/texfaq2html>

More information about the tugindia mailing list