SV: Many huge pictures - Memory problems?

2012-02-11 Thread Ingar Pareliussen
Hi
Without the file it is difficult to know precisely what is going on. I 
would say that I do not think it is likely that it is a memory problem, 
at least my experience is that lyx and latex work fine producing books 
with many hundreds of images (tif in the 100MB range), making 
pdfs of 10GBs... :).  But then again, I might have been lucky :)

(./000-sdl-buch.out
! Undefined control sequence.
l.47 \BOOKM

This is Latex telling you that you have a command \BOOKM 
that it does not know. 

3. To compile just a part but to tell LyX it should include counter and
references results in the same error.

I guess this is a good hint. My money would be on that in one of your
references have a included something you shouldn't. :) And then again
this should have been triggered in draft mode as well... Could it be 
something in your file-names or file paths? 

And then again it might me something else, as I said it is difficult
to know without your file. And then I guess you should try, as always,
reproducing the error with the smallest possible file.

Also you could try exporting to latex and run it through latex 
manually, this might give you some more information
as well...

Ingar





Re: SV: Many huge pictures - Memory problems?

2012-02-11 Thread Peter Baumgartner
Ingar,

Thanks for your answer.

You mentioned that you had no problems with very huge pictures. Perhaps it
has to do with the kind of compilation? I compile with pdflatex. Maybe I
should use another compilation but I'm afraid of (small) changes in
hyphenation or in the very critical positions of my pictures on the page
layout. 

***

In the meanwhile I have reorganised my file structure so that I've got less
but larger files. -- No change.

Than I grouped pictures (in these larger files) and set the latex option
draft mode of all pictures in one of these large files. -- This helped!!

I can now produce all my material in two runs where I set alternatively
pictures of two different large files to draft mode and combine the two pdf
files of these two different runs of compilations with Adobe Professional to
one book file. -- Not very comfortable but I hope it will work for the
publisher.

I think this change with pictures in draft mode is another clue that I ran
in memory problems because of my problems.

Peter




Re: SV: Many huge pictures - Memory problems?

2012-02-11 Thread David L. Johnson

On 02/11/2012 01:36 PM, Peter Baumgartner wrote:

Ingar,

Thanks for your answer.

You mentioned that you had no problems with very huge pictures. Perhaps it
has to do with the kind of compilation? I compile with pdflatex.


I often get errors in trying to compile a file with pdflatex if I have 
graphics in it, but typically the problem is with postscript files, for 
which it has trouble finding sizes.  It will typically work fine with 
ps2pdf.  It is certainly worth a try.  I can't imagine that there would 
be a formatting difference between the two methods of export.


--

David L. Johnson

A mathematician is a machine for turning coffee into theorems.
-- Paul Erdos



SV: Many huge pictures - Memory problems?

2012-02-11 Thread Ingar Pareliussen
Hi
Without the file it is difficult to know precisely what is going on. I 
would say that I do not think it is likely that it is a memory problem, 
at least my experience is that lyx and latex work fine producing books 
with many hundreds of images (tif in the 100MB range), making 
pdfs of 10GBs... :).  But then again, I might have been lucky :)

(./000-sdl-buch.out
! Undefined control sequence.
l.47 \BOOKM

This is Latex telling you that you have a command \BOOKM 
that it does not know. 

3. To compile just a part but to tell LyX it should include counter and
references results in the same error.

I guess this is a good hint. My money would be on that in one of your
references have a included something you shouldn't. :) And then again
this should have been triggered in draft mode as well... Could it be 
something in your file-names or file paths? 

And then again it might me something else, as I said it is difficult
to know without your file. And then I guess you should try, as always,
reproducing the error with the smallest possible file.

Also you could try exporting to latex and run it through latex 
manually, this might give you some more information
as well...

Ingar





Re: SV: Many huge pictures - Memory problems?

2012-02-11 Thread Peter Baumgartner
Ingar,

Thanks for your answer.

You mentioned that you had no problems with very huge pictures. Perhaps it
has to do with the kind of compilation? I compile with pdflatex. Maybe I
should use another compilation but I'm afraid of (small) changes in
hyphenation or in the very critical positions of my pictures on the page
layout. 

***

In the meanwhile I have reorganised my file structure so that I've got less
but larger files. -- No change.

Than I grouped pictures (in these larger files) and set the latex option
draft mode of all pictures in one of these large files. -- This helped!!

I can now produce all my material in two runs where I set alternatively
pictures of two different large files to draft mode and combine the two pdf
files of these two different runs of compilations with Adobe Professional to
one book file. -- Not very comfortable but I hope it will work for the
publisher.

I think this change with pictures in draft mode is another clue that I ran
in memory problems because of my problems.

Peter




Re: SV: Many huge pictures - Memory problems?

2012-02-11 Thread David L. Johnson

On 02/11/2012 01:36 PM, Peter Baumgartner wrote:

Ingar,

Thanks for your answer.

You mentioned that you had no problems with very huge pictures. Perhaps it
has to do with the kind of compilation? I compile with pdflatex.


I often get errors in trying to compile a file with pdflatex if I have 
graphics in it, but typically the problem is with postscript files, for 
which it has trouble finding sizes.  It will typically work fine with 
ps2pdf.  It is certainly worth a try.  I can't imagine that there would 
be a formatting difference between the two methods of export.


--

David L. Johnson

A mathematician is a machine for turning coffee into theorems.
-- Paul Erdos



SV: Many huge pictures - Memory problems?

2012-02-11 Thread Ingar Pareliussen
Hi
Without the file it is difficult to know precisely what is going on. I 
would say that I do not think it is likely that it is a memory problem, 
at least my experience is that lyx and latex work fine producing books 
with many hundreds of images (tif in the 100MB range), making 
pdfs of 10GBs... :).  But then again, I might have been lucky :)

>(./000-sdl-buch.out
>! Undefined control sequence.
>l.47 \BOOKM

This is Latex telling you that you have a command \BOOKM 
that it does not know. 

>3. To compile just a part but to tell LyX it should include counter and
>references results in the same error.

I guess this is a good hint. My money would be on that in one of your
references have a included something you shouldn't. :) And then again
this should have been triggered in draft mode as well... Could it be 
something in your file-names or file paths? 

And then again it might me something else, as I said it is difficult
to know without your file. And then I guess you should try, as always,
reproducing the error with the smallest possible file.

Also you could try exporting to latex and run it through latex 
manually, this might give you some more information
as well...

Ingar





Re: SV: Many huge pictures - Memory problems?

2012-02-11 Thread Peter Baumgartner
Ingar,

Thanks for your answer.

You mentioned that you had no problems with very huge pictures. Perhaps it
has to do with the kind of compilation? I compile with pdflatex. Maybe I
should use another compilation but I'm afraid of (small) changes in
hyphenation or in the very critical positions of my pictures on the page
layout. 

***

In the meanwhile I have reorganised my file structure so that I've got less
but larger files. -- No change.

Than I grouped pictures (in these larger files) and set the latex option
"draft mode" of all pictures in one of these large files. -- This helped!!

I can now produce all my material in two runs where I set alternatively
pictures of two different large files to draft mode and combine the two pdf
files of these two different runs of compilations with Adobe Professional to
one book file. -- Not very comfortable but I hope it will work for the
publisher.

I think this change with pictures in draft mode is another clue that I ran
in memory problems because of my problems.

Peter




Re: SV: Many huge pictures - Memory problems?

2012-02-11 Thread David L. Johnson

On 02/11/2012 01:36 PM, Peter Baumgartner wrote:

Ingar,

Thanks for your answer.

You mentioned that you had no problems with very huge pictures. Perhaps it
has to do with the kind of compilation? I compile with pdflatex.


I often get errors in trying to compile a file with pdflatex if I have 
graphics in it, but typically the problem is with postscript files, for 
which it has trouble finding sizes.  It will typically work fine with 
ps2pdf.  It is certainly worth a try.  I can't imagine that there would 
be a formatting difference between the two methods of export.


--

David L. Johnson

A mathematician is a machine for turning coffee into theorems.
-- Paul Erdos