Find the answer to your Linux question:
Results 1 to 3 of 3

Thread: LaTeX Question

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    LaTeX Question

    I have a strange problem. I would like to include a figure in my PDF file, and my LaTeX source looks like this:

    \caption{My Caption}
    Then I run the command

    $ latex MyFile.tex

    which returns MyFile.dvi. I can view the figure in the dvi file (using xdvi), but when I run pdflatex to convert the file into a PDF file I cannot see any diagram in the final PDF output, even though the compilation proceeds without error.

    Can someone please tell me what is going on here?

  2. #2
    Linux Engineer
    Join Date
    Oct 2004
    instead of running pdflatex, try directly converting the dvi with dvipdfm filename.dvi...For some reason, I get much better luck with that...are the results the same?
    Operating System: GNU Emacs

  3. #3
    Thank you very much, genesus. Your suggestion indeed works!

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts