LyXMatlabfrag will not compile direct to PDF?

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
scal
Posts: 4
Joined: Fri Jun 08, 2012 1:31 pm

Matlabfrag will not compile direct to PDF?

Post by scal »

Using matlabfrag for Latex->PDF does not work? The manual states that it should.

Using matlabfrag for Latex->PS->PDF works fine. Why?

I am using psfragfig with the pstool package as suggested. I have enabled the shell escape feature I think correctly.

Note - Once I have created a pdf using ps2pdf, then close it and create a new pdf using the default method (latex to pdf) then it somehow works fine? Has something in the previous conversion process changed some settings or created a temporary file?

Can someone more advanced than me explain this?

Thanks,

scal

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

stefan_fuglsang
Posts: 12
Joined: Mon Oct 04, 2010 9:41 am

Re: Matlabfrag will not compile direct to PDF?

Post by stefan_fuglsang »

As far as I know Latex->Pdf will not work with postscript formats (.eps and .ps), so you will have to convert to another format, or compile through ps.

Stefan
Post Reply