<div dir="ltr"><div dir="ltr">Since it's now possible to make an SVG using METAPOST using a file such as:<div><br></div><div><p style="margin:0px;white-space:pre-wrap">outputtemplate := "%j-%c.svg";</p>
<p style="margin:0px;white-space:pre-wrap">prologues := 3;</p>
<p style="margin:0px;white-space:pre-wrap">outputformat := "svg";</p>
<p style="margin:0px;white-space:pre-wrap">beginfig(1);</p>
<p style="margin:0px;white-space:pre-wrap">z0 = (0,0); z1 = (60,40);</p>
<p style="margin:0px;white-space:pre-wrap">z2 = (40,90); z3 = (10,70);</p>
<p style="margin:0px;white-space:pre-wrap">z4 = (30,45);</p>
<p style="margin:0px;white-space:pre-wrap"><br></p>
<p style="margin:0px;white-space:pre-wrap">draw z0..z1..z2..z3--z4--cycle</p>
<p style="margin:0px;white-space:pre-wrap">endfig;</p>
<p style="margin:0px;white-space:pre-wrap">end</p><p style="margin:0px;white-space:pre-wrap"><br></p><p style="margin:0px;white-space:pre-wrap">Could we add support for previewing SVGs in TeXworks?</p><p style="margin:0px;white-space:pre-wrap"><br></p><p style="margin:0px;white-space:pre-wrap">Alternately, does anyone know of a good alternative to:</p><p style="margin:0px;white-space:pre-wrap"><br></p><p style="margin:0px"><span style="white-space:pre-wrap"><a href="https://code.google.com/archive/p/file-monitor/">https://code.google.com/archive/p/file-monitor/</a></span><br></p><p style="margin:0px"><span style="white-space:pre-wrap"><br></span></p><p style="margin:0px"><span style="white-space:pre-wrap">(in Windows 10, its ability to detect a file change and reload a file automatically seems broken)</span></p><p style="margin:0px"><span style="white-space:pre-wrap"><br></span></p><p style="margin:0px"><span style="white-space:pre-wrap">William</span></p></div></div></div>