For some reason I cannot get some macros to preview, while the created pdf is 
OK.
The output of the document is set to pdflatex.
The of the previews contains many lines with
        ! LaTeX Error: Cannot determine size of graphic in xxxx.pdf (no 
BoundingBox)
        ...
        (That makes 100 errors; please try again.)

OTOH, if I compile the preview manually, e.g.
        pdflatex lyxpreviewb16916.tex
I get no errors at all.

Comparing the two log files the first difference is in use of the driver file:
preview log:
        Package graphics Info: Driver file: dvips.def on input line 91.
        (/usr9/local/texlive/2014/texmf-dist/tex/latex/graphics/dvips.def
        File: dvips.def 2014/10/14 v3.0j Driver-dependent file (DPC,SPQR)

manual created log:
        Package graphics Info: Driver file: pdftex.def on input line 91.
        (/usr9/local/texlive/2014/texmf-dist/tex/latex/pdftex-def/pdftex.def
        File: pdftex.def 2011/05/27 v0.06d Graphics/color for pdfTeX

Why is one using graphics/dvips.def and the other pdftex-def/pdftex.def?

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to