BUG Report, filename of \input in pool

Hans Ginzel Hans at kolej.mff.cuni.cz
Wed Aug 9 18:50:08 CEST 2000


	Dear TeX experts,

   I would like to submit a bug. TeX stores the filename of the \input
command in the pool. The string is not dealocated after end of input.
By next \input the_same_name, the string is put in the pool once more.
So, in document with enough lines \def\parakm{...}\input template,
TeX runs out of pool_size or count of strings.

   I do not see any reason, why the filename should be stored in the pool,
when TeX ends input of that file. I thought, that same strings are
not put twice in the pool. Also this is not true.

   I was TeXing document like:

	\begingroup
	\def\param{data}
	....	% about twenty \def's
	\input template	% two side document
	\endgroup

   On file with 4000 calls \input template, TeX gives up with message
overflowing pool size or count of strings. I put a \dump before it and
looked what has been in the pool. It was full with string template.
I have looked to section 511 of tex.web and confirmed my hypothese.
I consider this as a bug.

   I tested this on emtex and miktex. As a side effect I realized, that
MiKTeX does not support \trasingstats=2. There were no problems with other
memory kinds.


	Best regards

        _				Hans
  ,~|  |/                    /~~~,                   ,
    | /|                    /       .               /
    |/ |/~/~~/  /~~/ \~~   |    _  / /~~/ ~~/ /~~/ /
   /| /| /  /_ /  / , \     \   / / /  /  /  /~~~ /
   ~  ~  ~~~  '  '  ~~~      ~~~|' '  ' '~~  ~~~ '
  Faculty of Mathematics       /|       Hans GINZEL
    and Physics               / /       CallTo:++420+603+791_888
  Charles University Prague   ~~   MailTo:Hans at kolej.mff.cuni.cz




More information about the csTeX mailing list