Answers.Body: <p>The <a href="https://github.com/thomas-maeder/popeye/releases/tag/v4.81" rel="nofollow noreferrer">github</a> page lists several help files in various languages: <a href="https://github.com/thomas-maeder/popeye/releases/download/v4.81/py-engl.txt" rel="nofollow noreferrer">English</a>, <a href="https://github.com/thomas-maeder/popeye/releases/download/v4.81/py-fran.txt" rel="nofollow noreferrer">French</a> and <a href="https://github.com/thomas-maeder/popeye/releases/download/v4.81/py-deut.txt" rel="nofollow noreferrer">German</a>. These are text files which can be downloaded. English is clearly not Thomas Maeder's mother tongue, I'm guessing German. Perhaps the German help file is clearer than the English.</p>
  
  <p>As far as I can tell from the English file there is a long list of options you can pass to the program to define the problem you want it to solve. For en passant it defines the "EnPassant" option as follows:</p>
  
  <blockquote>
    <p>EnPassant  - Must be followed by 3-4 squares which indicate the  pawn
    move just played:</p>
    
    <ul>
    <li>departure square   </li>
    <li>avoided squares   </li>
    <li>arrival square</li>
    </ul>
  </blockquote>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-10-09T15:03:19.893Z
Answers.LastActivityDate: 2019-10-09T15:03:19.893Z
Answers.UserDisplayName: Brian Towers
Answers.Body: <p>Thanks, inspired by Brian's response, I have tried the following input:</p>
  
  <pre><code>begi 
  prot outputp.txt 
  piec White Kf5 Qf8 Ph5 Black Kh7 Pg5 
  stip #1
  opti enpa g7g6g5S 
  next 
  piec White Kf5 Pg4 Rf6 Black Kh4 Pf4 
  stip h#1
  opti enpa g2g3g4
  end
  </code></pre>
  
  <p>which successfully gives the following outputs:</p>
  
  <pre><code>1.h5*g6 ep. #
  1.f4*g3 ep. Rf6-h6 #
  </code></pre>
  
  <p>So I think that's it. Thanks again.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-10-09T16:03:53.543Z
Answers.LastActivityDate: 2019-10-09T16:03:53.543Z
Answers.UserDisplayName: Laska
Body: <p>I want to solve a problem with Thomas Maeder's excellent Popeye engine, and to specify that a possible en passant in the diagram is ok. How can I do this please? The documentation seems opaque. Thanks so much!</p>
  
  <p>See <a href="https://github.com/thomas-maeder/popeye/releases/tag/v4.81" rel="nofollow noreferrer">https://github.com/thomas-maeder/popeye/releases/tag/v4.81</a> </p>
  
  <p>EDIT: Outside chess, I see stackexchange used widely to ask technical questions about software use (indeed use it myself like this sometimes), and I think this is fair use in chess too.</p>
  
Tags: <engines><software><programming><en-passant>
Title: How can I set up en passant in the Popeye engine?
ThreadText: # How can I set up en passant in the Popeye engine?
  
  (Asked by: username_0 on 2019-10-07)
  
  I want to solve a problem with Thomas Maeder's excellent Popeye engine, and to specify that a possible en passant in the diagram is ok. How can I do this please? The documentation seems opaque. Thanks so much!
  
  See <https://github.com/thomas-maeder/popeye/releases/tag/v4.81>
  
  EDIT: Outside chess, I see stackexchange used widely to ask technical questions about software use (indeed use it myself like this sometimes), and I think this is fair use in chess too.
  
  **Tags:** engines, software, programming, en-passant
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2019-10-09. Score: 3 | Accepted answer
  
  The [github](https://github.com/thomas-maeder/popeye/releases/tag/v4.81) page lists several help files in various languages: [English](https://github.com/thomas-maeder/popeye/releases/download/v4.81/py-engl.txt), [French](https://github.com/thomas-maeder/popeye/releases/download/v4.81/py-fran.txt) and [German](https://github.com/thomas-maeder/popeye/releases/download/v4.81/py-deut.txt). These are text files which can be downloaded. English is clearly not Thomas Maeder's mother tongue, I'm guessing German. Perhaps the German help file is clearer than the English.
  
  As far as I can tell from the English file there is a long list of options you can pass to the program to define the problem you want it to solve. For en passant it defines the "EnPassant" option as follows:
  
  > EnPassant - Must be followed by 3-4 squares which indicate the pawn
  > move just played:
  >
  > * departure square
  > * avoided squares
  > * arrival square
  
  
  ---
  
  ### Answer by username_0 on 2019-10-09. Score: 3
  
  Thanks, inspired by Brian's response, I have tried the following input:
  begi 
  prot outputp.txt 
  piec White Kf5 Qf8 Ph5 Black Kh7 Pg5 
  stip #1
  opti enpa g7g6g5S 
  next 
  piec White Kf5 Pg4 Rf6 Black Kh4 Pf4 
  stip h#1
  opti enpa g2g3g4
  end
  
  which successfully gives the following outputs:
  1.h5*g6 ep. #
  1.f4*g3 ep. Rf6-h6 #
  
  So I think that's it. Thanks again.
  
  
  ---
  
  