When I try to compile this file http://danjer.doudouke.org/_media/tech/dokutexit/playground.zip this error occurs:
! LaTeX Error: Unknown graphics extension: .ps.
I'm using TeXworks Version 0.4.3 (MiKTeX 2.9) and pdfLaTeX.
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityWhen I try to compile this file http://danjer.doudouke.org/_media/tech/dokutexit/playground.zip this error occurs:
! LaTeX Error: Unknown graphics extension: .ps.
I'm using TeXworks Version 0.4.3 (MiKTeX 2.9) and pdfLaTeX.
You could compile with pdfLaTeX, if you add the line
\usepackage{auto-pst-pdf}
for automatic conversion of the PS images to PDF. It requires the option --enable-write18 set. Check the TeXworks preferences, Typesetting, Processing tools, pdfLaTeX:
You can compile it with XeLaTeX, which is directly supported by TeXworks. You can choose XeLaTeX in the drop-down menu.
For compiling with XeLaTeX, remove these two lines from the preamble, as XeLaTeX natively supports UTF-8:
\usepackage{ucs}
\usepackage[utf8x]{inputenc}
Use LaTeX in DVI-mode, and convert as needed, using dvips and ps2pdf, or dvipdfm(x). You can call latex
at the command prompt, or define a new tool for TeXworks in the preferences:
pdflatex can insert graphics in jpeg, pdf, and png formats. Can you convert your postscript image (assuming postscript since it has the .ps extension)?
When a user reported this error, I found that the .ps file was actually Encapsuled PostScript. The error went away when the .ps file extension was renamed to .eps