Re: TeX capacity exceeded: sorry, main memory [main memory size=1500000]

2009-03-21 Thread Jürgen Spitzmüller
rgheck wrote:
  Sure, but the ERT should not be in the Part style anyway.
  Put it alone on a standard style line and compilation works all right.
 
   

 But then, so far as I can see, the ERT is on the next page, and the
 attempt to turn off the page number fails.

 Granted, this should really be done in the document class.

Since it's a KOMA class, the OP could simply use

\renewcommand*{\partpagestyle}{empty}

in preamble.

Jürgen


Re: TeX capacity exceeded: sorry, main memory [main memory size=1500000]

2009-03-21 Thread Waluyo Adi Siswanto
On Sat, 2009-03-21 at 09:12 +0100, Jürgen Spitzmüller wrote:
 rgheck wrote:
   Sure, but the ERT should not be in the Part style anyway.
   Put it alone on a standard style line and compilation works all right.
  

 
  But then, so far as I can see, the ERT is on the next page, and the
  attempt to turn off the page number fails.
 
  Granted, this should really be done in the document class.
 
 Since it's a KOMA class, the OP could simply use
 
 \renewcommand*{\partpagestyle}{empty}
 
 in preamble.
 
 Jürgen

Yes  that's it. solved
Thank you... 

PS.: perhaps the error message is not the appropriate one? 

/was/



Re: TeX capacity exceeded: sorry, main memory [main memory size=1500000]

2009-03-21 Thread Jürgen Spitzmüller
Waluyo Adi Siswanto wrote:
 PS.: perhaps the error message is not the appropriate one?

Maybe. But it is generated by TeX...

Jürgen


Re: TeX capacity exceeded: sorry, main memory [main memory size=1500000]

2009-03-21 Thread Jürgen Spitzmüller
rgheck wrote:
> > Sure, but the ERT should not be in the Part style anyway.
> > Put it alone on a standard style line and compilation works all right.
> >
> >  
>
> But then, so far as I can see, the ERT is on the next page, and the
> attempt to turn off the page number fails.
>
> Granted, this should really be done in the document class.

Since it's a KOMA class, the OP could simply use

\renewcommand*{\partpagestyle}{empty}

in preamble.

Jürgen


Re: TeX capacity exceeded: sorry, main memory [main memory size=1500000]

2009-03-21 Thread Waluyo Adi Siswanto
On Sat, 2009-03-21 at 09:12 +0100, Jürgen Spitzmüller wrote:
> rgheck wrote:
> > > Sure, but the ERT should not be in the Part style anyway.
> > > Put it alone on a standard style line and compilation works all right.
> > >
> > >  
> >
> > But then, so far as I can see, the ERT is on the next page, and the
> > attempt to turn off the page number fails.
> >
> > Granted, this should really be done in the document class.
> 
> Since it's a KOMA class, the OP could simply use
> 
> \renewcommand*{\partpagestyle}{empty}
> 
> in preamble.
> 
> Jürgen

Yes  that's it. 
Thank you... 

PS.: perhaps the error message is not the appropriate one? 

/was/



Re: TeX capacity exceeded: sorry, main memory [main memory size=1500000]

2009-03-21 Thread Jürgen Spitzmüller
Waluyo Adi Siswanto wrote:
> PS.: perhaps the error message is not the appropriate one?

Maybe. But it is generated by TeX...

Jürgen


Re: TeX capacity exceeded: sorry, main memory [main memory size=1500000]

2009-03-20 Thread rgheck

Waluyo Adi Siswanto wrote:

Actually I have a problem (in LyX 1.6.2) when I want to set the page
without number under the Part environment using ERT
\thispagestyle{empty}. The document class is book(koma-script).
What a surprise, View PDF, LyX error appears TeX capacity exceeded:
sorry, main memory [main memory size=150]

As I remember I did not have a problem in older version (1.5.5). Then
I create a simple example to test the problem (attachment
TestPart-1.5.5.lyx). OK It works perfectly and even this file can be
read by 1.6.2 and see the PDF without error.

To reproduce the error then I create a similar file in 1.6.2, and it
shows the error. (attachement TestPart-1.6.2.lyx). This file cannot
output PDF and shows the error.

  
The difference is that hyperref is turned on in the 1.6.2 version. If 
you turn it off, you don't get the error.


rh



Re: TeX capacity exceeded: sorry, main memory [main memory size=1500000]

2009-03-20 Thread Waluyo Adi Siswanto


 The difference is that hyperref is turned on in the 1.6.2 version. If 
 you turn it off, you don't get the error.
 
 rh
 

It doesn't help. It works if the environment changed to Part* instead of
Part. So in Part* it is possible to have a clean page without page
number, but Part would be difficult. And to me the error message is
unusual as it is pointing to TeX capacity exceeded?
Perhaps for the time being I can use Part* for a quick solution.

Regards / was



Re: TeX capacity exceeded: sorry, main memory [main memory size=1500000]

2009-03-20 Thread Jürgen Spitzmüller
Waluyo Adi Siswanto wrote:
 It doesn't help. It works if the environment changed to Part* instead of
 Part. So in Part* it is possible to have a clean page without page
 number, but Part would be difficult. And to me the error message is
 unusual as it is pointing to TeX capacity exceeded?
 Perhaps for the time being I can use Part* for a quick solution.

Try if using InsertShort Title within Part (where you repeat the Part title, 
but not the ERT in the shorttitle inset) helps.

(BTW I do not get the error; maybe an upgrade of the KOMA package helps as 
well).

Jürgen


Re: TeX capacity exceeded: sorry, main memory [main memory size=1500000]

2009-03-20 Thread Jean-Pierre Chrétien
rgheck rgh...@... writes:

 
 Waluyo Adi Siswanto wrote:
  Actually I have a problem (in LyX 1.6.2) when I want to set the page
  without number under the Part environment using ERT
  \thispagestyle{empty}. The document class is book(koma-script).
[...]
 The difference is that hyperref is turned on in the 1.6.2 version. If 
 you turn it off, you don't get the error.

Sure, but the ERT should not be in the Part style anyway.
Put it alone on a standard style line and compilation works all right.

-- 
Jean-Pierre




Re: TeX capacity exceeded: sorry, main memory [main memory size=1500000]

2009-03-20 Thread rgheck

Jean-Pierre Chrétien wrote:

rgheck rgh...@... writes:

  

Waluyo Adi Siswanto wrote:


Actually I have a problem (in LyX 1.6.2) when I want to set the page
without number under the Part environment using ERT
\thispagestyle{empty}. The document class is book(koma-script).
  

[...]
  
The difference is that hyperref is turned on in the 1.6.2 version. If 
you turn it off, you don't get the error.



Sure, but the ERT should not be in the Part style anyway.
Put it alone on a standard style line and compilation works all right.

  
But then, so far as I can see, the ERT is on the next page, and the 
attempt to turn off the page number fails.


Granted, this should really be done in the document class.

rh




Re: TeX capacity exceeded: sorry, main memory [main memory size=1500000]

2009-03-20 Thread rgheck

Waluyo Adi Siswanto wrote:

Actually I have a problem (in LyX 1.6.2) when I want to set the page
without number under the Part environment using ERT
\thispagestyle{empty}. The document class is book(koma-script).
What a surprise, View PDF, LyX error appears "TeX capacity exceeded:
sorry, main memory [main memory size=150]"

As I remember I did not have a problem in older version (1.5.5). Then
I create a simple example to test the problem (attachment
TestPart-1.5.5.lyx). OK It works perfectly and even this file can be
read by 1.6.2 and see the PDF without error.

To reproduce the error then I create a similar file in 1.6.2, and it
shows the error. (attachement TestPart-1.6.2.lyx). This file cannot
output PDF and shows the error.

  
The difference is that hyperref is turned on in the 1.6.2 version. If 
you turn it off, you don't get the error.


rh



Re: TeX capacity exceeded: sorry, main memory [main memory size=1500000]

2009-03-20 Thread Waluyo Adi Siswanto

> >   
> The difference is that hyperref is turned on in the 1.6.2 version. If 
> you turn it off, you don't get the error.
> 
> rh
> 

It doesn't help. It works if the environment changed to Part* instead of
Part. So in Part* it is possible to have a clean page without page
number, but Part would be difficult. And to me the error message is
unusual as it is pointing to TeX capacity exceeded?
Perhaps for the time being I can use Part* for a quick solution.

Regards / was



Re: TeX capacity exceeded: sorry, main memory [main memory size=1500000]

2009-03-20 Thread Jürgen Spitzmüller
Waluyo Adi Siswanto wrote:
> It doesn't help. It works if the environment changed to Part* instead of
> Part. So in Part* it is possible to have a clean page without page
> number, but Part would be difficult. And to me the error message is
> unusual as it is pointing to TeX capacity exceeded?
> Perhaps for the time being I can use Part* for a quick solution.

Try if using Insert>Short Title within Part (where you repeat the Part title, 
but not the ERT in the shorttitle inset) helps.

(BTW I do not get the error; maybe an upgrade of the KOMA package helps as 
well).

Jürgen


Re: TeX capacity exceeded: sorry, main memory [main memory size=1500000]

2009-03-20 Thread Jean-Pierre Chrétien
rgheck  writes:

> 
> Waluyo Adi Siswanto wrote:
> > Actually I have a problem (in LyX 1.6.2) when I want to set the page
> > without number under the Part environment using ERT
> > \thispagestyle{empty}. The document class is book(koma-script).
[...]
> The difference is that hyperref is turned on in the 1.6.2 version. If 
> you turn it off, you don't get the error.

Sure, but the ERT should not be in the Part style anyway.
Put it alone on a standard style line and compilation works all right.

-- 
Jean-Pierre




Re: TeX capacity exceeded: sorry, main memory [main memory size=1500000]

2009-03-20 Thread rgheck

Jean-Pierre Chrétien wrote:

rgheck  writes:

  

Waluyo Adi Siswanto wrote:


Actually I have a problem (in LyX 1.6.2) when I want to set the page
without number under the Part environment using ERT
\thispagestyle{empty}. The document class is book(koma-script).
  

[...]
  
The difference is that hyperref is turned on in the 1.6.2 version. If 
you turn it off, you don't get the error.



Sure, but the ERT should not be in the Part style anyway.
Put it alone on a standard style line and compilation works all right.

  
But then, so far as I can see, the ERT is on the next page, and the 
attempt to turn off the page number fails.


Granted, this should really be done in the document class.

rh




TeX capacity exceeded: sorry, main memory [main memory size=1500000]

2009-03-19 Thread Waluyo Adi Siswanto
Actually I have a problem (in LyX 1.6.2) when I want to set the page
without number under the Part environment using ERT
\thispagestyle{empty}. The document class is book(koma-script).
What a surprise, View PDF, LyX error appears TeX capacity exceeded:
sorry, main memory [main memory size=150]

As I remember I did not have a problem in older version (1.5.5). Then
I create a simple example to test the problem (attachment
TestPart-1.5.5.lyx). OK It works perfectly and even this file can be
read by 1.6.2 and see the PDF without error.

To reproduce the error then I create a similar file in 1.6.2, and it
shows the error. (attachement TestPart-1.6.2.lyx). This file cannot
output PDF and shows the error.

I am in Ubuntu 8.04

-- 
was


TestPart-1.5.5.lyx
Description: application/lyx


TestPart-1.6.2.lyx
Description: application/lyx


TeX capacity exceeded: sorry, main memory [main memory size=1500000]

2009-03-19 Thread Waluyo Adi Siswanto
Actually I have a problem (in LyX 1.6.2) when I want to set the page
without number under the Part environment using ERT
\thispagestyle{empty}. The document class is book(koma-script).
What a surprise, View PDF, LyX error appears "TeX capacity exceeded:
sorry, main memory [main memory size=150]"

As I remember I did not have a problem in older version (1.5.5). Then
I create a simple example to test the problem (attachment
TestPart-1.5.5.lyx). OK It works perfectly and even this file can be
read by 1.6.2 and see the PDF without error.

To reproduce the error then I create a similar file in 1.6.2, and it
shows the error. (attachement TestPart-1.6.2.lyx). This file cannot
output PDF and shows the error.

I am in Ubuntu 8.04

-- 
was


TestPart-1.5.5.lyx
Description: application/lyx


TestPart-1.6.2.lyx
Description: application/lyx