MiKTeX and proTeXt ⇒ eps to pdf
eps to pdf
i want to convert .eps pictures with MikTEX into the pdf format.
the packages "epstopdf" or "epspdfconversions" in combination with "graphicx" or "graphics" are supporting that.
after the compilation i always see in the pdf dockument no picture. but ther is just a frame instead.
for security reason i don^t want to enable "write 18".
dev
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
eps to pdf
do you get warnings or error messages?
Do you use a draft option anywhere?
You could enable write18 just for one compiler run, or convert the eps pictures by calling epstopdf on the command line.
Stefan
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
eps to pdf
I wonder what these security reasons might be and I would turn off that option on my machine if they are critical. Perhaps you can explain that to me.0.8.15 wrote:[...] for security reason i don^t want to enable "write 18". [...]
Best regards
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
eps to pdf
\usepackage[english]{babel}
\usepackage{amsmath}
\usepackage{latexsym}
\usepackage[percent]{overpic}
\usepackage{hhline}
\usepackage{longtable}
\usepackage{tabularx}
\usepackage{array}
\usepackage{makeidx}
\usepackage{ntheorem}
\usepackage{textcomp}
\usepackage{auto-pst-pdf}%requires also the following packages:
\usepackage{pst-pdf}
\usepackage{ifplatform}
\usepackage{xcolor}
\usepackage{preview}
\usepackage{environ}
\usepackage{graphics}
\usepackage{epstopdf}
%i used the normal code to implement the picture:
\begin{figure}[h!]
\centering
\includegraphics[width=0.35\textwidth]{images/fibril.eps}
\caption{hhhhhhhhhh}
\label{hhhhhh}
\end{figure}
%after compiling i reseive the following messages:
-package epstopdf warning: shell escapefeature is not enabled.
-package graphics error: file images/fibrill.pdf is not found...
...[width=0.35\textwidth]{images/fibrill.eps}
-after using the package "auto-pst-pdf" i reseived the following warning:
"shell escape" (or "write18") is not enabled: auto-pst-pdf will not work!
how can i enable "write18" ?
thanks in advance
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
eps to pdf
at first i have made an update of the file pdftex.ini

then i wrote EnableWrite18=t into it with 2 ; :
;;; DO NOT EDIT THIS FILE!
[ft.tex]
extensions=
extensions;;EnableWrite18=t;=.tex
extensions;=.src
blablabla
but i reseived the message that write18 is not enabled.
i guess i am wasting to much time with that and i meed to take .jpg pictures instead

PS:i am logging off now for tonight
Re: eps to pdf
B.A.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
eps to pdf
[1] LaTeX => PS => PDF
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: eps to pdf
i don^t know how i can use this latex-ps-pdf.tco file. i guess it^s to complicated to explain via text messages.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
eps to pdf
I explained everything precisely in the mentioned topic. All you have to do is to supplement the profiles with this switch. If you can describe your problems, there may be a better possibility to help.0.8.15 wrote:[…] i don^t know how i can use this latex-ps-pdf.tco file. i guess it^s to complicated to explain via text messages.
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10