On 02/07/2012 12:50 AM, Jens Nöckel wrote:
I think this can only be solved if you save the user's guide to an external file, bisect that new file until you localize the error to a reasonably small portion of the file, and then inspect the LaTeX log.

Did the OP reconfigure LyX after getting convert working?

Richard

Jens

On Feb 6, 2012, at 1:09 PM, Rich Talley wrote:

Thanks. As convert is now working, I'll put off installing software I probably don't actually need. I am able to convert the problematic files (such as mobius.eps) to pngs at the command line using convert manually. The problem appears to be that my installation of LyX is not using convert.

As one of the wiki pages recommend, I ran this command:

lyx -dbg graphics

A bunch of graphic formats are listed as loadable. Pdf files are not; is this correct?

I confirmed that I only have one copy of convert and that it's in my path.

I looked at LyX -> Preferences -> File Handling -> Converters -> EPS -> PNG

This shows 'convert $$i $$o', which I believe is correct.

I show only two PDF converters, PDF(ps2pdf) to EPS and to Postscript. Should there be more?


-- Rich



On Sun, Feb 5, 2012 at 7:40 PM, Jens Nöckel <noec...@uoregon.edu <mailto:noec...@uoregon.edu>> wrote:

    Assuming convert is really the problem, perhaps you can try a
    different imagemagick installation.

    Two options would be Macports,
    http://www.macports.org/install.php
    or Fink,
    http://www.finkproject.org/download/index.php?phpLang=en

    You only need one of these. Most people seem to choose Macports
    nowadays, but it really doesn't matter for your purposes.
    After following the installation instructions for one of these
    package managers, you can then install imagemagick by typing either
    sudo port install imagemagick
    (for Macports)
    or
    fink install imagemagick
    (for Fink).

    This won't interfere with the MacTeX installation, so it can't
    hurt to try. I have used both methods and found convert to work fine.

    Jens

    On Feb 5, 2012, at 5:41 PM, Richard Talley wrote:

    So I found a problem with the 'convert' utility (part of
    ImageMagick 6.6.9) that MacTex 2011 installs. The installation
    fails to install the necessary xml files that 'convert' needs to
    function correctly at the command line.

    Over at the macosx-tex mailing list, Dick Koch provided a link
    to the necessary xml files with this comment:

    "We supply convert mainly for tex4html, thinking that users
    familiar with the Unix version
    will want to install the full ImageMagick. So the conversion you
    are using was never tested."

    So I got 'convert' working at the command line. Unfortunately,
    this turned out to be a red herring. I still can't typeset LyX's
    user manual
    from within LyX. Pdf and eps files (such as mobius.eps) still
    don't display within LyX ('Error converting to loadable format')
    and
    typesetting still fails.

    I tried exporting the LyX user manual to LaTeX(plain) and
    typesetting the resulting TeX file in TeXShop. That actually works,
    except cross references break ('see section ??' in the resulting
    pdf). But the pdf and eps files that are problematic in LyX typeset
    in TeXShop.

    What am I missing?

    -- Rich


    On Sat, Feb 4, 2012 at 2:47 PM, Richard Talley
    <rich.tal...@gmail.com <mailto:rich.tal...@gmail.com>> wrote:

        I had been running MacTex 2009 and Lyx 1.6.8. and using them
        extensively for technical documentation and homework
        assignments.

        I upgraded this morning to MacTex 2011 (using the Tex Live
        Utility to bring all the packages up to date) and Lyx 2.0.2.

        I tried to create a pdf of the UserGuide (located in
        /Applications/LyX.app/Contents/Resources/doc/ - opens as
        read only)

        Four eps files are generating 'Error converting to loadable
        format' in the LyX document. The LaTeX error dialog shows:

        Package pdftex.def Error: File
        `34_Applications_LyX_app_Contents_Resources_doc_clipart_mobius.pdf}

        Using draft setting for this image.
        Try typing <return> to proceed.
        If that doesn't work, type X <return> to quit.


        - OR -

        Package pdftex.def Error: File
        `42_Applications_LyX_app_Contents_Resources_doc_clipart_escher-lsd.pdf}}
        \hfill{}\subfloat[\label{f...


        So my system doesn't seem to be converting eps files
        correctly into pdfs for LyX to use. Any suggestions for
        troubleshooting? I've saved the complete LaTeX log, but it's
        huge and I'm not sure what's relevant.

        -- Rich
        MacBook Pro/OS X 10.6.8






Reply via email to