<div dir="ltr"><div>I suspect this would work, but I am passing $synctexoption as predefined in TeXworks [Edit > Preferences > Typesetting > Edit... > +]. I do not know of an option to redefine the internal parameters; I am also wary of redefining it, since it is passed to (e.g.) the predefined pdfLaTeX script.</div><div><br></div><div>Regardless, this is IMO a better workaround than defining things in the batch script.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 19, 2020 at 1:01 PM Philip Taylor <<a href="mailto:P.Taylor@rhul.ac.uk">P.Taylor@rhul.ac.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<div>Kyle Woodward wrote:<br>
<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>I am having trouble with a custom typesetting script
(Windows batch). I would like to pass $synctexoption to the
script (in my case, `-synctex=1`).<br>
</div>
</div>
</blockquote>
<br>
Have you tried escaping the "=" sign with a caret/circumflex/"hat"
("^") ?<br>
<i>Philip Taylor</i><br>
</div>
</blockquote></div>