<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 01/05/2023 02:33, warren page via
texworks wrote:<br>
</div>
<blockquote type="cite"
cite="mid:E41A2A78-7B62-477A-9866-51A58024FCA0@aol.com">
<pre class="moz-quote-pre" wrap="">When I open MiKTeX on my Mac, I obtain a MiKtex-texworks file. What commands are needed to convert a JPG to an EPs using MiKTeX on a Mac? </pre>
</blockquote>
<p>I am sure that there are better ways, but here is how I would
[try to] tackle the task —</p>
<ul>
<li>Use the TeXworks editor to create the following file</li>
</ul>
<p><tt> % !TeX Program=XeTeX<br>
<br>
\message {Please entire filename, including .jpg extension}<br>
\read -1 to \filename<br>
\setbox 0 = \vbox {\XeTeXpicfile "\filename" \relax}<br>
\shipout \box 0<br>
\end</tt></p>
<ul>
<li>Tell TeXworks to compile it. It will start by asking for a
name under which to save the file, typically offering
"untitled-1.tex" as default. Change this to something more
meaningful, e.g. "Example.tex", and note the location (directory
/ folder) in which TeXworks saves the file.</li>
<li>The file, when compiled, will prompt "Please entire filename,
including .jpg extension"; do as it says, and hit
<return>.</li>
<li>Launch the Apple Macintosh equivalent of a CMD window</li>
<li>In this window, change directory to the location in which
TeXworks saved your file</li>
<li>Type "pdftops -eps Example.pdf"</li>
</ul>
<p>You should end up with a file "Exemplar.eps" in the same
directory. E&OE, I have never used an Apple Macintosh in my
life.<br>
</p>
<p>-- <br>
<i>Philip Taylor</i><br>
</p>
</body>
</html>