Re: Problem compiling document to Postscript

2012-05-31 Thread Guenter Milde
On 2012-05-30, Påvel Nicklasson wrote:

> [-- Type: text/plain, Encoding:  --]

> I managed to get a postscript file once from Kubuntu, but then I tried
> again LyX refused. I have converted images to .eps and sometimes back to
> jpg when the log states that it stopped at those images and still no luck
> converting to postscript.

> In Windows I have done the conversion several times without any problems. I
> am beginning to suspect that it is a bug in the software handling the
> process or in how memory is handled by the different systems. The file is
> rather big with many big images so perhaps this is the problem.

> I must be content with the postscript file made in Windows and I don't
> think that I am able to solve the problem on Kubuntu. As I said it is very
> strange since I can convert other very similar big manuscripts that also
> contain a lot of jpg images.

You may also create a PDF file and convert it to PS later.

For the error hunt, try to split the problematic document into two - run
each to see if it works, repeat for the not running one, ...
Or put the images into note boxes until compiling works to find out which
one(s) is/are problematic. Create a minimal¹ example for a problematic file
and post it here

¹ throw out everything not required to (re)create the error.


Günter



Re: Problem compiling document to Postscript

2012-05-30 Thread Påvel Nicklasson
2012/5/30 Ingar Pareliussen 

>  Just a thought: could it be that your /tmp directory almost full? If lyx
> does not have enough space to copy and convert all the image files in the
> tmp directory strange things may happen.
>
> Ingar
>
>
I thought on that too. I moved the tmp folder in LyX temporarily to my
homefolder with more space, but the result was the same, no postscriptfile,
even if LyX worked noticeable faster.

Påvel


Re: Problem compiling document to Postscript

2012-05-30 Thread Ingar Pareliussen
Just a thought: could it be that your /tmp directory almost full? If lyx does 
not have enough space to copy and convert all the image files in the tmp 
directory strange things may happen.

Ingar

- Reply message -
From: "Påvel Nicklasson" 
To: "lyx-users@lists.lyx.org" 
Subject: Problem compiling document to Postscript
Date: Wed, May 30, 2012 09:30



I managed to get a postscript file once from Kubuntu, but then I tried again 
LyX refused. I have converted images to .eps and sometimes back to jpg when the 
log states that it stopped at those images and still no luck converting to 
postscript.

In Windows I have done the conversion several times without any problems. I am 
beginning to suspect that it is a bug in the software handling the process or 
in how memory is handled by the different systems. The file is rather big with 
many big images so perhaps this is the problem.

I must be content with the postscript file made in Windows and I don't think 
that I am able to solve the problem on Kubuntu. As I said it is very strange 
since I can convert other very similar big manuscripts that also contain a lot 
of jpg images.


Re: Problem compiling document to Postscript

2012-05-30 Thread Påvel Nicklasson
I managed to get a postscript file once from Kubuntu, but then I tried
again LyX refused. I have converted images to .eps and sometimes back to
jpg when the log states that it stopped at those images and still no luck
converting to postscript.

In Windows I have done the conversion several times without any problems. I
am beginning to suspect that it is a bug in the software handling the
process or in how memory is handled by the different systems. The file is
rather big with many big images so perhaps this is the problem.

I must be content with the postscript file made in Windows and I don't
think that I am able to solve the problem on Kubuntu. As I said it is very
strange since I can convert other very similar big manuscripts that also
contain a lot of jpg images.


Re: Problem compiling document to Postscript

2012-05-29 Thread Påvel Nicklasson
Durign the latest try I just recieved an error message (in Swedish):

 Ett fel uppstod vid körning av:

dvips -t a4 -o "Symposieskrift.ps" "Symposieskrift.dvi"


(An error occurred during operation:

dvips -t a4 -o "Symposieskrift.ps" "Symposieskrift.dvi") or something
similar in English.


There were no log popping up and thus nothing to check.


I retrieved the log from View -> Messages and attach it. I can't see
anything obviously wrong, but the most logical for me is that the last
images in the log should be the problematic ones and shoudl thus be
converted to eps?


log
Description: Binary data


Re: Problem compiling document to Postscript

2012-05-28 Thread Påvel Nicklasson
Thank You for your suggestions!

I don't think that the culprit is ImageMagick, since several very similar
documents with lots of JPG:s compile to ps without any problem. I will
test to reinstall ImageMagick however.

I have removed parts of the documents and managed to get some child
documents to compile by converting images to .eps. Now I am stuck on a part
where I have changed the images to .eps, but LyX still refuses to compile
to ps correctly. The resulting ps-file opens, but is faulty: pages and
images are not showing and images are misplaced.

I have noticed that, my pdf-reader, Okular, uses a lot of power while
showing the ps-file and even seems to freeze. Perhaps there is something
wrong here, but Okular works fine with all other documents and ps-files.

The logs does not say much, just that there may be problems with some image
(even images that transfers well). The logs are surprisingly clean for such
faulty behvaiour. I see if I can catch something useful to post.

Since the manuscript must be delivered real soon I think that I have to do
the final work in Windows and postpone some of the bughunt until after the
deadline. I believe this is very strange and I intend to find out where the
fault is.


Re: Problem compiling document to Postscript

2012-05-28 Thread Richard Heck

On 05/28/2012 05:08 AM, Påvel Nicklasson wrote:


I have a large book-sized document with several child documents. I use 
LyX 2.0.3 on Kubuntu 12.04.



I need to compile the file to postscript for further conversion ahead 
of printing.



The compilation stops with no meaningful error messages (at least for 
me). The log may indicate problems with images. I mostly use JPG. I 
have converted some images to eps after these messages, but the file 
wont compile anyway. Should I substitute all JPG images with eps?



The strange thing is that the file compiles OK to postscript on 
Windows 7 (LyX 2.0.3). Other very similar documents compiles OK to 
postscript on Kubuntu. Other formats such as PDFLaTeX work OK.



I don‘t know even how to begin look for a solution. Any suggestions 
are appreciated!




First, try posting the log here, and see if anyone can see the problem.

Second, bisect: Remove the last half of the document; see if that works. 
If not, remove another half. If so, put that back and remove the first 
half. Etc.


Richard



Problem compiling document to Postscript

2012-05-28 Thread Påvel Nicklasson
I have a large book-sized document with several child documents. I use LyX
2.0.3 on Kubuntu 12.04.


I need to compile the file to postscript for further conversion ahead of
printing.


The compilation stops with no meaningful error messages (at least for me).
The log may indicate problems with images. I mostly use JPG. I have
converted some images to eps after these messages, but the file wont
compile anyway. Should I substitute all JPG images with eps?


The strange thing is that the file compiles OK to postscript on Windows 7
(LyX 2.0.3). Other very similar documents compiles OK to postscript on
Kubuntu. Other formats such as PDFLaTeX work OK.


I don‘t know even how to begin look for a solution. Any suggestions are
appreciated!


Regards Påvel