Re: Problem with ps2pdf & pdflatex

2012-07-20 Thread David L. Johnson

On 07/20/2012 10:39 AM, John Ashmead wrote:
I've downloaded a package called classicthesis 
(http://code.google.com/p/classicthesis/) & am trying to print their 
sample document.


I'm getting the error:

*Package hyperref Error:  Wrong driver option `pdftex'*
*Tex capacity exceeded, sorry [main memory size=300]*


I don't know about this particular package, but "Tex capacity exceeded" 
errors, in my experience, often come from a missed end to a header 
environment.  That is, because of some error, TeX doesn't read correctly 
the end of the header, and includes some of the following document.  If 
that includes environments that shouldn't be in a header (for me, 
usually a multiline displayed equation), it will choke in this manner.


Why it only does that with export to ps2pdf is not clear.  Some 
graphics, perhaps, being included into a header?  I find ps2pdf to be 
more forgiving, in general, of graphics formats than pdlatex (I often 
include postscript and eps graphics, which sometimes pdflatex does not 
like).


--

David L. Johnson

Let's be straight here.  If we find something we can't understand we
like to call it something you can't understand, or indeed even
pronounce.
-- Douglas Adams



Problem with ps2pdf & pdflatex

2012-07-20 Thread John Ashmead
I've downloaded a package called classicthesis (http://code.google.com/p/classicthesis/ 
) & am trying to print their sample document.


I'm getting the error:

Package hyperref Error:  Wrong driver option `pdftex'
Tex capacity exceeded, sorry [main memory size=300]

Curiously enough I can export to a pdf file using Lyx's Export- 
>PDF(pdflatex).


But when I try Export->PDF(ps2pdf) I get the above error.

I've pinged the classic thesis folks about this but am not sure if it  
is a Lyx configuration problem on my end or a problem with the package  
so I am posting to this group as well.


Their config file calls hyperref using:

\PassOptionsToPackage{pdftex,hyperfootnotes=false,pdfpagelabels} 
{hyperref}

\usepackage{hyperref}  % backref linktocpage pagebackref

which I have no idea what this means or if it is ok.

Basically:

1) what does this error mean?

2) how do I set the print option to pdflatex rather than ps2pdf,  
perhaps only for some documents?


TIA!

John Ashmead
john.ashm...@timeandquantummechanics.com

PS.  I'm relatively new to Lyx, only started with it last month, and  
have only worked with short articles (no problems printing them).