<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    Hi,<br>
    <br>
    <div class="moz-cite-prefix">On 29.05.21 21:55, BELHOUCINE via
      texworks wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:296163517.3149640.1622318127762@wlpnf0221">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div style="font-family:Arial, Helvetica, sans-serif;
        font-size:12px; color:#00000">‌<span class="VIiyi" lang="en"><span
            class="ChMk0b JLqJ4b" data-language-for-alternatives="en"
            data-language-to-translate-into="fr" data-phrase-index="0"><span>I
              would like to configure texworks to run xelatex the
              following linux command:</span></span><span class="JLqJ4b"
            data-language-for-alternatives="en"
            data-language-to-translate-into="fr" data-phrase-index="1"><span>
            </span></span></span></div>
      <div class="userSignature">
        <p><span class="VIiyi" lang="en"><span class="ChMk0b JLqJ4b"
              data-language-for-alternatives="en"
              data-language-to-translate-into="fr" data-phrase-index="2"><span>xelatex
                -output-driver = "xdvipdfmx -i dvipdfmx-unsafe.cfg -q
                -E" file.tex</span></span><span class="JLqJ4b"
              data-language-for-alternatives="en"
              data-language-to-translate-into="fr" data-phrase-index="3"><span>
              </span></span></span></p>
        <p><span class="VIiyi" lang="en"><span class="ChMk0b JLqJ4b"
              data-language-for-alternatives="en"
              data-language-to-translate-into="fr" data-phrase-index="4"><span>Do
                I have to create an external sh script?</span></span> <span
              class="ChMk0b JLqJ4b" data-language-for-alternatives="en"
              data-language-to-translate-into="fr" data-phrase-index="5"><span>or
                do I have to modify the tools.ini configuration file?</span></span></span></p>
      </div>
    </blockquote>
    <br>
    You can<br>
    1) Use Edit > Preferences... > Typesetting to configure tools,
    or<br>
    2) modify tools.ini (to the same effect), or<br>
    3) create a separate script to do what you want (and then use either
    method 1 or 2 to incorporate it in TeXworks).<br>
    <br>
    <a class="moz-txt-link-freetext" href="https://github.com/TeXworks/texworks/wiki/AdvancedTypesettingTools">https://github.com/TeXworks/texworks/wiki/AdvancedTypesettingTools</a>
    provides some examples and further details.<br>
    <br>
    HTH<br>
    Stefan<br>
  </body>
</html>