Re: References -- TeX capacity exceeded

2023-09-05 Thread Herbert Voss



Am 05.09.23 um 17:44 schrieb Eckhard Höffner:


Thanks.

It appears that you cannot use anymore \label within \sections, but 
also within \caption{} oft figures or tables.


While \section{heading \label{label} } causes an immediate error, 
\caption produces:  Argument of \caption@@@withoptargs has an extra }




As I already wrote, This bug was fixed ...
Update your LaTeX system.

Herbert






Am 05.09.23 um 15:55 schrieb Herbert Voss:



Am 05.09.23 um 14:18 schrieb Eckhard Höffner:


In my opinion, it's the references, because if I delete all 
references, the error doesn't appear. The log file is over 100 kb so 
I won't send it here. But there is no error message in there, except 
for the one about the TeX capacity.


\label #1->\@bsphack
  \begingroup \UseHookWithArguments 
{label}{1}{#1}\protect...

l.14 \subsection{Welfare\label{subsec:chapter1}}



Try it this way (LAbel outside the section command):

\subsection{Welfare} \label{subsec:chapter1}

There was a bug some time ago, which was fixed in the meantime.


Herbert

--
Eckhard Höffner
Volkarstr. 64
D-80636 München
Tel.: 089 210 31 888



--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: References -- TeX capacity exceeded

2023-09-05 Thread Eckhard Höffner

Thanks.

It appears that you cannot use anymore \label within \sections, but also 
within \caption{} oft figures or tables.


While \section{heading \label{label} } causes an immediate error, 
\caption produces:  Argument of \caption@@@withoptargs has an extra }




Am 05.09.23 um 15:55 schrieb Herbert Voss:



Am 05.09.23 um 14:18 schrieb Eckhard Höffner:


In my opinion, it's the references, because if I delete all 
references, the error doesn't appear. The log file is over 100 kb so 
I won't send it here. But there is no error message in there, except 
for the one about the TeX capacity.


\label #1->\@bsphack
  \begingroup \UseHookWithArguments 
{label}{1}{#1}\protect...

l.14 \subsection{Welfare\label{subsec:chapter1}}



Try it this way (LAbel outside the section command):

\subsection{Welfare} \label{subsec:chapter1}

There was a bug some time ago, which was fixed in the meantime.


Herbert


--
Eckhard Höffner
Volkarstr. 64
D-80636 München
Tel.: 089 210 31 888
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: References -- TeX capacity exceeded

2023-09-05 Thread Jürgen Spitzmüller
Am Dienstag, dem 05.09.2023 um 15:55 +0200 schrieb Herbert Voss:
> Try it this way (LAbel outside the section command):
> 
> \subsection{Welfare} \label{subsec:chapter1}
> 
> There was a bug some time ago, which was fixed in the meantime.

Note that LyX 2.4 will provide you a feature to automatically mover
labels outside of such arguments.

In LyX 2.3, you will have to position the label in the paragraph below
the subsection.

-- 
Jürgen
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: References -- TeX capacity exceeded

2023-09-05 Thread Herbert Voss



Am 05.09.23 um 14:18 schrieb Eckhard Höffner:


In my opinion, it's the references, because if I delete all 
references, the error doesn't appear. The log file is over 100 kb so I 
won't send it here. But there is no error message in there, except for 
the one about the TeX capacity.


\label #1->\@bsphack
  \begingroup \UseHookWithArguments 
{label}{1}{#1}\protect...

l.14 \subsection{Welfare\label{subsec:chapter1}}



Try it this way (LAbel outside the section command):

\subsection{Welfare} \label{subsec:chapter1}

There was a bug some time ago, which was fixed in the meantime.


Herbert
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


References -- TeX capacity exceeded

2023-09-05 Thread Eckhard Höffner

Hello,

Even though it's not an actual LyX problem, I hope someone can help.
I am using lyx 2.3.7 / debian testing. It has just updated texlive; 
LuaHBTeX, Version 1.17.0 (TeX Live 2023/Debian) (format=lualatex 2023.9.5)


In my opinion, it's the references, because if I delete all references, 
the error doesn't appear. The log file is over 100 kb so I won't send it 
here. But there is no error message in there, except for the one about 
the TeX capacity.


The abort starts with the first \label{mark}
Does anyone know why that is. When I use the LyX tutorial, which also 
includes marks and links, the error doesn't come.


Class scrbook Warning: \float@addtolists detected!
(scrbook) Implementation of \float@addtolist became
(scrbook) deprecated in KOMA-Script v3.01 2008/11/14 and
(scrbook) has been replaced by several more flexible
(scrbook) features of package `tocbasic`.
(scrbook) Since Version 3.12 support for deprecated
(scrbook) \float@addtolist interface has been
(scrbook) restricted to only some of the KOMA-Script
(scrbook) features and been removed from others.
(scrbook) Loading of package `scrhack' may help to
(scrbook) avoid this warning, if you are using a
(scrbook) a package that still implements the
(scrbook) deprecated \float@addtolist interface.

luaotfload | aux : font no 102 (nil) defines no feature for script latn 
with language deu

! TeX capacity exceeded, sorry [input stack size=1].
\label #1->\@bsphack
  \begingroup \UseHookWithArguments 
{label}{1}{#1}\protect...

l.14 \subsection{Welfare\label{subsec:chapter1}}

--
Eckhard Höffner

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


TeX capacity exceeded

2012-11-06 Thread Robert Adolle

I don't find texmf.cnf in /usr, /usr/bin, etc.
Where is it ? Is it the right file to raise tex capacity of LyX ?
Thanks you !

R.A.


Re: TeX capacity exceeded

2012-11-06 Thread Smith, Henry
Don't do that!  If you do, you won't find any error and you're likely to
screw up your TeX.

Please listen to what others have tried to tell you, and try to find out
where your error is.

It is not TeX's fault, for sure!  Although one might blame it for obscure
error messages dating back to the dark ages of mainframes, VaXen etc...

Good luck - Bon chance!

Henry

On 11/6/12 2:56 PM, Robert Adolle robert.ado...@orange.fr wrote:

I don't find texmf.cnf in /usr, /usr/bin, etc.
Where is it ? Is it the right file to raise tex capacity of LyX ?
Thanks you !

R.A.



Re: TeX capacity exceeded

2012-11-06 Thread Richard Heck

On 11/06/2012 02:56 PM, Robert Adolle wrote:

I don't find texmf.cnf in /usr, /usr/bin, etc.
Where is it ? Is it the right file to raise tex capacity of LyX ?
Thanks you !


I'd suggest you try locate texmf.cnf. Eg:

/home/rgheck/  locate texmf.cnf
/usr/share/texlive/texmf/web2c/texmf.cnf

That said, unless you've got the sort of problem Yihui mentioned

rh



TeX capacity exceeded

2012-11-06 Thread Robert Adolle

I don't find texmf.cnf in /usr, /usr/bin, etc.
Where is it ? Is it the right file to raise tex capacity of LyX ?
Thanks you !

R.A.


Re: TeX capacity exceeded

2012-11-06 Thread Smith, Henry
Don't do that!  If you do, you won't find any error and you're likely to
screw up your TeX.

Please listen to what others have tried to tell you, and try to find out
where your error is.

It is not TeX's fault, for sure!  Although one might blame it for obscure
error messages dating back to the dark ages of mainframes, VaXen etc...

Good luck - Bon chance!

Henry

On 11/6/12 2:56 PM, Robert Adolle robert.ado...@orange.fr wrote:

I don't find texmf.cnf in /usr, /usr/bin, etc.
Where is it ? Is it the right file to raise tex capacity of LyX ?
Thanks you !

R.A.



Re: TeX capacity exceeded

2012-11-06 Thread Richard Heck

On 11/06/2012 02:56 PM, Robert Adolle wrote:

I don't find texmf.cnf in /usr, /usr/bin, etc.
Where is it ? Is it the right file to raise tex capacity of LyX ?
Thanks you !


I'd suggest you try locate texmf.cnf. Eg:

/home/rgheck/  locate texmf.cnf
/usr/share/texlive/texmf/web2c/texmf.cnf

That said, unless you've got the sort of problem Yihui mentioned

rh



"TeX capacity exceeded"

2012-11-06 Thread Robert Adolle

I don't find "texmf.cnf" in /usr, /usr/bin, etc.
Where is it ? Is it the right file to raise tex capacity of LyX ?
Thanks you !

R.A.


Re: "TeX capacity exceeded"

2012-11-06 Thread Smith, Henry
Don't do that!  If you do, you won't find any error and you're likely to
screw up your TeX.

Please listen to what others have tried to tell you, and try to find out
where your error is.

It is not TeX's fault, for sure!  Although one might blame it for obscure
error messages dating back to the "dark ages" of mainframes, VaXen etc...

Good luck - Bon chance!

Henry

On 11/6/12 2:56 PM, "Robert Adolle"  wrote:

>I don't find "texmf.cnf" in /usr, /usr/bin, etc.
>Where is it ? Is it the right file to raise tex capacity of LyX ?
>Thanks you !
>
>R.A.



Re: "TeX capacity exceeded"

2012-11-06 Thread Richard Heck

On 11/06/2012 02:56 PM, Robert Adolle wrote:

I don't find "texmf.cnf" in /usr, /usr/bin, etc.
Where is it ? Is it the right file to raise tex capacity of LyX ?
Thanks you !


I'd suggest you try "locate texmf.cnf". Eg:

/home/rgheck/ > locate texmf.cnf
/usr/share/texlive/texmf/web2c/texmf.cnf

That said, unless you've got the sort of problem Yihui mentioned

rh



TeX capacity exceeded

2012-11-05 Thread Robert Adolle

How to extend this capacity ?
Thank you very much for help.

R.A.




Re: TeX capacity exceeded

2012-11-05 Thread Richard Heck

On 11/05/2012 03:49 PM, Robert Adolle wrote:

How to extend this capacity ?
Thank you very much for help.

You almost never actually need to do this, and I'm not sure it's even 
possible. The problem is some kind of error elsewhere in the document.


Richard



Re: TeX capacity exceeded

2012-11-05 Thread Steve Litt
On Mon, 05 Nov 2012 16:49:12 -0400, Robert Adolle said:
 How to extend this capacity ?
 Thank you very much for help.
 
 R.A.

Hi Robert,

Every time I've seen that message, it's been caused by an error on my
part, not a document that was too big or anything like that.

I solve these in about 10 minutes as follows:

* Back up the original document.
* Keep dividing by half the remaining doc until the problem goes away
* Keep adding parts until it comes back
* Repeat last two steps til you find the paragraph causing the error
* Remove all of the document except the bad paragraph
* Keep dividing the paragraph in half until the problem goes away, or
  until a 1 word paragraph still causes the problem

After narrowing it down that finely, the root cause should be obvious,
and you can fix it. Keep in mind if you get it down to one word and
that word has no environment or character style associated with it,
the problem is probably in the document preamble or the layout file (if
you have one).

In general, once you have a tiny document in which you can at will
toggle the symptom, you've pretty much pinpointed the root cause.

This sounds like a big hassle, it's usually the quickest way to find
the problem. And what I like about it is I don't have to know anything
about LyX or LaTeX. And if I *still* can't figure it out, I can email
the tiny document to the LyX people and they'll know instantly what's
wrong.

Thanks

SteveT

Steve Litt*  http://www.troubleshooters.com/
  *  http://twitter.com/stevelitt
Troubleshooting Training  *  Human Performance



Re: TeX capacity exceeded

2012-11-05 Thread David L. Johnson

On 11/05/2012 03:49 PM, Robert Adolle wrote:

How to extend this capacity ?
Thank you very much for help.

R.A.

I am willing to bet that you did not really exceed the TeX capacity.  
What probably happened was that you included, accidentally, a more 
involved part of your document within a heading or something like that.  
I would see these if I stayed within a subheading environment and then 
wrote a displayed equation.
The best way to find this sort of error is to cut up your file (delete 
the last part, then some more, piece by piece) until the error goes 
away, then look at that last part that you cut out.


--

David L. Johnson

What is objectionable, and what is dangerous about extremists is not
that they are extreme, but that they are intolerant.
--Robert F. Kennedy



tex capacity exceeded [fr]

2012-11-05 Thread Robert Adolle

Je ne me souviens plus comment augmenter la capacité TeX de LyX.
J'ai écrit un texte mathématique assez long, et impossible de l'exporter 
(tex capacity exceeded, input stack size = 5000).

Je ne me rappelle plus comment augmenter cette capacité !
Quelqu'un m'a déjà donné le moyen, il y a longtemps, et j'ai perdu 
l'information.


Merci !


TeX capacity exceeded

2012-11-05 Thread Robert Adolle

Complete statement :

tex capacity exceeded ; input stack size = 5000 ,

If you really absolutely need more capacity,

you can ask a wizard to enlarge me.


What wizard ? How to get it ?
Thanks...

R.



Re: TeX capacity exceeded

2012-11-05 Thread Richard Heck

On 11/05/2012 07:21 PM, Robert Adolle wrote:

Complete statement :

tex capacity exceeded ; input stack size = 5000 ,

If you really absolutely need more capacity,

you can ask a wizard to enlarge me.
What wizard ? How to get it ?

If you really want to do this, then you should look in your texmf.cnf 
file and modify the value of stack_size. However, as several people have 
said, that may well not help. This error can be caused by all kinds of 
weird things that cause TeX to go into some kind of loop.


Richard



Re: TeX capacity exceeded

2012-11-05 Thread Steve Litt
On Mon, 05 Nov 2012 20:21:52 -0400, Robert Adolle said:
 Complete statement :
 
 tex capacity exceeded ; input stack size = 5000 ,
 
 If you really absolutely need more capacity,
 
 you can ask a wizard to enlarge me.
 
 
 What wizard ? How to get it ?
 Thanks...
 
 R.
 

Let me try to explain it this way. If you were to run the following
Python program (call it forkbomb.py):

===
#!/usr/bin/python

def fork(number):
print number
#   if number  100:
#   return
fork(number+1)


fork(1)
===

You get the following error message:

RuntimeError: maximum recursion depth exceeded

Does that mean you should increase Python's recursion depth? No way.
You could increase it to a million, and it would simply take the
program another second or so to bomb. The recursion depth error is
caused by the program being bad -- specifically that it has nothing to
tell it when to quit recursing (because those two lines are commented
out). I'd go ten to one that this is similar to what is happening in
your document -- something in your document is getting run over and
over again until TeX breaks, and that's happening because there's
something wrong with your program.

But I could be wrong. So test my hypothesis like this. Make a LyX
document, with no fonts or styles or document preamble or layout file,
that is 50 times the size of the document that's bombing.

Using LyX and Vim, I just created a 31MB LyX file. It took about 10
seconds to load it, and about 1.5 minutes to compile it. It's 9140
pages long, full of text. No error message about TeX capacity.

slitt@mydesk:~$ ls -lh junk.lyx
-rw-rw-r-- 1 slitt slitt 31M 2012-11-05 20:12 junk.lyx
slitt@mydesk:~$ wc junk.lyx
  720789  6907026 32493767 junk.lyx
slitt@mydesk:~$ pdftk junk.pdf dump_data
InfoKey: Creator
InfoValue:  TeX output 2012.11.05:2018
InfoKey: Producer
InfoValue: dvipdfmx (20090708)
InfoKey: CreationDate
InfoValue: D:20121105201916-05'00'
NumberOfPages: 9140


SteveT

Steve Litt*  http://www.troubleshooters.com/
  *  http://twitter.com/stevelitt
Troubleshooting Training  *  Human Performance



TeX capacity exceeded

2012-11-05 Thread Robert Adolle

How to extend this capacity ?
Thank you very much for help.

R.A.




Re: TeX capacity exceeded

2012-11-05 Thread Richard Heck

On 11/05/2012 03:49 PM, Robert Adolle wrote:

How to extend this capacity ?
Thank you very much for help.

You almost never actually need to do this, and I'm not sure it's even 
possible. The problem is some kind of error elsewhere in the document.


Richard



Re: TeX capacity exceeded

2012-11-05 Thread Steve Litt
On Mon, 05 Nov 2012 16:49:12 -0400, Robert Adolle said:
 How to extend this capacity ?
 Thank you very much for help.
 
 R.A.

Hi Robert,

Every time I've seen that message, it's been caused by an error on my
part, not a document that was too big or anything like that.

I solve these in about 10 minutes as follows:

* Back up the original document.
* Keep dividing by half the remaining doc until the problem goes away
* Keep adding parts until it comes back
* Repeat last two steps til you find the paragraph causing the error
* Remove all of the document except the bad paragraph
* Keep dividing the paragraph in half until the problem goes away, or
  until a 1 word paragraph still causes the problem

After narrowing it down that finely, the root cause should be obvious,
and you can fix it. Keep in mind if you get it down to one word and
that word has no environment or character style associated with it,
the problem is probably in the document preamble or the layout file (if
you have one).

In general, once you have a tiny document in which you can at will
toggle the symptom, you've pretty much pinpointed the root cause.

This sounds like a big hassle, it's usually the quickest way to find
the problem. And what I like about it is I don't have to know anything
about LyX or LaTeX. And if I *still* can't figure it out, I can email
the tiny document to the LyX people and they'll know instantly what's
wrong.

Thanks

SteveT

Steve Litt*  http://www.troubleshooters.com/
  *  http://twitter.com/stevelitt
Troubleshooting Training  *  Human Performance



Re: TeX capacity exceeded

2012-11-05 Thread David L. Johnson

On 11/05/2012 03:49 PM, Robert Adolle wrote:

How to extend this capacity ?
Thank you very much for help.

R.A.

I am willing to bet that you did not really exceed the TeX capacity.  
What probably happened was that you included, accidentally, a more 
involved part of your document within a heading or something like that.  
I would see these if I stayed within a subheading environment and then 
wrote a displayed equation.
The best way to find this sort of error is to cut up your file (delete 
the last part, then some more, piece by piece) until the error goes 
away, then look at that last part that you cut out.


--

David L. Johnson

What is objectionable, and what is dangerous about extremists is not
that they are extreme, but that they are intolerant.
--Robert F. Kennedy



tex capacity exceeded [fr]

2012-11-05 Thread Robert Adolle

Je ne me souviens plus comment augmenter la capacité TeX de LyX.
J'ai écrit un texte mathématique assez long, et impossible de l'exporter 
(tex capacity exceeded, input stack size = 5000).

Je ne me rappelle plus comment augmenter cette capacité !
Quelqu'un m'a déjà donné le moyen, il y a longtemps, et j'ai perdu 
l'information.


Merci !


TeX capacity exceeded

2012-11-05 Thread Robert Adolle

Complete statement :

tex capacity exceeded ; input stack size = 5000 ,

If you really absolutely need more capacity,

you can ask a wizard to enlarge me.


What wizard ? How to get it ?
Thanks...

R.



Re: TeX capacity exceeded

2012-11-05 Thread Richard Heck

On 11/05/2012 07:21 PM, Robert Adolle wrote:

Complete statement :

tex capacity exceeded ; input stack size = 5000 ,

If you really absolutely need more capacity,

you can ask a wizard to enlarge me.
What wizard ? How to get it ?

If you really want to do this, then you should look in your texmf.cnf 
file and modify the value of stack_size. However, as several people have 
said, that may well not help. This error can be caused by all kinds of 
weird things that cause TeX to go into some kind of loop.


Richard



Re: TeX capacity exceeded

2012-11-05 Thread Steve Litt
On Mon, 05 Nov 2012 20:21:52 -0400, Robert Adolle said:
 Complete statement :
 
 tex capacity exceeded ; input stack size = 5000 ,
 
 If you really absolutely need more capacity,
 
 you can ask a wizard to enlarge me.
 
 
 What wizard ? How to get it ?
 Thanks...
 
 R.
 

Let me try to explain it this way. If you were to run the following
Python program (call it forkbomb.py):

===
#!/usr/bin/python

def fork(number):
print number
#   if number  100:
#   return
fork(number+1)


fork(1)
===

You get the following error message:

RuntimeError: maximum recursion depth exceeded

Does that mean you should increase Python's recursion depth? No way.
You could increase it to a million, and it would simply take the
program another second or so to bomb. The recursion depth error is
caused by the program being bad -- specifically that it has nothing to
tell it when to quit recursing (because those two lines are commented
out). I'd go ten to one that this is similar to what is happening in
your document -- something in your document is getting run over and
over again until TeX breaks, and that's happening because there's
something wrong with your program.

But I could be wrong. So test my hypothesis like this. Make a LyX
document, with no fonts or styles or document preamble or layout file,
that is 50 times the size of the document that's bombing.

Using LyX and Vim, I just created a 31MB LyX file. It took about 10
seconds to load it, and about 1.5 minutes to compile it. It's 9140
pages long, full of text. No error message about TeX capacity.

slitt@mydesk:~$ ls -lh junk.lyx
-rw-rw-r-- 1 slitt slitt 31M 2012-11-05 20:12 junk.lyx
slitt@mydesk:~$ wc junk.lyx
  720789  6907026 32493767 junk.lyx
slitt@mydesk:~$ pdftk junk.pdf dump_data
InfoKey: Creator
InfoValue:  TeX output 2012.11.05:2018
InfoKey: Producer
InfoValue: dvipdfmx (20090708)
InfoKey: CreationDate
InfoValue: D:20121105201916-05'00'
NumberOfPages: 9140


SteveT

Steve Litt*  http://www.troubleshooters.com/
  *  http://twitter.com/stevelitt
Troubleshooting Training  *  Human Performance



TeX capacity exceeded

2012-11-05 Thread Robert Adolle

How to extend this capacity ?
Thank you very much for help.

R.A.




Re: TeX capacity exceeded

2012-11-05 Thread Richard Heck

On 11/05/2012 03:49 PM, Robert Adolle wrote:

How to extend this capacity ?
Thank you very much for help.

You almost never actually need to do this, and I'm not sure it's even 
possible. The problem is some kind of error elsewhere in the document.


Richard



Re: TeX capacity exceeded

2012-11-05 Thread Steve Litt
On Mon, 05 Nov 2012 16:49:12 -0400, Robert Adolle said:
> How to extend this capacity ?
> Thank you very much for help.
> 
> R.A.

Hi Robert,

Every time I've seen that message, it's been caused by an error on my
part, not a document that was too big or anything like that.

I solve these in about 10 minutes as follows:

* Back up the original document.
* Keep dividing by half the remaining doc until the problem goes away
* Keep adding parts until it comes back
* Repeat last two steps til you find the paragraph causing the error
* Remove all of the document except the bad paragraph
* Keep dividing the paragraph in half until the problem goes away, or
  until a 1 word paragraph still causes the problem

After narrowing it down that finely, the root cause should be obvious,
and you can fix it. Keep in mind if you get it down to one word and
that word has no environment or character style associated with it,
the problem is probably in the document preamble or the layout file (if
you have one).

In general, once you have a tiny document in which you can at will
toggle the symptom, you've pretty much pinpointed the root cause.

This sounds like a big hassle, it's usually the quickest way to find
the problem. And what I like about it is I don't have to know anything
about LyX or LaTeX. And if I *still* can't figure it out, I can email
the tiny document to the LyX people and they'll know instantly what's
wrong.

Thanks

SteveT

Steve Litt*  http://www.troubleshooters.com/
  *  http://twitter.com/stevelitt
Troubleshooting Training  *  Human Performance



Re: TeX capacity exceeded

2012-11-05 Thread David L. Johnson

On 11/05/2012 03:49 PM, Robert Adolle wrote:

How to extend this capacity ?
Thank you very much for help.

R.A.

I am willing to bet that you did not really exceed the TeX capacity.  
What probably happened was that you included, accidentally, a more 
involved part of your document within a heading or something like that.  
I would see these if I stayed within a subheading environment and then 
wrote a displayed equation.
The best way to find this sort of error is to cut up your file (delete 
the last part, then some more, piece by piece) until the error goes 
away, then look at that last part that you cut out.


--

David L. Johnson

What is objectionable, and what is dangerous about extremists is not
that they are extreme, but that they are intolerant.
--Robert F. Kennedy



tex capacity exceeded [fr]

2012-11-05 Thread Robert Adolle

Je ne me souviens plus comment augmenter la capacité TeX de LyX.
J'ai écrit un texte mathématique assez long, et impossible de l'exporter 
("tex capacity exceeded, input stack size = 5000").

Je ne me rappelle plus comment augmenter cette capacité !
Quelqu'un m'a déjà donné le moyen, il y a longtemps, et j'ai perdu 
l'information.


Merci !


TeX capacity exceeded

2012-11-05 Thread Robert Adolle

Complete statement :

"tex capacity exceeded ; input stack size = 5000 ,

If you really absolutely need more capacity,

you can ask a wizard to enlarge me."


What wizard ? How to get it ?
Thanks...

R.



Re: TeX capacity exceeded

2012-11-05 Thread Richard Heck

On 11/05/2012 07:21 PM, Robert Adolle wrote:

Complete statement :

"tex capacity exceeded ; input stack size = 5000 ,

If you really absolutely need more capacity,

you can ask a wizard to enlarge me."
What wizard ? How to get it ?

If you really want to do this, then you should look in your texmf.cnf 
file and modify the value of stack_size. However, as several people have 
said, that may well not help. This error can be caused by all kinds of 
weird things that cause TeX to go into some kind of loop.


Richard



Re: TeX capacity exceeded

2012-11-05 Thread Steve Litt
On Mon, 05 Nov 2012 20:21:52 -0400, Robert Adolle said:
> Complete statement :
> 
> "tex capacity exceeded ; input stack size = 5000 ,
> 
> If you really absolutely need more capacity,
> 
> you can ask a wizard to enlarge me."
> 
> 
> What wizard ? How to get it ?
> Thanks...
> 
> R.
> 

Let me try to explain it this way. If you were to run the following
Python program (call it forkbomb.py):

===
#!/usr/bin/python

def fork(number):
print number
#   if number > 100:
#   return
fork(number+1)


fork(1)
===

You get the following error message:

RuntimeError: maximum recursion depth exceeded

Does that mean you should increase Python's recursion depth? No way.
You could increase it to a million, and it would simply take the
program another second or so to bomb. The recursion depth error is
caused by the program being bad -- specifically that it has nothing to
tell it when to quit recursing (because those two lines are commented
out). I'd go ten to one that this is similar to what is happening in
your document -- something in your document is getting run over and
over again until TeX breaks, and that's happening because there's
something wrong with your program.

But I could be wrong. So test my hypothesis like this. Make a LyX
document, with no fonts or styles or document preamble or layout file,
that is 50 times the size of the document that's bombing.

Using LyX and Vim, I just created a 31MB LyX file. It took about 10
seconds to load it, and about 1.5 minutes to compile it. It's 9140
pages long, full of text. No error message about TeX capacity.

slitt@mydesk:~$ ls -lh junk.lyx
-rw-rw-r-- 1 slitt slitt 31M 2012-11-05 20:12 junk.lyx
slitt@mydesk:~$ wc junk.lyx
  720789  6907026 32493767 junk.lyx
slitt@mydesk:~$ pdftk junk.pdf dump_data
InfoKey: Creator
InfoValue:  TeX output 2012.11.05:2018
InfoKey: Producer
InfoValue: dvipdfmx (20090708)
InfoKey: CreationDate
InfoValue: D:20121105201916-05'00'
NumberOfPages: 9140


SteveT

Steve Litt*  http://www.troubleshooters.com/
  *  http://twitter.com/stevelitt
Troubleshooting Training  *  Human Performance



Re: Tex capacity exceeded

2008-05-08 Thread Paul A. Rubin

Adrian Peter wrote:

Turned out the error was being caused by having single quotes in math
equations.  I was using them to indicate derivatives.  I changed them to
\prime and everything worked!  Also it didn't like it if I placed a single
quote inside a \mbox within a math equation.  Anyone know why this is?
Thanks.



I routinely use single quote (') to denote transpose in math insets, and 
never have a problem with it.  I just tried putting \mbox inside a math 
inset and putting a single quote inside the mbox, again with no problem. 
 This was using the article class, but I randomly tried a few other 
classes with no difficulties.  I was using very short test documents, 
but I would be surprised if that were the issue.  Perhaps either the 
class you are using for your thesis or some other package you are 
loading is responsible?


/Paul



Re: Tex capacity exceeded

2008-05-08 Thread Paul A. Rubin

Adrian Peter wrote:

Turned out the error was being caused by having single quotes in math
equations.  I was using them to indicate derivatives.  I changed them to
\prime and everything worked!  Also it didn't like it if I placed a single
quote inside a \mbox within a math equation.  Anyone know why this is?
Thanks.



I routinely use single quote (') to denote transpose in math insets, and 
never have a problem with it.  I just tried putting \mbox inside a math 
inset and putting a single quote inside the mbox, again with no problem. 
 This was using the article class, but I randomly tried a few other 
classes with no difficulties.  I was using very short test documents, 
but I would be surprised if that were the issue.  Perhaps either the 
class you are using for your thesis or some other package you are 
loading is responsible?


/Paul



Re: Tex capacity exceeded

2008-05-08 Thread Paul A. Rubin

Adrian Peter wrote:

Turned out the error was being caused by having single quotes in math
equations.  I was using them to indicate derivatives.  I changed them to
\prime and everything worked!  Also it didn't like it if I placed a single
quote inside a \mbox within a math equation.  Anyone know why this is?
Thanks.



I routinely use single quote (') to denote transpose in math insets, and 
never have a problem with it.  I just tried putting \mbox inside a math 
inset and putting a single quote inside the mbox, again with no problem. 
 This was using the article class, but I randomly tried a few other 
classes with no difficulties.  I was using very short test documents, 
but I would be surprised if that were the issue.  Perhaps either the 
class you are using for your thesis or some other package you are 
loading is responsible?


/Paul



RE: Tex capacity exceeded

2008-05-07 Thread Adrian Peter
Turned out the error was being caused by having single quotes in math
equations.  I was using them to indicate derivatives.  I changed them to
\prime and everything worked!  Also it didn't like it if I placed a single
quote inside a \mbox within a math equation.  Anyone know why this is?
Thanks.

Adrian


-Original Message-
From: Paul A. Rubin [mailto:[EMAIL PROTECTED] 
Sent: Saturday, May 03, 2008 1:36 PM
To: lyx-users@lists.lyx.org
Subject: Re: Tex capacity exceeded

Adrian Peter wrote:
 Hi,
 
  
 
 I am working on a multipart thesis using Lyx.  I keep getting the
following
 error when I try to export to PDF or view the DVI:
 
  
 
 TeX capacity exceeded, sorry [input stack size=5000]   
 
  
 
 I checked the mail archive and saw that there could be several issues that
 cause this error: unterminated brackets, infinite loops from the \renew
 command, too many eps figures, etc.  Nothing was conclusive.  My child
 documents do use several eps figures with many of them exceeding 30MB in
 size.  Could someone help me figure out what is really causing this error
 and how to fix it?  If it is the eps figures, will the problem be solved
if
 I convert them to PNG of smaller size?  Thank you.
 

You have EPS figures that individually exceed 30MB???  Yikes!!  I assume 
the bulk of these are bitmaps?  If the bitmaps are previews (see, for 
instance, http://bourbon.usc.edu/tgif/faq/importeps.html), I would chop 
them out; they won't (at least, shouldn't) be used when generating PDF 
output.  Don't know if they would cause LaTeX to run out of memory, though.

If that's not the source of the memory problem, you might try a 
divide-and-conquer approach.  Chop out pieces of the thesis until you 
get something that compiles, then put things back until you either 
identify a maximum amount of the document that compiles or identify one 
particular piece that's at fault (meaning the entire document minus that 
piece compiles, and that piece by itself does not).  If it's the latter 
case, use divide-and-conquer within just that piece to find the culprit.

/Paul




RE: Tex capacity exceeded

2008-05-07 Thread Adrian Peter
Turned out the error was being caused by having single quotes in math
equations.  I was using them to indicate derivatives.  I changed them to
\prime and everything worked!  Also it didn't like it if I placed a single
quote inside a \mbox within a math equation.  Anyone know why this is?
Thanks.

Adrian


-Original Message-
From: Paul A. Rubin [mailto:[EMAIL PROTECTED] 
Sent: Saturday, May 03, 2008 1:36 PM
To: lyx-users@lists.lyx.org
Subject: Re: Tex capacity exceeded

Adrian Peter wrote:
 Hi,
 
  
 
 I am working on a multipart thesis using Lyx.  I keep getting the
following
 error when I try to export to PDF or view the DVI:
 
  
 
 TeX capacity exceeded, sorry [input stack size=5000]   
 
  
 
 I checked the mail archive and saw that there could be several issues that
 cause this error: unterminated brackets, infinite loops from the \renew
 command, too many eps figures, etc.  Nothing was conclusive.  My child
 documents do use several eps figures with many of them exceeding 30MB in
 size.  Could someone help me figure out what is really causing this error
 and how to fix it?  If it is the eps figures, will the problem be solved
if
 I convert them to PNG of smaller size?  Thank you.
 

You have EPS figures that individually exceed 30MB???  Yikes!!  I assume 
the bulk of these are bitmaps?  If the bitmaps are previews (see, for 
instance, http://bourbon.usc.edu/tgif/faq/importeps.html), I would chop 
them out; they won't (at least, shouldn't) be used when generating PDF 
output.  Don't know if they would cause LaTeX to run out of memory, though.

If that's not the source of the memory problem, you might try a 
divide-and-conquer approach.  Chop out pieces of the thesis until you 
get something that compiles, then put things back until you either 
identify a maximum amount of the document that compiles or identify one 
particular piece that's at fault (meaning the entire document minus that 
piece compiles, and that piece by itself does not).  If it's the latter 
case, use divide-and-conquer within just that piece to find the culprit.

/Paul




RE: Tex capacity exceeded

2008-05-07 Thread Adrian Peter
Turned out the error was being caused by having single quotes in math
equations.  I was using them to indicate derivatives.  I changed them to
\prime and everything worked!  Also it didn't like it if I placed a single
quote inside a \mbox within a math equation.  Anyone know why this is?
Thanks.

Adrian


-Original Message-
From: Paul A. Rubin [mailto:[EMAIL PROTECTED] 
Sent: Saturday, May 03, 2008 1:36 PM
To: lyx-users@lists.lyx.org
Subject: Re: Tex capacity exceeded

Adrian Peter wrote:
> Hi,
> 
>  
> 
> I am working on a multipart thesis using Lyx.  I keep getting the
following
> error when I try to export to PDF or view the DVI:
> 
>  
> 
> TeX capacity exceeded, sorry [input stack size=5000]   
> 
>  
> 
> I checked the mail archive and saw that there could be several issues that
> cause this error: unterminated brackets, infinite loops from the \renew
> command, too many eps figures, etc.  Nothing was conclusive.  My child
> documents do use several eps figures with many of them exceeding 30MB in
> size.  Could someone help me figure out what is really causing this error
> and how to fix it?  If it is the eps figures, will the problem be solved
if
> I convert them to PNG of smaller size?  Thank you.
> 

You have EPS figures that individually exceed 30MB???  Yikes!!  I assume 
the bulk of these are bitmaps?  If the bitmaps are previews (see, for 
instance, http://bourbon.usc.edu/tgif/faq/importeps.html), I would chop 
them out; they won't (at least, shouldn't) be used when generating PDF 
output.  Don't know if they would cause LaTeX to run out of memory, though.

If that's not the source of the memory problem, you might try a 
divide-and-conquer approach.  Chop out pieces of the thesis until you 
get something that compiles, then put things back until you either 
identify a maximum amount of the document that compiles or identify one 
particular piece that's at fault (meaning the entire document minus that 
piece compiles, and that piece by itself does not).  If it's the latter 
case, use divide-and-conquer within just that piece to find the culprit.

/Paul




Tex capacity exceeded

2008-05-03 Thread Adrian Peter
Hi,

 

I am working on a multipart thesis using Lyx.  I keep getting the following
error when I try to export to PDF or view the DVI:

 

TeX capacity exceeded, sorry [input stack size=5000]   

 

I checked the mail archive and saw that there could be several issues that
cause this error: unterminated brackets, infinite loops from the \renew
command, too many eps figures, etc.  Nothing was conclusive.  My child
documents do use several eps figures with many of them exceeding 30MB in
size.  Could someone help me figure out what is really causing this error
and how to fix it?  If it is the eps figures, will the problem be solved if
I convert them to PNG of smaller size?  Thank you.

 

Adrian

 



Re: Tex capacity exceeded

2008-05-03 Thread Paul A. Rubin

Adrian Peter wrote:

Hi,

 


I am working on a multipart thesis using Lyx.  I keep getting the following
error when I try to export to PDF or view the DVI:

 

TeX capacity exceeded, sorry [input stack size=5000]   

 


I checked the mail archive and saw that there could be several issues that
cause this error: unterminated brackets, infinite loops from the \renew
command, too many eps figures, etc.  Nothing was conclusive.  My child
documents do use several eps figures with many of them exceeding 30MB in
size.  Could someone help me figure out what is really causing this error
and how to fix it?  If it is the eps figures, will the problem be solved if
I convert them to PNG of smaller size?  Thank you.



You have EPS figures that individually exceed 30MB???  Yikes!!  I assume 
the bulk of these are bitmaps?  If the bitmaps are previews (see, for 
instance, http://bourbon.usc.edu/tgif/faq/importeps.html), I would chop 
them out; they won't (at least, shouldn't) be used when generating PDF 
output.  Don't know if they would cause LaTeX to run out of memory, though.


If that's not the source of the memory problem, you might try a 
divide-and-conquer approach.  Chop out pieces of the thesis until you 
get something that compiles, then put things back until you either 
identify a maximum amount of the document that compiles or identify one 
particular piece that's at fault (meaning the entire document minus that 
piece compiles, and that piece by itself does not).  If it's the latter 
case, use divide-and-conquer within just that piece to find the culprit.


/Paul



Re: Tex capacity exceeded

2008-05-03 Thread José Matos
On Saturday 03 May 2008 16:34:01 Adrian Peter wrote:
 Hi,



 I am working on a multipart thesis using Lyx.  I keep getting the following
 error when I try to export to PDF or view the DVI:



 TeX capacity exceeded, sorry [input stack size=5000]

 I checked the mail archive and saw that there could be several issues that
 cause this error: unterminated brackets, infinite loops from the \renew
 command, too many eps figures, etc.  Nothing was conclusive.  My child
 documents do use several eps figures with many of them exceeding 30MB in
 size.  Could someone help me figure out what is really causing this error
 and how to fix it?  If it is the eps figures, will the problem be solved if
 I convert them to PNG of smaller size?  Thank you.

There is one limit where if there are more than 18 (more or less) figures 
before a given break this error will occur.
http://www.texnik.de/cgi-bin/mainFAQ.cgi?file=floats/floats#unprocessed

 Adrian

-- 
José Abílio


Re: Tex capacity exceeded

2008-05-03 Thread curtis osterhoudt
Paul's suggestion is certainly worthy of a try. However, sometimes the problem 
is a problem of the whole, rather than of the sum of the parts. I mean this: 
When I was finishing up my thesis, I ran into various TeX capacity problems, 
none of which would occur when each chapter (appendix, etc.) was compiled 
separately, nor when all but one were put together. It didn't matter which I 
removed, the result would compile, but all together wouldn't. Taking out the 
TOC, too, fixed things, or the bibliography, or the index.
   I ended up concluding that I was running into some problem with the sum of 
the TOC + chapters + reference list(s) + appendices + index, and only fixed it 
by collecting at least two of my main chapters into a single appendix. It 
wasn't ideal, but I could find no other way around the problem.

   I hear that there are a few TeX replacements (or modern versions) which 
don't have these esoteric limits to them, but don't know of their status. Does 
anyone have suggestions of some systems I could research?

   C.O.




===

If that's not the source of the memory problem, you might try a 
divide-and-conquer approach.  Chop out pieces of the thesis until you 
get something that compiles, then put things back until you either 
identify a maximum amount of the document that compiles or identify one 
particular piece that's at fault (meaning the entire document minus that 
piece compiles, and that piece by itself does not).  If it's the latter 
case, use divide-and-conquer within just that piece to find the culprit.

/Paul


  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

Tex capacity exceeded

2008-05-03 Thread Adrian Peter
Hi,

 

I am working on a multipart thesis using Lyx.  I keep getting the following
error when I try to export to PDF or view the DVI:

 

TeX capacity exceeded, sorry [input stack size=5000]   

 

I checked the mail archive and saw that there could be several issues that
cause this error: unterminated brackets, infinite loops from the \renew
command, too many eps figures, etc.  Nothing was conclusive.  My child
documents do use several eps figures with many of them exceeding 30MB in
size.  Could someone help me figure out what is really causing this error
and how to fix it?  If it is the eps figures, will the problem be solved if
I convert them to PNG of smaller size?  Thank you.

 

Adrian

 



Re: Tex capacity exceeded

2008-05-03 Thread Paul A. Rubin

Adrian Peter wrote:

Hi,

 


I am working on a multipart thesis using Lyx.  I keep getting the following
error when I try to export to PDF or view the DVI:

 

TeX capacity exceeded, sorry [input stack size=5000]   

 


I checked the mail archive and saw that there could be several issues that
cause this error: unterminated brackets, infinite loops from the \renew
command, too many eps figures, etc.  Nothing was conclusive.  My child
documents do use several eps figures with many of them exceeding 30MB in
size.  Could someone help me figure out what is really causing this error
and how to fix it?  If it is the eps figures, will the problem be solved if
I convert them to PNG of smaller size?  Thank you.



You have EPS figures that individually exceed 30MB???  Yikes!!  I assume 
the bulk of these are bitmaps?  If the bitmaps are previews (see, for 
instance, http://bourbon.usc.edu/tgif/faq/importeps.html), I would chop 
them out; they won't (at least, shouldn't) be used when generating PDF 
output.  Don't know if they would cause LaTeX to run out of memory, though.


If that's not the source of the memory problem, you might try a 
divide-and-conquer approach.  Chop out pieces of the thesis until you 
get something that compiles, then put things back until you either 
identify a maximum amount of the document that compiles or identify one 
particular piece that's at fault (meaning the entire document minus that 
piece compiles, and that piece by itself does not).  If it's the latter 
case, use divide-and-conquer within just that piece to find the culprit.


/Paul



Re: Tex capacity exceeded

2008-05-03 Thread José Matos
On Saturday 03 May 2008 16:34:01 Adrian Peter wrote:
 Hi,



 I am working on a multipart thesis using Lyx.  I keep getting the following
 error when I try to export to PDF or view the DVI:



 TeX capacity exceeded, sorry [input stack size=5000]

 I checked the mail archive and saw that there could be several issues that
 cause this error: unterminated brackets, infinite loops from the \renew
 command, too many eps figures, etc.  Nothing was conclusive.  My child
 documents do use several eps figures with many of them exceeding 30MB in
 size.  Could someone help me figure out what is really causing this error
 and how to fix it?  If it is the eps figures, will the problem be solved if
 I convert them to PNG of smaller size?  Thank you.

There is one limit where if there are more than 18 (more or less) figures 
before a given break this error will occur.
http://www.texnik.de/cgi-bin/mainFAQ.cgi?file=floats/floats#unprocessed

 Adrian

-- 
José Abílio


Re: Tex capacity exceeded

2008-05-03 Thread curtis osterhoudt
Paul's suggestion is certainly worthy of a try. However, sometimes the problem 
is a problem of the whole, rather than of the sum of the parts. I mean this: 
When I was finishing up my thesis, I ran into various TeX capacity problems, 
none of which would occur when each chapter (appendix, etc.) was compiled 
separately, nor when all but one were put together. It didn't matter which I 
removed, the result would compile, but all together wouldn't. Taking out the 
TOC, too, fixed things, or the bibliography, or the index.
   I ended up concluding that I was running into some problem with the sum of 
the TOC + chapters + reference list(s) + appendices + index, and only fixed it 
by collecting at least two of my main chapters into a single appendix. It 
wasn't ideal, but I could find no other way around the problem.

   I hear that there are a few TeX replacements (or modern versions) which 
don't have these esoteric limits to them, but don't know of their status. Does 
anyone have suggestions of some systems I could research?

   C.O.




===

If that's not the source of the memory problem, you might try a 
divide-and-conquer approach.  Chop out pieces of the thesis until you 
get something that compiles, then put things back until you either 
identify a maximum amount of the document that compiles or identify one 
particular piece that's at fault (meaning the entire document minus that 
piece compiles, and that piece by itself does not).  If it's the latter 
case, use divide-and-conquer within just that piece to find the culprit.

/Paul


  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

Tex capacity exceeded

2008-05-03 Thread Adrian Peter
Hi,

 

I am working on a multipart thesis using Lyx.  I keep getting the following
error when I try to export to PDF or view the DVI:

 

TeX capacity exceeded, sorry [input stack size=5000]   

 

I checked the mail archive and saw that there could be several issues that
cause this error: unterminated brackets, infinite loops from the \renew
command, too many eps figures, etc.  Nothing was conclusive.  My child
documents do use several eps figures with many of them exceeding 30MB in
size.  Could someone help me figure out what is really causing this error
and how to fix it?  If it is the eps figures, will the problem be solved if
I convert them to PNG of smaller size?  Thank you.

 

Adrian

 



Re: Tex capacity exceeded

2008-05-03 Thread Paul A. Rubin

Adrian Peter wrote:

Hi,

 


I am working on a multipart thesis using Lyx.  I keep getting the following
error when I try to export to PDF or view the DVI:

 

TeX capacity exceeded, sorry [input stack size=5000]   

 


I checked the mail archive and saw that there could be several issues that
cause this error: unterminated brackets, infinite loops from the \renew
command, too many eps figures, etc.  Nothing was conclusive.  My child
documents do use several eps figures with many of them exceeding 30MB in
size.  Could someone help me figure out what is really causing this error
and how to fix it?  If it is the eps figures, will the problem be solved if
I convert them to PNG of smaller size?  Thank you.



You have EPS figures that individually exceed 30MB???  Yikes!!  I assume 
the bulk of these are bitmaps?  If the bitmaps are previews (see, for 
instance, http://bourbon.usc.edu/tgif/faq/importeps.html), I would chop 
them out; they won't (at least, shouldn't) be used when generating PDF 
output.  Don't know if they would cause LaTeX to run out of memory, though.


If that's not the source of the memory problem, you might try a 
divide-and-conquer approach.  Chop out pieces of the thesis until you 
get something that compiles, then put things back until you either 
identify a maximum amount of the document that compiles or identify one 
particular piece that's at fault (meaning the entire document minus that 
piece compiles, and that piece by itself does not).  If it's the latter 
case, use divide-and-conquer within just that piece to find the culprit.


/Paul



Re: Tex capacity exceeded

2008-05-03 Thread José Matos
On Saturday 03 May 2008 16:34:01 Adrian Peter wrote:
> Hi,
>
>
>
> I am working on a multipart thesis using Lyx.  I keep getting the following
> error when I try to export to PDF or view the DVI:
>
>
>
> TeX capacity exceeded, sorry [input stack size=5000]
>
> I checked the mail archive and saw that there could be several issues that
> cause this error: unterminated brackets, infinite loops from the \renew
> command, too many eps figures, etc.  Nothing was conclusive.  My child
> documents do use several eps figures with many of them exceeding 30MB in
> size.  Could someone help me figure out what is really causing this error
> and how to fix it?  If it is the eps figures, will the problem be solved if
> I convert them to PNG of smaller size?  Thank you.

There is one limit where if there are more than 18 (more or less) figures 
before a given break this error will occur.
http://www.texnik.de/cgi-bin/mainFAQ.cgi?file=floats/floats#unprocessed

> Adrian

-- 
José Abílio


Re: Tex capacity exceeded

2008-05-03 Thread curtis osterhoudt
Paul's suggestion is certainly worthy of a try. However, sometimes the problem 
is a problem of the whole, rather than of the sum of the parts. I mean this: 
When I was finishing up my thesis, I ran into various TeX capacity problems, 
none of which would occur when each chapter (appendix, etc.) was compiled 
separately, nor when all but one were put together. It didn't matter which I 
removed, the result would compile, but all together wouldn't. Taking out the 
TOC, too, fixed things, or the bibliography, or the index.
   I ended up concluding that I was running into some problem with the sum of 
the TOC + chapters + reference list(s) + appendices + index, and only fixed it 
by collecting at least two of my main chapters into a single appendix. It 
wasn't ideal, but I could find no other way around the problem.

   I hear that there are a few TeX replacements (or "modern" versions) which 
don't have these esoteric limits to them, but don't know of their status. Does 
anyone have suggestions of some systems I could research?

   C.O.




===

If that's not the source of the memory problem, you might try a 
divide-and-conquer approach.  Chop out pieces of the thesis until you 
get something that compiles, then put things back until you either 
identify a maximum amount of the document that compiles or identify one 
particular piece that's at fault (meaning the entire document minus that 
piece compiles, and that piece by itself does not).  If it's the latter 
case, use divide-and-conquer within just that piece to find the culprit.

/Paul


  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

prosper package and Tex capacity exceeded

2007-11-17 Thread Romuald Poteau
Dear Lyx users,

I have updated my system to OpenSuse10.3 (previous version : 10.1) and I
obtain a latex error I did not encounter before, and which seems
specific of the compilation of prosper documents.
The message is tex capacity exceeded. Sorry [save_size = 5000].
It is obtained with my old 1.4.3 version of lyx, as well as with the new
version installed with opensuse (1.5.1).
I have tried to increase the save_size parameter in
/usr/texmf/web2c/texmf.cnf, without success.
Is it necessary to say that this problem did not appear with the
previous version of suse ?

Is it necessary to update the prosper layout ?

Help would be greatly appreciated.

Many thanks,
Romuald





prosper package and Tex capacity exceeded

2007-11-17 Thread Romuald Poteau
Dear Lyx users,

I have updated my system to OpenSuse10.3 (previous version : 10.1) and I
obtain a latex error I did not encounter before, and which seems
specific of the compilation of prosper documents.
The message is tex capacity exceeded. Sorry [save_size = 5000].
It is obtained with my old 1.4.3 version of lyx, as well as with the new
version installed with opensuse (1.5.1).
I have tried to increase the save_size parameter in
/usr/texmf/web2c/texmf.cnf, without success.
Is it necessary to say that this problem did not appear with the
previous version of suse ?

Is it necessary to update the prosper layout ?

Help would be greatly appreciated.

Many thanks,
Romuald





prosper package and "Tex capacity exceeded"

2007-11-17 Thread Romuald Poteau
Dear Lyx users,

I have updated my system to OpenSuse10.3 (previous version : 10.1) and I
obtain a latex error I did not encounter before, and which seems
specific of the compilation of prosper documents.
The message is "tex capacity exceeded. Sorry [save_size = 5000].
It is obtained with my old 1.4.3 version of lyx, as well as with the new
version installed with opensuse (1.5.1).
I have tried to increase the save_size parameter in
/usr/texmf/web2c/texmf.cnf, without success.
Is it necessary to say that this problem did not appear with the
previous version of suse ?

Is it necessary to update the prosper layout ?

Help would be greatly appreciated.

Many thanks,
Romuald





Re: Compile error: TeX capacity exceeded, sorry

2003-02-23 Thread Michael Abshoff
Christian Ridderström wrote:

When I compile my thesis I suddenly get this error:

File:  posture_control_step_pitch.ps Graphic file (type eps)
! TeX capacity exceeded, sorry [pool size=72220].
[EMAIL PROTECTED] #1-\message {#1}
\bgroup \def [EMAIL PROTECTED] {!}\dimen 
[EMAIL PROTECTED]@wi...
l.282 ...rt4_images_posture_control_step_pitch.ps}
 \end{center}
If you really absolutely need more capacity,
you can ask a wizard to enlarge me.

Here is how much of TeX's memory you used:
4332 strings out of 10901
72220 string characters out of 72220
135340 words of memory out of 263001
7009 multiletter control sequences out of 1+0
100895 words of font info for 123 fonts, out of 40 for 1000
14 hyphenation exceptions out of 1000
37i,15n,33p,481b,531s stack positions out of 300i,100n,500p,5b,4000s
Output written on test.dvi (216 pages, 566604 bytes).
What is this string characters limitation that I've run into?.
The document is rather large, abt 260 pages, and is a multipart document.
If I remove the three last postscript figures, it goes through and reports 
this usage:

Here is how much of TeX's memory you used:
4338 strings out of 10901
72059 string characters out of 72220
135392 words of memory out of 263001
7011 multiletter control sequences out of 1+0
100895 words of font info for 123 fonts, out of 40 for 1000
14 hyphenation exceptions out of 1000
37i,15n,33p,481b,531s stack positions out of 300i,100n,500p,5b,4000s
Do I really have to recompile latex to get a higher capacity?
 

Nope,

check /etc/texmf/texmf.conf. There you can set  a number of options:

% Max number of characters in all strings, including all error messages,
% help texts, font names, control sequences.  These values apply to TeX 
and MP.
pool_size.context = 75
pool_size.jadetex = 50
pool_size = 250
% Minimum pool space after TeX/MP's own strings; must be at least
% 25000 less than pool_size, but doesn't need to be nearly that large.
string_vacancies.context = 45
string_vacancies = 25
% Maximum number of strings.
max_strings.context = 55
max_strings = 30
% min pool space left after loading .fmt
pool_free.context = 47500
pool_free = 5000

(cut from my tetex-1.07)

Increased as desired.

Michael

/Christian

 



--
Michael Abshoff - MRB - Universität Dortmund - Telefon 755-3463 (intern)
  Where do you want to RTFM today?





Re: Compile error: TeX capacity exceeded, sorry

2003-02-23 Thread Max Bian

--- Michael Abshoff [EMAIL PROTECTED] wrote:
 Christian Ridderström wrote:

 (cut from my tetex-1.07)
 
 Increased as desired.

I had similiar problem before. I think the default should be enough for
most users. The porblem might be a bad or conflicting package.

Max


Re: Compile error: TeX capacity exceeded, sorry

2003-02-23 Thread Christian Ridderström
On Sun, 23 Feb 2003, Max Bian wrote:

 I had similiar problem before. I think the default should be enough for
 most users. The porblem might be a bad or conflicting package.

Any idea how I find out? I'm using these packages at the moment:
\usepackage{cite}
\usepackage{latexsym}
\usepackage{url}
\usepackage{ifthen}
\usepackage{multicol}
\usepackage{setspace}
\usepackage{floatpag}
\usepackage{maple2e}
\usepackage[squaren]{SIunits}

in addition to whatever lyx adds. Still... I don't really want to remove 
any of the packages, so maybe I just have to increase the limits.

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: Compile error: TeX capacity exceeded, sorry

2003-02-23 Thread Max Bian

--- Christian_Ridderström [EMAIL PROTECTED] wrote:

 Any idea how I find out? I'm using these packages at the moment:
 \usepackage{cite}
 \usepackage{latexsym}
 \usepackage{url}
 \usepackage{ifthen}
 \usepackage{multicol}
 \usepackage{setspace}
 \usepackage{floatpag}
 \usepackage{maple2e}
 \usepackage[squaren]{SIunits}

Which is the one you added recently before it broke?  I don't use most
of your packages, so not sure. The examples of conflict: multicol with
Revtex4, cite with natbib (check this one out), etc.

 
 in addition to whatever lyx adds. Still... I don't really want to
 remove 
 any of the packages, so maybe I just have to increase the limits.


Last time I tried, it could go even I add extra 00 to all numbers
before I got the conflict fixed.

Good luck.

Max


Re: Compile error: TeX capacity exceeded, sorry

2003-02-23 Thread Michael Abshoff
Christian Ridderström wrote:

On Sun, 23 Feb 2003, Max Bian wrote:
 


Any idea how I find out? I'm using these packages at the moment:
\usepackage{cite}
\usepackage{latexsym}
\usepackage{url}
\usepackage{ifthen}
\usepackage{multicol}
\usepackage{setspace}
\usepackage{floatpag}
\usepackage{maple2e}
\usepackage[squaren]{SIunits}
in addition to whatever lyx adds. Still... I don't really want to remove 
any of the packages, so maybe I just have to increase the limits.

/Christian

 

What kind of TeX-Installation do you use? 70K strings seems a liitle low in
my opinion. The values in texmf.cnf seem a little to conservatice for todays
systems.
With my setup I ran into problems when compiling a 400 page document
containing the first 3500 Fibonacci numbers. Well - always time for a 
prank:
it was a nonsence publication that we wanted to sell to first-year compter
science students.

Michael

--
Michael Abshoff - MRB - Universität Dortmund - Telefon 755-3463 (intern)
  Where do you want to RTFM today?





Re: Compile error: TeX capacity exceeded, sorry

2003-02-23 Thread Christian Ridderström
On Sun, 23 Feb 2003, Michael Abshoff wrote:

 Christian Ridderström wrote:
 
 What kind of TeX-Installation do you use? 70K strings seems a liitle low in
 my opinion. The values in texmf.cnf seem a little to conservatice for todays
 systems.

I think it's a plain teTeX 1.07 installation... (on a RH 7.3-system).

Anyway, I've asked my sys.adm. to change 'pool_size = 25' - 
'pool_size = 250', and 'string_vacancies = 25000' - 25000, 
'max_strings = 15000' - '15'.

So hopefully this will fix the problem.

 it was a nonsence publication that we wanted to sell to first-year compter
 science students.

Nice... any buyers? :-)

/Christian

-- 
Christian Ridderström, +46-8-790 91 37   http://www.md.kth.se/~chr
Mechatronics lab, Dept. of Machine Designhttp://www.md.kth.se



Re: Compile error: TeX capacity exceeded, sorry

2003-02-23 Thread Christian Ridderström
On Sun, 23 Feb 2003, Max Bian wrote:

 
 --- Christian_Ridderström [EMAIL PROTECTED] wrote:
 
  Any idea how I find out? I'm using these packages at the moment:
  \usepackage{cite}
  \usepackage{latexsym}
  \usepackage{url}
  \usepackage{ifthen}
  \usepackage{multicol}
  \usepackage{setspace}
  \usepackage{floatpag}
  \usepackage{maple2e}
  \usepackage[squaren]{SIunits}
 
 Which is the one you added recently before it broke?  I don't use most
 of your packages, so not sure. The examples of conflict: multicol with
 Revtex4, cite with natbib (check this one out), etc.

\usepackage[squaren]{SIunits} was the last package, but the string 
character use was abt 70k before I added it (and the limit is 72k).

 Last time I tried, it could go even I add extra 00 to all numbers
 before I got the conflict fixed.

Well, since it compiles if I remove the three last figures, I'm 
thinking just adding one '0' will be enough :-)

Thanks a lot for your help anyway!

/Christian

-- 
Christian Ridderström, +46-8-790 91 37   http://www.md.kth.se/~chr
Mechatronics lab, Dept. of Machine Designhttp://www.md.kth.se



Re: Compile error: TeX capacity exceeded, sorry

2003-02-23 Thread Michael Abshoff
Christian Ridderström wrote:

When I compile my thesis I suddenly get this error:

File:  posture_control_step_pitch.ps Graphic file (type eps)
! TeX capacity exceeded, sorry [pool size=72220].
[EMAIL PROTECTED] #1-\message {#1}
\bgroup \def [EMAIL PROTECTED] {!}\dimen 
[EMAIL PROTECTED]@wi...
l.282 ...rt4_images_posture_control_step_pitch.ps}
 \end{center}
If you really absolutely need more capacity,
you can ask a wizard to enlarge me.

Here is how much of TeX's memory you used:
4332 strings out of 10901
72220 string characters out of 72220
135340 words of memory out of 263001
7009 multiletter control sequences out of 1+0
100895 words of font info for 123 fonts, out of 40 for 1000
14 hyphenation exceptions out of 1000
37i,15n,33p,481b,531s stack positions out of 300i,100n,500p,5b,4000s
Output written on test.dvi (216 pages, 566604 bytes).
What is this string characters limitation that I've run into?.
The document is rather large, abt 260 pages, and is a multipart document.
If I remove the three last postscript figures, it goes through and reports 
this usage:

Here is how much of TeX's memory you used:
4338 strings out of 10901
72059 string characters out of 72220
135392 words of memory out of 263001
7011 multiletter control sequences out of 1+0
100895 words of font info for 123 fonts, out of 40 for 1000
14 hyphenation exceptions out of 1000
37i,15n,33p,481b,531s stack positions out of 300i,100n,500p,5b,4000s
Do I really have to recompile latex to get a higher capacity?
 

Nope,

check /etc/texmf/texmf.conf. There you can set  a number of options:

% Max number of characters in all strings, including all error messages,
% help texts, font names, control sequences.  These values apply to TeX 
and MP.
pool_size.context = 75
pool_size.jadetex = 50
pool_size = 250
% Minimum pool space after TeX/MP's own strings; must be at least
% 25000 less than pool_size, but doesn't need to be nearly that large.
string_vacancies.context = 45
string_vacancies = 25
% Maximum number of strings.
max_strings.context = 55
max_strings = 30
% min pool space left after loading .fmt
pool_free.context = 47500
pool_free = 5000

(cut from my tetex-1.07)

Increased as desired.

Michael

/Christian

 



--
Michael Abshoff - MRB - Universität Dortmund - Telefon 755-3463 (intern)
  Where do you want to RTFM today?





Re: Compile error: TeX capacity exceeded, sorry

2003-02-23 Thread Max Bian

--- Michael Abshoff [EMAIL PROTECTED] wrote:
 Christian Ridderström wrote:

 (cut from my tetex-1.07)
 
 Increased as desired.

I had similiar problem before. I think the default should be enough for
most users. The porblem might be a bad or conflicting package.

Max


Re: Compile error: TeX capacity exceeded, sorry

2003-02-23 Thread Christian Ridderström
On Sun, 23 Feb 2003, Max Bian wrote:

 I had similiar problem before. I think the default should be enough for
 most users. The porblem might be a bad or conflicting package.

Any idea how I find out? I'm using these packages at the moment:
\usepackage{cite}
\usepackage{latexsym}
\usepackage{url}
\usepackage{ifthen}
\usepackage{multicol}
\usepackage{setspace}
\usepackage{floatpag}
\usepackage{maple2e}
\usepackage[squaren]{SIunits}

in addition to whatever lyx adds. Still... I don't really want to remove 
any of the packages, so maybe I just have to increase the limits.

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: Compile error: TeX capacity exceeded, sorry

2003-02-23 Thread Max Bian

--- Christian_Ridderström [EMAIL PROTECTED] wrote:

 Any idea how I find out? I'm using these packages at the moment:
 \usepackage{cite}
 \usepackage{latexsym}
 \usepackage{url}
 \usepackage{ifthen}
 \usepackage{multicol}
 \usepackage{setspace}
 \usepackage{floatpag}
 \usepackage{maple2e}
 \usepackage[squaren]{SIunits}

Which is the one you added recently before it broke?  I don't use most
of your packages, so not sure. The examples of conflict: multicol with
Revtex4, cite with natbib (check this one out), etc.

 
 in addition to whatever lyx adds. Still... I don't really want to
 remove 
 any of the packages, so maybe I just have to increase the limits.


Last time I tried, it could go even I add extra 00 to all numbers
before I got the conflict fixed.

Good luck.

Max


Re: Compile error: TeX capacity exceeded, sorry

2003-02-23 Thread Michael Abshoff
Christian Ridderström wrote:

On Sun, 23 Feb 2003, Max Bian wrote:
 


Any idea how I find out? I'm using these packages at the moment:
\usepackage{cite}
\usepackage{latexsym}
\usepackage{url}
\usepackage{ifthen}
\usepackage{multicol}
\usepackage{setspace}
\usepackage{floatpag}
\usepackage{maple2e}
\usepackage[squaren]{SIunits}
in addition to whatever lyx adds. Still... I don't really want to remove 
any of the packages, so maybe I just have to increase the limits.

/Christian

 

What kind of TeX-Installation do you use? 70K strings seems a liitle low in
my opinion. The values in texmf.cnf seem a little to conservatice for todays
systems.
With my setup I ran into problems when compiling a 400 page document
containing the first 3500 Fibonacci numbers. Well - always time for a 
prank:
it was a nonsence publication that we wanted to sell to first-year compter
science students.

Michael

--
Michael Abshoff - MRB - Universität Dortmund - Telefon 755-3463 (intern)
  Where do you want to RTFM today?





Re: Compile error: TeX capacity exceeded, sorry

2003-02-23 Thread Christian Ridderström
On Sun, 23 Feb 2003, Michael Abshoff wrote:

 Christian Ridderström wrote:
 
 What kind of TeX-Installation do you use? 70K strings seems a liitle low in
 my opinion. The values in texmf.cnf seem a little to conservatice for todays
 systems.

I think it's a plain teTeX 1.07 installation... (on a RH 7.3-system).

Anyway, I've asked my sys.adm. to change 'pool_size = 25' - 
'pool_size = 250', and 'string_vacancies = 25000' - 25000, 
'max_strings = 15000' - '15'.

So hopefully this will fix the problem.

 it was a nonsence publication that we wanted to sell to first-year compter
 science students.

Nice... any buyers? :-)

/Christian

-- 
Christian Ridderström, +46-8-790 91 37   http://www.md.kth.se/~chr
Mechatronics lab, Dept. of Machine Designhttp://www.md.kth.se



Re: Compile error: TeX capacity exceeded, sorry

2003-02-23 Thread Christian Ridderström
On Sun, 23 Feb 2003, Max Bian wrote:

 
 --- Christian_Ridderström [EMAIL PROTECTED] wrote:
 
  Any idea how I find out? I'm using these packages at the moment:
  \usepackage{cite}
  \usepackage{latexsym}
  \usepackage{url}
  \usepackage{ifthen}
  \usepackage{multicol}
  \usepackage{setspace}
  \usepackage{floatpag}
  \usepackage{maple2e}
  \usepackage[squaren]{SIunits}
 
 Which is the one you added recently before it broke?  I don't use most
 of your packages, so not sure. The examples of conflict: multicol with
 Revtex4, cite with natbib (check this one out), etc.

\usepackage[squaren]{SIunits} was the last package, but the string 
character use was abt 70k before I added it (and the limit is 72k).

 Last time I tried, it could go even I add extra 00 to all numbers
 before I got the conflict fixed.

Well, since it compiles if I remove the three last figures, I'm 
thinking just adding one '0' will be enough :-)

Thanks a lot for your help anyway!

/Christian

-- 
Christian Ridderström, +46-8-790 91 37   http://www.md.kth.se/~chr
Mechatronics lab, Dept. of Machine Designhttp://www.md.kth.se



Re: Compile error: TeX capacity exceeded, sorry

2003-02-23 Thread Michael Abshoff
Christian Ridderström wrote:

When I compile my thesis I suddenly get this error:

File:  posture_control_step_pitch.ps Graphic file (type eps)
! TeX capacity exceeded, sorry [pool size=72220].
[EMAIL PROTECTED] #1->\message {<#1>}
\bgroup \def [EMAIL PROTECTED] {!}\dimen@ 
[EMAIL PROTECTED]@wi...
l.282 ...rt4_images_posture_control_step_pitch.ps}
 \end{center}
If you really absolutely need more capacity,
you can ask a wizard to enlarge me.

Here is how much of TeX's memory you used:
4332 strings out of 10901
72220 string characters out of 72220
135340 words of memory out of 263001
7009 multiletter control sequences out of 1+0
100895 words of font info for 123 fonts, out of 40 for 1000
14 hyphenation exceptions out of 1000
37i,15n,33p,481b,531s stack positions out of 300i,100n,500p,5b,4000s
Output written on test.dvi (216 pages, 566604 bytes).
What is this "string characters" limitation that I've run into?.
The document is rather large, abt 260 pages, and is a multipart document.
If I remove the three last postscript figures, it goes through and reports 
this usage:

Here is how much of TeX's memory you used:
4338 strings out of 10901
72059 string characters out of 72220
135392 words of memory out of 263001
7011 multiletter control sequences out of 1+0
100895 words of font info for 123 fonts, out of 40 for 1000
14 hyphenation exceptions out of 1000
37i,15n,33p,481b,531s stack positions out of 300i,100n,500p,5b,4000s
Do I really have to recompile latex to get a higher capacity?
 

Nope,

check /etc/texmf/texmf.conf. There you can set  a number of options:

% Max number of characters in all strings, including all error messages,
% help texts, font names, control sequences.  These values apply to TeX 
and MP.
pool_size.context = 75
pool_size.jadetex = 50
pool_size = 250
% Minimum pool space after TeX/MP's own strings; must be at least
% 25000 less than pool_size, but doesn't need to be nearly that large.
string_vacancies.context = 45
string_vacancies = 25
% Maximum number of strings.
max_strings.context = 55
max_strings = 30
% min pool space left after loading .fmt
pool_free.context = 47500
pool_free = 5000

(cut from my tetex-1.07)

Increased as desired.

Michael

/Christian

 



--
Michael Abshoff - MRB - Universität Dortmund - Telefon 755-3463 (intern)
  Where do you want to RTFM today?





Re: Compile error: TeX capacity exceeded, sorry

2003-02-23 Thread Max Bian

--- Michael Abshoff <[EMAIL PROTECTED]> wrote:
> Christian Ridderström wrote:

> (cut from my tetex-1.07)
> 
> Increased as desired.

I had similiar problem before. I think the default should be enough for
most users. The porblem might be a bad or conflicting package.

Max


Re: Compile error: TeX capacity exceeded, sorry

2003-02-23 Thread Christian Ridderström
On Sun, 23 Feb 2003, Max Bian wrote:

> I had similiar problem before. I think the default should be enough for
> most users. The porblem might be a bad or conflicting package.

Any idea how I find out? I'm using these packages at the moment:
\usepackage{cite}
\usepackage{latexsym}
\usepackage{url}
\usepackage{ifthen}
\usepackage{multicol}
\usepackage{setspace}
\usepackage{floatpag}
\usepackage{maple2e}
\usepackage[squaren]{SIunits}

in addition to whatever lyx adds. Still... I don't really want to remove 
any of the packages, so maybe I just have to increase the limits.

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: Compile error: TeX capacity exceeded, sorry

2003-02-23 Thread Max Bian

--- Christian_Ridderström <[EMAIL PROTECTED]> wrote:

> Any idea how I find out? I'm using these packages at the moment:
> \usepackage{cite}
> \usepackage{latexsym}
> \usepackage{url}
> \usepackage{ifthen}
> \usepackage{multicol}
> \usepackage{setspace}
> \usepackage{floatpag}
> \usepackage{maple2e}
> \usepackage[squaren]{SIunits}

Which is the one you added recently before it broke?  I don't use most
of your packages, so not sure. The examples of conflict: multicol with
Revtex4, cite with natbib (check this one out), etc.

> 
> in addition to whatever lyx adds. Still... I don't really want to
> remove 
> any of the packages, so maybe I just have to increase the limits.
>

Last time I tried, it could go even I add extra "00" to all numbers
before I got the conflict fixed.

Good luck.

Max


Re: Compile error: TeX capacity exceeded, sorry

2003-02-23 Thread Michael Abshoff
Christian Ridderström wrote:

On Sun, 23 Feb 2003, Max Bian wrote:
 


Any idea how I find out? I'm using these packages at the moment:
\usepackage{cite}
\usepackage{latexsym}
\usepackage{url}
\usepackage{ifthen}
\usepackage{multicol}
\usepackage{setspace}
\usepackage{floatpag}
\usepackage{maple2e}
\usepackage[squaren]{SIunits}
in addition to whatever lyx adds. Still... I don't really want to remove 
any of the packages, so maybe I just have to increase the limits.

/Christian

 

What kind of TeX-Installation do you use? 70K strings seems a liitle low in
my opinion. The values in texmf.cnf seem a little to conservatice for todays
systems.
With my setup I ran into problems when compiling a 400 page document
containing the first 3500 Fibonacci numbers. Well - always time for a 
prank:
it was a nonsence publication that we wanted to sell to first-year compter
science students.

Michael

--
Michael Abshoff - MRB - Universität Dortmund - Telefon 755-3463 (intern)
  Where do you want to RTFM today?





Re: Compile error: TeX capacity exceeded, sorry

2003-02-23 Thread Christian Ridderström
On Sun, 23 Feb 2003, Michael Abshoff wrote:

> Christian Ridderström wrote:
> 
> What kind of TeX-Installation do you use? 70K strings seems a liitle low in
> my opinion. The values in texmf.cnf seem a little to conservatice for todays
> systems.

I think it's a plain teTeX 1.07 installation... (on a RH 7.3-system).

Anyway, I've asked my sys.adm. to change 'pool_size = 25' -> 
'pool_size = 250', and 'string_vacancies = 25000' -> 25000, 
'max_strings = 15000' -> '15'.

So hopefully this will fix the problem.

> it was a nonsence publication that we wanted to sell to first-year compter
> science students.

Nice... any buyers? :-)

/Christian

-- 
Christian Ridderström, +46-8-790 91 37   http://www.md.kth.se/~chr
Mechatronics lab, Dept. of Machine Designhttp://www.md.kth.se



Re: Compile error: TeX capacity exceeded, sorry

2003-02-23 Thread Christian Ridderström
On Sun, 23 Feb 2003, Max Bian wrote:

> 
> --- Christian_Ridderström <[EMAIL PROTECTED]> wrote:
> 
> > Any idea how I find out? I'm using these packages at the moment:
> > \usepackage{cite}
> > \usepackage{latexsym}
> > \usepackage{url}
> > \usepackage{ifthen}
> > \usepackage{multicol}
> > \usepackage{setspace}
> > \usepackage{floatpag}
> > \usepackage{maple2e}
> > \usepackage[squaren]{SIunits}
> 
> Which is the one you added recently before it broke?  I don't use most
> of your packages, so not sure. The examples of conflict: multicol with
> Revtex4, cite with natbib (check this one out), etc.

\usepackage[squaren]{SIunits} was the last package, but the string 
character use was abt 70k before I added it (and the limit is 72k).

> Last time I tried, it could go even I add extra "00" to all numbers
> before I got the conflict fixed.

Well, since it compiles if I remove the three last figures, I'm 
thinking just adding one '0' will be enough :-)

Thanks a lot for your help anyway!

/Christian

-- 
Christian Ridderström, +46-8-790 91 37   http://www.md.kth.se/~chr
Mechatronics lab, Dept. of Machine Designhttp://www.md.kth.se



Compile error: TeX capacity exceeded, sorry

2003-02-22 Thread Christian Ridderström
When I compile my thesis I suddenly get this error:

File:  posture_control_step_pitch.ps Graphic file (type eps)
! TeX capacity exceeded, sorry [pool size=72220].
[EMAIL PROTECTED] #1-\message {#1}
 \bgroup \def [EMAIL PROTECTED] {!}\dimen 
[EMAIL PROTECTED]@wi...
l.282 ...rt4_images_posture_control_step_pitch.ps}
  \end{center}
If you really absolutely need more capacity,
you can ask a wizard to enlarge me.

 
Here is how much of TeX's memory you used:
 4332 strings out of 10901
 72220 string characters out of 72220
 135340 words of memory out of 263001
 7009 multiletter control sequences out of 1+0
 100895 words of font info for 123 fonts, out of 40 for 1000
 14 hyphenation exceptions out of 1000
 37i,15n,33p,481b,531s stack positions out of 300i,100n,500p,5b,4000s
Output written on test.dvi (216 pages, 566604 bytes).


What is this string characters limitation that I've run into?.
The document is rather large, abt 260 pages, and is a multipart document.
If I remove the three last postscript figures, it goes through and reports 
this usage:

Here is how much of TeX's memory you used:
 4338 strings out of 10901
 72059 string characters out of 72220
 135392 words of memory out of 263001
 7011 multiletter control sequences out of 1+0
 100895 words of font info for 123 fonts, out of 40 for 1000
 14 hyphenation exceptions out of 1000
 37i,15n,33p,481b,531s stack positions out of 300i,100n,500p,5b,4000s

Do I really have to recompile latex to get a higher capacity?

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Compile error: TeX capacity exceeded, sorry

2003-02-22 Thread Christian Ridderström
When I compile my thesis I suddenly get this error:

File:  posture_control_step_pitch.ps Graphic file (type eps)
! TeX capacity exceeded, sorry [pool size=72220].
[EMAIL PROTECTED] #1-\message {#1}
 \bgroup \def [EMAIL PROTECTED] {!}\dimen 
[EMAIL PROTECTED]@wi...
l.282 ...rt4_images_posture_control_step_pitch.ps}
  \end{center}
If you really absolutely need more capacity,
you can ask a wizard to enlarge me.

 
Here is how much of TeX's memory you used:
 4332 strings out of 10901
 72220 string characters out of 72220
 135340 words of memory out of 263001
 7009 multiletter control sequences out of 1+0
 100895 words of font info for 123 fonts, out of 40 for 1000
 14 hyphenation exceptions out of 1000
 37i,15n,33p,481b,531s stack positions out of 300i,100n,500p,5b,4000s
Output written on test.dvi (216 pages, 566604 bytes).


What is this string characters limitation that I've run into?.
The document is rather large, abt 260 pages, and is a multipart document.
If I remove the three last postscript figures, it goes through and reports 
this usage:

Here is how much of TeX's memory you used:
 4338 strings out of 10901
 72059 string characters out of 72220
 135392 words of memory out of 263001
 7011 multiletter control sequences out of 1+0
 100895 words of font info for 123 fonts, out of 40 for 1000
 14 hyphenation exceptions out of 1000
 37i,15n,33p,481b,531s stack positions out of 300i,100n,500p,5b,4000s

Do I really have to recompile latex to get a higher capacity?

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Compile error: TeX capacity exceeded, sorry

2003-02-22 Thread Christian Ridderström
When I compile my thesis I suddenly get this error:

File:  posture_control_step_pitch.ps Graphic file (type eps)
! TeX capacity exceeded, sorry [pool size=72220].
[EMAIL PROTECTED] #1->\message {<#1>}
 \bgroup \def [EMAIL PROTECTED] {!}\dimen@ 
[EMAIL PROTECTED]@wi...
l.282 ...rt4_images_posture_control_step_pitch.ps}
  \end{center}
If you really absolutely need more capacity,
you can ask a wizard to enlarge me.

 
Here is how much of TeX's memory you used:
 4332 strings out of 10901
 72220 string characters out of 72220
 135340 words of memory out of 263001
 7009 multiletter control sequences out of 1+0
 100895 words of font info for 123 fonts, out of 40 for 1000
 14 hyphenation exceptions out of 1000
 37i,15n,33p,481b,531s stack positions out of 300i,100n,500p,5b,4000s
Output written on test.dvi (216 pages, 566604 bytes).


What is this "string characters" limitation that I've run into?.
The document is rather large, abt 260 pages, and is a multipart document.
If I remove the three last postscript figures, it goes through and reports 
this usage:

Here is how much of TeX's memory you used:
 4338 strings out of 10901
 72059 string characters out of 72220
 135392 words of memory out of 263001
 7011 multiletter control sequences out of 1+0
 100895 words of font info for 123 fonts, out of 40 for 1000
 14 hyphenation exceptions out of 1000
 37i,15n,33p,481b,531s stack positions out of 300i,100n,500p,5b,4000s

Do I really have to recompile latex to get a higher capacity?

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: Re: TeX capacity exceeded

2002-05-31 Thread Guenter Milde

On Thu, 30 May 2002 14:12:09 +0200 (MEST) wrote Wayan 
[EMAIL PROTECTED]:

 
 On 30 May 2002, Jean-Marc Lasgouttes wrote:
 
  Note that this error often comes from very different reasons. I would
  be surprised in this case that increasing capacity is the solution.
 

A very common reason {, e.g.  somewhere in the preamble
(remember, the braces in the main text are caref for by LyX, whereas
in the preamble you still need all your attention...

Do you have the LaTeX class, that belongs to the template??
Maybe some LaTeX command is redefined there...

(IMHO, templates that are made for non-standard LaTeX classes should
tell on a prominent place that they need class ... (and where to get it).
Actually, I'd like to have them in a directory different from the one that
gets opened with FileNew_from_template (the one with
the templates that work out of the box).)

Guenter

--
[EMAIL PROTECTED]




Re: Re: TeX capacity exceeded

2002-05-31 Thread Guenter Milde

On Thu, 30 May 2002 14:12:09 +0200 (MEST) wrote Wayan 
[EMAIL PROTECTED]:

 
 On 30 May 2002, Jean-Marc Lasgouttes wrote:
 
  Note that this error often comes from very different reasons. I would
  be surprised in this case that increasing capacity is the solution.
 

A very common reason {, e.g.  somewhere in the preamble
(remember, the braces in the main text are caref for by LyX, whereas
in the preamble you still need all your attention...

Do you have the LaTeX class, that belongs to the template??
Maybe some LaTeX command is redefined there...

(IMHO, templates that are made for non-standard LaTeX classes should
tell on a prominent place that they need class ... (and where to get it).
Actually, I'd like to have them in a directory different from the one that
gets opened with FileNew_from_template (the one with
the templates that work out of the box).)

Guenter

--
[EMAIL PROTECTED]




Re: Re: TeX capacity exceeded

2002-05-31 Thread Guenter Milde

On Thu, 30 May 2002 14:12:09 +0200 (MEST) wrote Wayan 
<[EMAIL PROTECTED]>:

> 
> On 30 May 2002, Jean-Marc Lasgouttes wrote:
> 
> > Note that this error often comes from very different reasons. I would
> > be surprised in this case that increasing capacity is the solution.
 

A very common reason {, e.g.  somewhere in the preamble
(remember, the braces in the main text are caref for by LyX, whereas
in the preamble you still need all your attention...

Do you have the LaTeX class, that belongs to the template??
Maybe some LaTeX command is redefined there...

(IMHO, templates that are made for non-standard LaTeX classes should
tell on a prominent place that they need class ... (and where to get it).
Actually, I'd like to have them in a directory different from the one that
gets opened with File>New_from_template (the one with
the templates that work out of the box).)

Guenter

--
[EMAIL PROTECTED]




TeX capacity exceeded

2002-05-30 Thread magni

I just installed the new version 1.2.0, and although it works fairly well I 
have a big problem with RevTeX. The install went clean, BTW.
Whenever I make a NewFromTemplate-RevTeX4, and compile it without modifying 
it, I get 4 errors the first being: 
TeX capacity exceeded, sorry (input stack size=300). If you really absolutely 
need more capacity, you can ask a wizard to enlarge me.
Now, not being a wizard myself, my only hope is to find one among you ;-)

Oh, NewFromTemplate-RevTeX gives me 29 similar errors, just at the beginning 
of the document

-- 
~~
\  Dr.Alessandro Magni
/   IEN Galileo Ferraris
\   Strada delle Cacce 91, 10135 Torino (ITALIA)
/   Email [EMAIL PROTECTED]
\   Fax 0039-011-3919782
/   Tel 0039-011-3919 821 
\   URL http://www.ien.it/~magni
~~



Re: TeX capacity exceeded

2002-05-30 Thread James Vernon

I'm no wizard, but this worked for me in a similar situation, so fingers 
crossed it might work for you too

Change the input stack size by editing your texmf.cnf file. Mine is in 
/etc/texmf/texmf.cnf, but yours might be different. Look in that file 
for the line that says:
stack_size=300

and change it to something bigger ( I don't know how much! ).
The wizardry bit is that you have to run `fmtutil -all' to update your 
TeX installation to use the new stack_size.

Incidentally, my Debian distribution says I'm not allowed to edit 
texmf.cnf directly, I have to edit stack_size in the file 
/etc/texmf/texmf.d/95NonPath/ and then run update-texmf before I run 
fmtutil.

James



magni wrote:

I just installed the new version 1.2.0, and although it works fairly well I 
have a big problem with RevTeX. The install went clean, BTW.
Whenever I make a NewFromTemplate-RevTeX4, and compile it without modifying 
it, I get 4 errors the first being: 
TeX capacity exceeded, sorry (input stack size=300). If you really absolutely 
need more capacity, you can ask a wizard to enlarge me.
Now, not being a wizard myself, my only hope is to find one among you ;-)

Oh, NewFromTemplate-RevTeX gives me 29 similar errors, just at the beginning 
of the document

  






Re: TeX capacity exceeded

2002-05-30 Thread Jean-Marc Lasgouttes

 James == James Vernon [EMAIL PROTECTED] writes:

James I'm no wizard, but this worked for me in a similar situation,
James so fingers crossed it might work for you too

James Change the input stack size by editing your texmf.cnf file.
James Mine is in /etc/texmf/texmf.cnf, but yours might be different.
James Look in that file for the line that says: stack_size=300

Note that this error often comes from very different reasons. I would
be surprised in this case that increasing capacity is the solution.

JMarc




Re: TeX capacity exceeded

2002-05-30 Thread magni

Thanks for your help, to all of you.
I doubted too that changing the stack size would help, I did it as James 
suggested and it didnt help.
What I find more irritating is that LyX seems a pretty clean project, with 
many years of refinements. Why should this happen in some unmodified 
templates provided by the program?
Oh, but possibly it's just me? Can somebody tell me what happens to the rest 
of the world when compiling that template?

Thanks!

Alessandro

On Thursday 30 May 2002 12:47, you wrote:
  James == James Vernon [EMAIL PROTECTED] writes:

 James I'm no wizard, but this worked for me in a similar situation,
 James so fingers crossed it might work for you too

 James Change the input stack size by editing your texmf.cnf file.
 James Mine is in /etc/texmf/texmf.cnf, but yours might be different.
 James Look in that file for the line that says: stack_size=300

 Note that this error often comes from very different reasons. I would
 be surprised in this case that increasing capacity is the solution.

 JMarc

-- 
~~
\  Dr.Alessandro Magni
/   IEN Galileo Ferraris
\   Strada delle Cacce 91, 10135 Torino (ITALIA)
/   Email [EMAIL PROTECTED]
\   Fax 0039-011-3919782
/   Tel 0039-011-3919 821 
\   URL http://www.ien.it/~magni
~~



Re: TeX capacity exceeded

2002-05-30 Thread Andre Poenitz

On Thu, May 30, 2002 at 01:31:16PM +0200, magni wrote:
 Thanks for your help, to all of you.
 I doubted too that changing the stack size would help, I did it as James 
 suggested and it didnt help.
 What I find more irritating is that LyX seems a pretty clean project, with 
 many years of refinements. Why should this happen in some unmodified 
 templates provided by the program?
 Oh, but possibly it's just me? Can somebody tell me what happens to the rest 
 of the world when compiling that template?

It produces error.

A wild guess is that none of the developper uses that template so it got a
bit rotten in the course of events...

Andre'

PS: Please quote only the parts of the message you are refering to.

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: TeX capacity exceeded

2002-05-30 Thread Wayan


On 30 May 2002, Jean-Marc Lasgouttes wrote:

 Note that this error often comes from very different reasons. I would
 be surprised in this case that increasing capacity is the solution.

adding some \clearpage command in some node or using afterpage package
(If I do not forget the command) are also the possible solution. Dekel had
explained more detail about it few month ago... Search through
mailing-list archive could be found.

Wayan




TeX capacity exceeded

2002-05-30 Thread magni

I just installed the new version 1.2.0, and although it works fairly well I 
have a big problem with RevTeX. The install went clean, BTW.
Whenever I make a NewFromTemplate-RevTeX4, and compile it without modifying 
it, I get 4 errors the first being: 
TeX capacity exceeded, sorry (input stack size=300). If you really absolutely 
need more capacity, you can ask a wizard to enlarge me.
Now, not being a wizard myself, my only hope is to find one among you ;-)

Oh, NewFromTemplate-RevTeX gives me 29 similar errors, just at the beginning 
of the document

-- 
~~
\  Dr.Alessandro Magni
/   IEN Galileo Ferraris
\   Strada delle Cacce 91, 10135 Torino (ITALIA)
/   Email [EMAIL PROTECTED]
\   Fax 0039-011-3919782
/   Tel 0039-011-3919 821 
\   URL http://www.ien.it/~magni
~~



Re: TeX capacity exceeded

2002-05-30 Thread James Vernon

I'm no wizard, but this worked for me in a similar situation, so fingers 
crossed it might work for you too

Change the input stack size by editing your texmf.cnf file. Mine is in 
/etc/texmf/texmf.cnf, but yours might be different. Look in that file 
for the line that says:
stack_size=300

and change it to something bigger ( I don't know how much! ).
The wizardry bit is that you have to run `fmtutil -all' to update your 
TeX installation to use the new stack_size.

Incidentally, my Debian distribution says I'm not allowed to edit 
texmf.cnf directly, I have to edit stack_size in the file 
/etc/texmf/texmf.d/95NonPath/ and then run update-texmf before I run 
fmtutil.

James



magni wrote:

I just installed the new version 1.2.0, and although it works fairly well I 
have a big problem with RevTeX. The install went clean, BTW.
Whenever I make a NewFromTemplate-RevTeX4, and compile it without modifying 
it, I get 4 errors the first being: 
TeX capacity exceeded, sorry (input stack size=300). If you really absolutely 
need more capacity, you can ask a wizard to enlarge me.
Now, not being a wizard myself, my only hope is to find one among you ;-)

Oh, NewFromTemplate-RevTeX gives me 29 similar errors, just at the beginning 
of the document

  






Re: TeX capacity exceeded

2002-05-30 Thread Jean-Marc Lasgouttes

 James == James Vernon [EMAIL PROTECTED] writes:

James I'm no wizard, but this worked for me in a similar situation,
James so fingers crossed it might work for you too

James Change the input stack size by editing your texmf.cnf file.
James Mine is in /etc/texmf/texmf.cnf, but yours might be different.
James Look in that file for the line that says: stack_size=300

Note that this error often comes from very different reasons. I would
be surprised in this case that increasing capacity is the solution.

JMarc




Re: TeX capacity exceeded

2002-05-30 Thread magni

Thanks for your help, to all of you.
I doubted too that changing the stack size would help, I did it as James 
suggested and it didnt help.
What I find more irritating is that LyX seems a pretty clean project, with 
many years of refinements. Why should this happen in some unmodified 
templates provided by the program?
Oh, but possibly it's just me? Can somebody tell me what happens to the rest 
of the world when compiling that template?

Thanks!

Alessandro

On Thursday 30 May 2002 12:47, you wrote:
  James == James Vernon [EMAIL PROTECTED] writes:

 James I'm no wizard, but this worked for me in a similar situation,
 James so fingers crossed it might work for you too

 James Change the input stack size by editing your texmf.cnf file.
 James Mine is in /etc/texmf/texmf.cnf, but yours might be different.
 James Look in that file for the line that says: stack_size=300

 Note that this error often comes from very different reasons. I would
 be surprised in this case that increasing capacity is the solution.

 JMarc

-- 
~~
\  Dr.Alessandro Magni
/   IEN Galileo Ferraris
\   Strada delle Cacce 91, 10135 Torino (ITALIA)
/   Email [EMAIL PROTECTED]
\   Fax 0039-011-3919782
/   Tel 0039-011-3919 821 
\   URL http://www.ien.it/~magni
~~



Re: TeX capacity exceeded

2002-05-30 Thread Andre Poenitz

On Thu, May 30, 2002 at 01:31:16PM +0200, magni wrote:
 Thanks for your help, to all of you.
 I doubted too that changing the stack size would help, I did it as James 
 suggested and it didnt help.
 What I find more irritating is that LyX seems a pretty clean project, with 
 many years of refinements. Why should this happen in some unmodified 
 templates provided by the program?
 Oh, but possibly it's just me? Can somebody tell me what happens to the rest 
 of the world when compiling that template?

It produces error.

A wild guess is that none of the developper uses that template so it got a
bit rotten in the course of events...

Andre'

PS: Please quote only the parts of the message you are refering to.

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: TeX capacity exceeded

2002-05-30 Thread Wayan


On 30 May 2002, Jean-Marc Lasgouttes wrote:

 Note that this error often comes from very different reasons. I would
 be surprised in this case that increasing capacity is the solution.

adding some \clearpage command in some node or using afterpage package
(If I do not forget the command) are also the possible solution. Dekel had
explained more detail about it few month ago... Search through
mailing-list archive could be found.

Wayan




TeX capacity exceeded

2002-05-30 Thread magni

I just installed the new version 1.2.0, and although it works fairly well I 
have a big problem with RevTeX. The install went clean, BTW.
Whenever I make a NewFromTemplate->RevTeX4, and compile it without modifying 
it, I get 4 errors the first being: 
TeX capacity exceeded, sorry (input stack size=300). If you really absolutely 
need more capacity, you can ask a wizard to enlarge me.
Now, not being a wizard myself, my only hope is to find one among you ;-)

Oh, NewFromTemplate->RevTeX gives me 29 similar errors, just at the beginning 
of the document

-- 
~~
\  Dr.Alessandro Magni
/   IEN Galileo Ferraris
\   Strada delle Cacce 91, 10135 Torino (ITALIA)
/   Email [EMAIL PROTECTED]
\   Fax 0039-011-3919782
/   Tel 0039-011-3919 821 
\   URL http://www.ien.it/~magni
~~



Re: TeX capacity exceeded

2002-05-30 Thread James Vernon

I'm no wizard, but this worked for me in a similar situation, so fingers 
crossed it might work for you too

Change the input stack size by editing your texmf.cnf file. Mine is in 
/etc/texmf/texmf.cnf, but yours might be different. Look in that file 
for the line that says:
stack_size=300

and change it to something bigger ( I don't know how much! ).
The wizardry bit is that you have to run `fmtutil -all' to update your 
TeX installation to use the new stack_size.

Incidentally, my Debian distribution says I'm not allowed to edit 
texmf.cnf directly, I have to edit stack_size in the file 
/etc/texmf/texmf.d/95NonPath/ and then run update-texmf before I run 
fmtutil.

James



magni wrote:

>I just installed the new version 1.2.0, and although it works fairly well I 
>have a big problem with RevTeX. The install went clean, BTW.
>Whenever I make a NewFromTemplate->RevTeX4, and compile it without modifying 
>it, I get 4 errors the first being: 
>TeX capacity exceeded, sorry (input stack size=300). If you really absolutely 
>need more capacity, you can ask a wizard to enlarge me.
>Now, not being a wizard myself, my only hope is to find one among you ;-)
>
>Oh, NewFromTemplate->RevTeX gives me 29 similar errors, just at the beginning 
>of the document
>
>  
>





  1   2   >