LyXProblems with conversion of thesis to pdf

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
r_mac
Posts: 2
Joined: Fri Aug 13, 2010 2:22 pm

Problems with conversion of thesis to pdf

Post by r_mac »

Hi,

I am having problems converting my thesis from LyX to a pdf. When asked to do it, Lyx stops responding until it needs to be closed down via Force Quit. I have also tried converting to Postscript and DVI with the same result. The problem is definitely with my thesis and not with LyX generally, other documents convert without problems. I have even tried converting individual sections of the thesis and that works fine. The problem seems to be located in the Analysis section of the thesis, which includes a lot of pdf graphics. I have tried exporting this section to LaTeX and using the pdflatex command in Terminal, but this does not work either.

Without having any deep technical knowledge, I would assume that the problem stems from having too many graphics in the file, but is this possible? Are there any other issues which might cause a similar response? What is the best way to deal with this problem, are there some automatic compression options in LyX?

Thanks in advance.

I am using LyX 1.6.5 on Ubuntu 10.0.4

The error log for the conversion process is below.
not-working.log
error log
(8 KiB) Downloaded 254 times
.

The TeX source is below.
not-working.tex
TeX Source of Analysis section
(39.75 KiB) Downloaded 265 times
The forum does not seem to allow uploading of LyX files.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

CrazyHorse
Posts: 351
Joined: Sat Aug 02, 2008 8:47 am

Problems with conversion of thesis to pdf

Post by CrazyHorse »

r_mac wrote: The TeX source is below.
not-working.tex
The forum does not seem to allow uploading of LyX files.
you cannot have subfloats inside a tabular. Use it simply in this way:

Code: Select all

\begin{table}\centering
\caption{\protect\includegraphics[width=8cm,height=8cm,keepaspectratio]{/home/ronan/Desktop/Thesis/Analysis/graphs/LA\lyxdot mid\lyxdot 2\lyxdot wks}
Contribution rates by mid-level users over first two weeks of lifespan}

\subfloat[Contribution rates by mid-level users over first six months of lifespan]{\includegraphics[width=5cm,height=5cm]{/home/ronan/Desktop/Thesis/Analysis/graphs/LA\lyxdot mid\lyxdot six\lyxdot months}} 
\subfloat[Contribution rates by mid-level users over first two years of lifespan]{\includegraphics[width=5cm,height=5cm,keepaspectratio]{/home/ronan/Desktop/Thesis/Analysis/graphs/LA\lyxdot mid\lyxdot two\lyxdot years}}
\end{table}

Herbert
meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Problems with conversion of thesis to pdf

Post by meho_r »

r_mac wrote:...
The forum does not seem to allow uploading of LyX files.
You may post .lyx file by putting it in a .zip file first, then attach.
r_mac
Posts: 2
Joined: Fri Aug 13, 2010 2:22 pm

Re: Problems with conversion of thesis to pdf

Post by r_mac »

Herbert, thank you for the help, it now seems to convert fine using pdflatex. However, if I'd like to keep the document within LyX, do you know how I should re-do it?
CrazyHorse
Posts: 351
Joined: Sat Aug 02, 2008 8:47 am

Problems with conversion of thesis to pdf

Post by CrazyHorse »

r_mac wrote:Herbert, thank you for the help, it now seems to convert fine using pdflatex. However, if I'd like to keep the document within LyX, do you know how I should re-do it?
Inside LyX:
create a new table floating environment just right before
the ones with a subfloat inside a tabular.
Then copy the \caption and \subfloat from the tabular cells and
paste it into the new floating environment.
If it is done, then simply delete the old one.

Herbert
Post Reply