dvipdfm error in the mac os version

TXS - Help
fermis
2010-06-01
2012-10-17
  • fermis

    fermis - 2010-06-01

    Hi! I am a new user of texmakerx who always has used texmarker for editing
    latex docs. Texmakerx is better for me however I can't create pdf's. An error
    occurs when I run dvipdfm (key F9) and the document contains images (in eps
    format). If there are no images, it works fine. If I run the command in the
    terminal, it works fine. And in texmaker, it works fine (using the same
    command in setup dialog).

    The command is: "/usr/texbin/dvipdfm" something.dvi (I use Mac OS X...)
    And the error:
    sh: rungs: command not found

    WARNING Filtering file via command -->rungs -q -dNOPAUSE -dBATCH -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -sOutputFile=/var/folders/jK/jKWjaCpTE9mK5m0pxaLPFE+++TI/-Tmp-//dvipdfmx.kaB10eJ ./pls_matrix.eps -c quit<-- failed. WARNING Image format conversion for "./pls_matrix.eps" failed... ERROR pdf_ref_obj(): passed invalid object. Output file removed.

    Process exited with error(s)

    Can anyone help me?
    Thanks in advance.

     
  • Jan  Sundermeyer

    Jan Sundermeyer - 2010-06-01

    if i have to guess, i'd say that the path variable is not set correctly when
    executing dvipdfm
    maybe something like bash -c "dvipdfm ...." could help ...

     
  • fermis

    fermis - 2010-06-01

    Thanks for your answer

    if i have to guess, i'd say that the path variable is not set correctly when
    executing dvipdfm

    According to the error, dvipdfm can't find "rungs" but that program is in
    /usr/texbin (the same folder that dvipdfm)
    and this path appears in the PATH variable.

    bash -c "/usr/texbin/dvipdfm %.dvi" work just like "/usr/texbin/dvipdfm"
    %.dvi, in terminal it works fine and in texmakerx it doesn't work.

     
  • Jan  Sundermeyer

    Jan Sundermeyer - 2010-06-03

    Okay, i finally got to a mac mini.

    The command needs to be:

    bash -l -c "/usr/texbin/dvipdfm %.dvi"

    The "-l" added the user changed PATH to the execution PATH.

     
  • Jan  Sundermeyer

    Jan Sundermeyer - 2010-06-03

    you could try out svn rev. 960.
    It should solve your problem as well without the need to change the command to
    bash ...

     
  • fermis

    fermis - 2010-06-06

    Great! Thanks you very much

     

Log in to post a comment.