MiKTeX and proTeXt ⇒ eps to pdf
eps to pdf
hi,
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
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.
- Stefan Kottwitz
- Site Admin
- Posts: 10322
- Joined: Mon Mar 10, 2008 9:44 pm
eps to pdf
Hi dev,
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
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
LaTeX.org admin
- 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¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
eps to pdf
\documentclass[12pt,a4paper,headsepline]{article}
\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
\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
Last edited by 0.8.15 on Tue Sep 16, 2008 6:08 pm, edited 4 times in total.
- Stefan Kottwitz
- Site Admin
- Posts: 10322
- Joined: Mon Mar 10, 2008 9:44 pm
eps to pdf
thanks, but i tryed this also:
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
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
As far as I know, --enable-write18 is a switch used at runtime. So it makes no sense to use it in pdftex.ini. You can write a batch to have it enabled in the few cases that you need it. See MiKTeX documentation for the details of the syntax. Or maybe your editor lets you specify some parameters at runtime ; it's the case with WinEdt for instance.
B.A.
B.A.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
eps to pdf
As balf already mentioned, you have to use a switch or command line option for the compiler, respectively. In TeXnicCenter you can insert that option in every build profile. Another topic shows screenshots of a profile [1]. Insert --enable-write18 in the command line arguments to pass to the compiler.
[1] LaTeX => PS => PDF
[1] LaTeX => PS => PDF
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: eps to pdf
thank^s localghost but i am going to leave this experiments.
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.
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.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10