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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

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