<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/2022 17:28, Philip Taylor
      (Hellenic Institute) wrote<br>
    </div>
    <blockquote type="cite"
      cite="mid:8d93abb4-2c34-8d37-ff80-0c863e3c90ed@Hellenic-Institute.Uk">
      <p>Oops — I should have tested this before posting.  The compiler
        interprets such pragmats according to its own rules,so in
        practice the delimiters would have to be COMMENT delimiters, as
        in :</p>
      <blockquote>
        <p>COMMENT % !TeX Program=Algol-68 COMMENT</p>
      </blockquote>
      <p>As before, is there any possibility to make the syntax of the
        line-1 typesetting engine programat more flexible, perhaps
        defining it in terms of a regular expression to allow other
        compiler syntaces to be supported ?</p>
    </blockquote>
    <p>Alternatively, could TeXworks <i>infer</i> the correct
      "typesetting engine" from the filename extension for files with
      extensions other than ".tex" ?  This would eliminate the need for
      line-1 typesetting engine pragmats for files with non-standard
      extensions and use instead a user-editable look-up table given the
      correct "typesetting engine" for each non-standard extension
      (e.g., ".a68").</p>
    <p>-- <br>
      <i>Philip Taylor</i><br>
    </p>
  </body>
</html>