printing fails with hyperref error

Issue #57 wontfix
Former user created an issue

``` Have downloaded ClassicThesis to a Mac 10.5 running Lyx 2.0.3 & trying to print the ClassicThesis itself (as a test before starting to use it -- looks very nice!)

When trying to print ClassicThesis with Lyx's Print option get instead the error:

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

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.

It looks as if I need to set the print options to default to pdflatex, at least for ClassicThesis projects. I'm fairly new to Lyx & have no idea how to do this, or if this is really the fix.

I will try the Lyx mailing lists as well, but as I am not having this problem on other Lyx documents I thought I would try you first.

Thanks!

John Ashmead

```

Original issue reported on code.google.com by `john.ashmead@timeandquantummechanics.com` on 2012-07-20 14:26:42

Comments (5)

  1. Former user Account Deleted

    ``` ClassicThesis is just set to use pdflatex and that's the source of all the problems you mention. I don't see any reason why one should use LyX>LaTeX>PS>PDF chain instead of LyX>LaTeX>PDF, but if you do, please try altering a few commands in classicthesis-config.tex that have pdftex as an option. Printing from LyX might also be a bad idea, please print from your PDF viewer.

    ```

    Original issue reported on code.google.com by `ivo.pletikosic` on 2012-07-20 14:58:53 - Labels added: Type-Other - Labels removed: Type-Defect, Priority-Medium

  2. Former user Account Deleted

    ``` thanks for your very quick response!

    I have no desire to use one path over another, so long as PDF comes out at the end.

    However I couldn't figure out from your message what I should do.

    My impression is that somehow I have to tell the Print option that it should use pdflatex not ps2pdf.

    Is that correct? And if so, what option should I set? If not, what should I do to get print to work?

    Thanks!

    John

    PS. I tried changing the references to pdftex in the config file to pdflatex but the file just snarled at me.

    John Ashmead john.ashmead@timeandquantummechanics.com ```

    Original issue reported on code.google.com by `john.ashmead@timeandquantummechanics.com` on 2012-07-20 18:20:30

  3. Former user Account Deleted

    ``` I've been using LyX for 10 years but just now realized that it has its own Print command. Print dialog is pretty primitive, though, and I don't see why you should use it. What to do instead? I guess what everyone else does: edit your document, View>View PDF (pdflatex), print from the PDF viewer that opens the resulting document (Acrobat Reader, Evince, whichever).

    ```

    Original issue reported on code.google.com by `ivo.pletikosic` on 2012-07-20 23:59:39

  4. Former user Account Deleted

    ``` Thanks for info! That is a workable path to the objective. I'll continue to noodle the print option, out of personal stubbornness. :)

    John Ashmead john.ashmead@timeandquantummechanics.com ```

    Original issue reported on code.google.com by `john.ashmead@timeandquantummechanics.com` on 2012-07-21 00:31:55

  5. Former user Account Deleted

    ``` It seems that the path LyX>LaTeX>dvi is hardcoded and that there's not much you can do unless you want to patch the very LyX code. Take a look at Tools->Preferences->Output->Printer. ```

    Original issue reported on code.google.com by `ivo.pletikosic` on 2012-07-21 03:53:05

  6. Log in to comment