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



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-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

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 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



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 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

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-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

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 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: Re: TeX capacity exceeded

2002-05-30 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]




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




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 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 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 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-01-31 Thread Myriam Abramson


> > I've set a document class for a paper to the llncs (Springer)
> > class. Everything seems fine except for that error I get when trying
> > to view it:
> >   TeX capacity exceeded, sorry[save size=4000]
> >   ...
> >   If you really absolutely need more capacity
> >   you can ask a wizard to enlarge me. Okay, what wizard and what
> > does this error means?
> 

> in most cases the problem is in the preamble, a forgotten
> 
> closing parenthesis or an endless loop, if a command
> calls itself.
> 
Thanks. I had a subparagraph without a paragraph! It worked under
another document class but not this one. 


   myriam



Re: Tex capacity exceeded

2002-01-30 Thread Herbert Voss



Myriam Abramson wrote:

> Hi!
> 
> I've set a document class for a paper to the llncs (Springer)
> class. Everything seems fine except for that error I get when trying
> to view it:
> 
>   TeX capacity exceeded, sorry[save size=4000]
>   ...
>   If you really absolutely need more capacity
>   you can ask a wizard to enlarge me. 
> 
> Okay, what wizard and what does this error means?


in most cases the problem is in the preamble, a forgotten

closing parenthesis or an endless loop, if a command
calls itself.

Herbert

 


-- 
http://www.lyx.org/help/




Re: tex capacity exceeded

2001-12-04 Thread Yannick Patois

Hi,

On Sun, 2 Dec 2001, Yvonne Becherini - Gruppo II - MACRO wrote:
> Hallo,
> my problem was that I was including a tex figure generated by pstoedit.
> This picture overruns TeX's memory capacity.

Most likely this is due to a too long line (use of DOS line breaks ?) in
the postscript.

I remember sawing a small toolthat could solve this, but most likely 'vi'
would be enough.

Yannick







Re: tex capacity exceeded

2001-12-02 Thread Yvonne Becherini - Gruppo II - MACRO

Hallo,
my problem was that I was including a tex figure generated by pstoedit. 
This picture overruns TeX's memory capacity.

Many thanks to Rich and Herbert,

Yvonne  



Re: tex capacity exceeded

2001-12-02 Thread Herbert Voss



Yvonne Becherini wrote:

> Hi all,
> I got this message while compiling:
> 
> ! TeX capacity exceeded, sorry [main memory size=350001]
> 
> what should I do?


I suppose that there is amissing parenthesis in latex preamble.


Herbert




-- 
http://www.lyx.org/help/




Re: TeX capacity exceeded???

2001-01-29 Thread Yann Collete

Hello,

Maybe you have forgotten to close a parenthesis in your
latex preamble ?
Sometimes, I've got the same error message due to a missing
parenthesis.

YC

> Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
> X-No-Archive: yes
> List-Post: <mailto:[EMAIL PROTECTED]>
> List-Help: <mailto:[EMAIL PROTECTED]>
> List-Unsubscribe: 
<mailto:[EMAIL PROTECTED]>
> Delivered-To: mailing list [EMAIL PROTECTED]
> Date: Mon, 29 Jan 2001 10:20:54 +0100 (MET)
> From: Herbert Voss <[EMAIL PROTECTED]>
> To: Chris Schulbert <[EMAIL PROTECTED]>
> cc: Lyx-Users <[EMAIL PROTECTED]>
> Subject: Re: TeX capacity exceeded???
> MIME-Version: 1.0
> 
> 
> 
> On Mon, 29 Jan 2001, Chris Schulbert wrote:
> 
> > Hi!
> >
> > Using LyX 1.1.6 on SuSE7 (Intel) I get the following error on
> > postscript-view:
> >
> > Tex capacity exceeded, sorry [input stack size=300]
> > \onehalfspacing
> > If you really need more capacity, you can ask a wizard to enlarge me.
> >
> > This is only the first of 4 error-boxes. The following complain about a
> > missing } and \begin{document}...
> >
> > If I export to LaTeX and use the comand line, the doc is translated
> > correctly to .ps
> 
> sounds curious, because lyx runs the text with latex.,
> 
> the "standard-error" for this is a missing parenthesis.
> have alook at it.
> 
> Herbert
> 




Re: TeX capacity exceeded???

2001-01-29 Thread Herbert Voss



On Mon, 29 Jan 2001, Chris Schulbert wrote:

> Hi!
>
> Using LyX 1.1.6 on SuSE7 (Intel) I get the following error on
> postscript-view:
>
> Tex capacity exceeded, sorry [input stack size=300]
>   \onehalfspacing
> If you really need more capacity, you can ask a wizard to enlarge me.
>
> This is only the first of 4 error-boxes. The following complain about a
> missing } and \begin{document}...
>
> If I export to LaTeX and use the comand line, the doc is translated
> correctly to .ps

sounds curious, because lyx runs the text with latex.,

the "standard-error" for this is a missing parenthesis.
have alook at it.

Herbert




Re: !TeX capacity exceeded, sorry -- HELP!

1999-06-23 Thread Anonymous


On 23-Jun-99 Richard A. Bilonick wrote:
> Jean-Marc,
> 
> Thanks for the suggestion.
> 
> Here is what I have done. I have one very large table. 
> I wanted to place it in one table float. But when I 
> check long table (to cause it to break across pages), 
> it never splits across pages. So instead I made 8 
> separate tables by hand. After doing this, when I tried 
> to create a Postscript view, I only got two pages 
> instead of 18 pages. Then I looked at the log to see 
> what was happening. So now I've broken the document 
> into three parts which is OK but not ideal.
> 
> I hope that if I don't use the table float, the table 
> will break across pages.

Ok the problem here is the float. A float cannot be broken over more
pages, so if you have a multipage tabular (long table), then you cannot
put it into a float. If you have the tabular outside the float then
it should break correctly over all pages (if you check long table on).

Greets Jürgen

P.S.: If you need the floats (because you would like to number you tabulars
  then try to put in TeX-Mode a \showpage command between the single
  table-floats, this forces LaTeX to show the float now and not wait
  till it processed all of them which then produces the overflow.

-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

Dr. Jürgen Vigna  E-Mail: [EMAIL PROTECTED]
Gerbergasse 60Tel:+39-0471-450260
I-39100 Bozen Fax:+39-0471-970042
ITALY Web:http://www.sad.it/~jug

Now I think I just reached the state of HYPERTENSION that comes JUST
BEFORE you see the TOTAL at the SAFEWAY CHECKOUT COUNTER!

-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._



Re: !TeX capacity exceeded, sorry -- HELP!

1999-06-23 Thread Anonymous

> "Richard" == Richard A Bilonick <[EMAIL PROTECTED]> writes:

Richard> Jean-Marc, Thanks for the suggestion.

Richard> Here is what I have done. I have one very large table.  I
Richard> wanted to place it in one table float. But when I check long
Richard> table (to cause it to break across pages), it never splits
Richard> across pages. So instead I made 8 separate tables by
Richard> hand. After doing this, when I tried to create a Postscript
Richard> view, I only got two pages instead of 18 pages. Then I looked
Richard> at the log to see what was happening. So now I've broken the
Richard> document into three parts which is OK but not ideal.

Richard> I hope that if I don't use the table float, the table will
Richard> break across pages.

I think it will, although I do not have much experience with tables.

JMarc



Re: !TeX capacity exceeded, sorry -- HELP!

1999-06-23 Thread Anonymous

Jean-Marc,

Thanks for the suggestion.

Here is what I have done. I have one very large table. 
I wanted to place it in one table float. But when I 
check long table (to cause it to break across pages), 
it never splits across pages. So instead I made 8 
separate tables by hand. After doing this, when I tried 
to create a Postscript view, I only got two pages 
instead of 18 pages. Then I looked at the log to see 
what was happening. So now I've broken the document 
into three parts which is OK but not ideal.

I hope that if I don't use the table float, the table 
will break across pages.

Rick Bilonick

On Wed, 23 Jun 1999 14:22:24 +0200 (MET DST), Jean-Marc 
Lasgouttes wrote:

>> "Richard" == Richard A Bilonick <[EMAIL PROTECTED]> 
writes:
>
>Richard> I am getting the following error in LyX's 
LaTeX Log for an 18
>Richard> page document (with many tables):
>
>Richard> ! TeX capacity exceeded, sorry [main memory 
size=263001]
>Richard>  \hkip \tabcolsep {\hskip 
1sp\ignorespaces I4609 E
>Richard> LEK,MARTIN & If you really absolutely need 
more capacity, you
>Richard> can ask a wizard to enlarge me.
>
>Richard> Is this a LyX problem or a TeX problem?
>
>This probably a LaTeX problem. I am surprised that 
this happens. Did
>you put your tables in table floats (I guess yes, 
since you say they
>are numberered)? Then you could try to put the tables 
in their own
>pages (Layout->Document, Float_options=="p") and see 
whether it helps.
>
>JMarc




Re: !TeX capacity exceeded, sorry -- HELP!

1999-06-23 Thread Anonymous

> "Richard" == Richard A Bilonick <[EMAIL PROTECTED]> writes:

Richard> I am getting the following error in LyX's LaTeX Log for an 18
Richard> page document (with many tables):

Richard> ! TeX capacity exceeded, sorry [main memory size=263001]
Richard>  \hkip \tabcolsep {\hskip 1sp\ignorespaces I4609 E
Richard> LEK,MARTIN & If you really absolutely need more capacity, you
Richard> can ask a wizard to enlarge me.

Richard> Is this a LyX problem or a TeX problem?

This probably a LaTeX problem. I am surprised that this happens. Did
you put your tables in table floats (I guess yes, since you say they
are numberered)? Then you could try to put the tables in their own
pages (Layout->Document, Float_options=="p") and see whether it helps.

JMarc



Re: TeX capacity exceeded!

1999-04-08 Thread Jean-Marc Lasgouttes

> "nbecker" == nbecker  <[EMAIL PROTECTED]> writes:

> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
> "nbecker" == nbecker  <[EMAIL PROTECTED]> writes:
nbecker> --Multipart_Thu_Mar_25_11:45:05_1999-1 Content-Type:
nbecker> text/plain; charset=US-ASCII

nbecker> This small file causes TeX capacity exceeded (on unix - not a
nbecker> small TeX) when run under LyX - but the same exported TeX
nbecker> file works fine.

I really do not understand where the problem is... All I can say is
that the error occurs in LaTeX error function (!), which is certainly
a LaTeX bug, but I can't tell why there is an error in the first
place...

Sorry.

JMarc



Re: TeX capacity exceeded!

1999-04-08 Thread nbecker

> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:

> "nbecker" == nbecker  <[EMAIL PROTECTED]> writes:
nbecker> --Multipart_Thu_Mar_25_11:45:05_1999-1 Content-Type:
nbecker> text/plain; charset=US-ASCII

nbecker> This small file causes TeX capacity exceeded (on unix - not a
nbecker> small TeX) when run under LyX - but the same exported TeX
nbecker> file works fine.

Jean-Marc> Hello,

Jean-Marc> Unfortunately I could not test for this problem, since your file needs
Jean-Marc> iom.sty, which I certainly do not have...

Sorry.

%Memo for Comsat by N. Becker 11/29/88
%Will make a cover page with Memorandum, task code, date, from, to,
%subject at the top.  Below will be cover text.  At the bottom will
%be the distribution list.  No other text will appear on this page,
%and the next page will be numbered 1.
%
%Usage: Before any other printable text,
%   Set to, from, subject, date, taskcode, and distr. list using
%   macros \setto{}, \setfrom{}, \setsubject{}, \setdate{},
%   \settaskcode{}, and \setdistr{}.  Each of these is optional!
%   The date will default to \today.  Others will simply not be
%   present if not specified.  Text on the cover is set by
%   \setcover{}.
%   inputs to \setdistr{} are delimited by \\ like:
%   \setdist{me\\you\\anyoneelseyoucanthinkof}
%   The page will be produced by the macro \makecover.
%added 12/13:
%   if \setcover is used only cover text will be on first page,
%   remaining text will be forced to subsequent pages.  If
%   \setcover is not used text will not be forced to subsequent
%   pages.
%added 10/9/90:
%   The text for distribution header is defined by the macro
%   \Distribution.  The default is `cc:'.
\newif\iftoset
\newif\iffromset
\newif\ifrevisionset
\newif\ifsubjectset
\newif\iftaskcodeset
\newif\ifdistrset
\newif\ifcoverset
\newif\ifdocnumset
\newif\iftaskanddocset
\newif\iftaskordocset

\def\setto#1{\def\totext{#1}\tosettrue}
\def\setfrom#1{\def\fromtext{#1}\fromsettrue}
\def\setrevision#1{\def\revisiontext{#1}\revisionsettrue}
\def\setsubject#1{\def\subjecttext{#1}\subjectsettrue}
\def\settaskcode#1{\def\tasktext{#1}\taskcodesettrue}
\def\setdate#1{\def\datetext{#1}}
\setdate{\today}
\def\setdistr#1{\def\distlist{#1}\distrsettrue}
\def\setdocnum#1{\def\docnum{#1}\docnumsettrue}

%makecover
\def\makecover{\setcounter{page}{0}\thispagestyle{empty}\maketop\maketofrom\makecovertext%
\ifdistrset\makedist\fi\ifcoverset\clearpage\fi}

%maketop
\def\maketop{
\iftaskcodeset\ifdocnumset\taskanddocsettrue\fi\fi
\iftaskcodeset\taskordocsettrue\else\typeout{iom::Warning taskcode not set}\fi
\ifdocnumset\taskordocsettrue\else\typeout{iom::Warning docnumber not set}\fi
\hfill\begin{tabular}[b]{@{}c@{}}
{\huge\bf MEMORANDUM}
\iftaskordocset\\\fi
\iftaskanddocset\tasktext\hfill\docnum\else
\iftaskcodeset\tasktext\else\ifdocnumset\docnum\fi\fi\fi
\end{tabular}
\bigskip}

\newlength{\subboxwidth}
\newlength{\subboxrest}
%maketofrom
\def\maketofrom{\ifsubjectset\settowidth{\subboxwidth}{Subject: \hspace{2\tabcolsep}}
\setlength{\subboxrest}{\textwidth}
\addtolength{\subboxrest}{-\subboxwidth}
\fi\begin{flushleft}\begin{tabular}{@{}lp{\subboxrest}@{}}
\iftoset To: &\totext\\ \fi
\iffromset From:  &\fromtext\\ \fi
Date: &\datetext\\
\ifrevisionset Revision: &\revisiontext\\ \fi
\ifsubjectset Subject: &\subjecttext\fi
\end{tabular}\end{flushleft}
\hrule\par\bigskip\par}

%makecovertext
\long\def\setcover#1{\def\covertext{#1}\coversettrue}
\def\makecovertext{\covertext}
\def\covertext{}% initialization

%makedist
\def\Distribution{cc:}
\def\makedist{\begin{table}[b]
\def\\{\cr&}
\halign{##\hfil&\quad##\hfil\cr \Distribution&\distlist\cr}
\end{table}}



Re: TeX capacity exceeded!

1999-04-08 Thread Jean-Marc Lasgouttes

> "nbecker" == nbecker  <[EMAIL PROTECTED]> writes:

nbecker> --Multipart_Thu_Mar_25_11:45:05_1999-1 Content-Type:
nbecker> text/plain; charset=US-ASCII

nbecker> This small file causes TeX capacity exceeded (on unix - not a
nbecker> small TeX) when run under LyX - but the same exported TeX
nbecker> file works fine.

Hello,

Unfortunately I could not test for this problem, since your file needs
iom.sty, which I certainly do not have...

JMarc