Answers.Body: <p>You can use a python script to read the pgn file using <a href="https://python-chess.readthedocs.io/en/latest/" rel="noreferrer">python-chess library.</a> Examine each move and get the piece (K, Q ... k, q ...) and convert each specific piece symbol to <a href="https://en.wikipedia.org/wiki/Chess_symbols_in_Unicode" rel="noreferrer">figurine.</a></p>
  <h3>Output</h3>
  <pre><code>[Event &quot;FIDE Candidates 2022&quot;]
  [Site &quot;Madrid ESP&quot;]
  [Date &quot;2022.06.17&quot;]
  [Round &quot;1.1&quot;]
  [White &quot;Duda, Jan-Krzysztof&quot;]
  [Black &quot;Rapport, Richard&quot;]
  [Result &quot;1/2-1/2&quot;]
  [BlackElo &quot;2764&quot;]
  [BlackFideId &quot;738590&quot;]
  [BlackTitle &quot;GM&quot;]
  [ECO &quot;B44&quot;]
  [EventDate &quot;2022.06.17&quot;]
  [Opening &quot;Sicilian defence&quot;]
  [WhiteElo &quot;2750&quot;]
  [WhiteFideId &quot;1170546&quot;]
  [WhiteTitle &quot;GM&quot;]
  
  1.♙e4 ♟c5 2.♘f3 ♟e6 3.♙d4 ♟cxd4 4.♘xd4 ♞c6 5.♗f4 ♟d6 6.♘xc6 ♟bxc6 7.♗d3 ♞e7 8.♙c4 ♟g6 9.♙c5 ♟e5 10.♗g5 ♝g7 11.♙cxd6 ♛xd6 12.O-O ♝e6 13.♘a3 ♜d8 14.♗e2 ♛xd1 15.♖fxd1 ♜xd1+ 16.♗xd1 ♚d7 17.♗e2 ♞c8 18.♖d1+ ♚c7 19.♗c4 ♝g4 20.♙f3 ♟f6 21.♗e3 ♝d7 22.♗e2 ♟h5 23.♘c2 ♝f8 24.♙a3 ♟a5 25.♔f1 ♝e6 26.♗d2 ♚b6 27.♘e3 ♞d6 28.♖c1 ♟c5 29.♗e1 ♝h6 30.♖d1 ♜d8 31.♘d5+ ♝xd5 32.♖xd5 ♝e3 33.♖d3 ♝d4 34.♖b3+ ♚c6 35.♗xa5 ♜a8 36.♖b6+ ♚d7 37.♖a6 ♜xa6 38.♗xa6 ♝xb2 39.♙a4 ♟c4 40.♗b4 ♟h4 41.♔e2 ♚c6 42.♗a5 ♝c1 43.♗d8 ♝g5 44.♔d1 ♚d7 45.♗b6 ♚c6 46.♙a5 ♝f4 47.♔c2 ♟f5 48.♔c3 ♟fxe4 49.♙fxe4 ♞xe4+ 50.♔xc4 ♞d6+ 51.♔b4 ♝xh2 52.♗e2 ♟e4 53.♗c5 ♞f5 54.♗b5+ ♚c7 55.♗b6+ ♚b7 56.♗c4 ♞d6 57.♗e2 ♚c6 58.♗c5 ♞f5 59.♗b5+ ♚c7 60.♙a6 ♝d6 61.♙a7 ♝xc5+ 62.♔xc5 ♚b7 63.♗c6+ ♚xa7 64.♗xe4 ♞e3 65.♔d4 ♞xg2 66.♗xg2 ♟g5 67.♗h3 ♟g4 68.♗xg4 ♟h3 69.♗xh3
  </code></pre>
  <h5>Open in ms word</h5>
  <p><a href="https://i.sstatic.net/6A4VB.png" rel="noreferrer"><img src="https://i.sstatic.net/6A4VB.png" alt="enter image description here" /></a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-07-06T06:10:33.493Z
Answers.Text: i was wondering if the font needs to pre installed or are these unicode characters
Answers.UserDisplayName: cmgchess
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-07-06T08:21:18.037Z
Answers.Text: It is on unicode.
Answers.UserDisplayName: ferdy
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-07-08T19:55:20.493Z
Answers.Text: I am more of a windows executable person.
  python is for later for me.
  can it be done in lazarus?
Answers.UserDisplayName: Wassim Saeed
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-07-09T18:51:24.033Z
Answers.Text: Never mind I have done it in delphi community edition.
  Very primitive exe, just two memo controls and a button, you type in one (or paste) and the other one display the figurine with a press of button.
Answers.UserDisplayName: Wassim Saeed
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-07-06T05:47:51.787Z
Answers.LastActivityDate: 2022-07-06T05:47:51.787Z
Answers.UserDisplayName: ferdy
Body: <p>I need a tool to convert the lines from a pgn file to figurine notation. to paste later in a word processor, any suggestions?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-07-05T21:03:50.220Z
Comments.Text: Interested in a description how to do this yourself using word (with or without the usage of macros) in win or mac?
Comments.UserDisplayName: Peter Fischer
Tags: <pgn><chess-font>
Title: Is there a tool to convert the lines from a pgn file to figurine notation?
ThreadText: # Is there a tool to convert the lines from a pgn file to figurine notation?
  
  (Asked by: username_0 on 2022-07-05)
  
  I need a tool to convert the lines from a pgn file to figurine notation. to paste later in a word processor, any suggestions?
  
  **Tags:** pgn, chess-font
  
  > **Comments:**
  > **username_1**: Interested in a description how to do this yourself using word (with or without the usage of macros) in win or mac?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2022-07-06. Score: 6
  
  You can use a python script to read the pgn file using [python-chess library.](https://python-chess.readthedocs.io/en/latest/) Examine each move and get the piece (K, Q ... k, q ...) and convert each specific piece symbol to [figurine.](https://en.wikipedia.org/wiki/Chess_symbols_in_Unicode)
  
  ### Output
  
  ```
  [Event "FIDE Candidates 2022"]
  [Site "Madrid ESP"]
  [Date "2022.06.17"]
  [Round "1.1"]
  [White "Duda, Jan-Krzysztof"]
  [Black "Rapport, Richard"]
  [Result "1/2-1/2"]
  [BlackElo "2764"]
  [BlackFideId "738590"]
  [BlackTitle "GM"]
  [ECO "B44"]
  [EventDate "2022.06.17"]
  [Opening "Sicilian defence"]
  [WhiteElo "2750"]
  [WhiteFideId "1170546"]
  [WhiteTitle "GM"]
  
  1.♙e4 ♟c5 2.♘f3 ♟e6 3.♙d4 ♟cxd4 4.♘xd4 ♞c6 5.♗f4 ♟d6 6.♘xc6 ♟bxc6 7.♗d3 ♞e7 8.♙c4 ♟g6 9.♙c5 ♟e5 10.♗g5 ♝g7 11.♙cxd6 ♛xd6 12.O-O ♝e6 13.♘a3 ♜d8 14.♗e2 ♛xd1 15.♖fxd1 ♜xd1+ 16.♗xd1 ♚d7 17.♗e2 ♞c8 18.♖d1+ ♚c7 19.♗c4 ♝g4 20.♙f3 ♟f6 21.♗e3 ♝d7 22.♗e2 ♟h5 23.♘c2 ♝f8 24.♙a3 ♟a5 25.♔f1 ♝e6 26.♗d2 ♚b6 27.♘e3 ♞d6 28.♖c1 ♟c5 29.♗e1 ♝h6 30.♖d1 ♜d8 31.♘d5+ ♝xd5 32.♖xd5 ♝e3 33.♖d3 ♝d4 34.♖b3+ ♚c6 35.♗xa5 ♜a8 36.♖b6+ ♚d7 37.♖a6 ♜xa6 38.♗xa6 ♝xb2 39.♙a4 ♟c4 40.♗b4 ♟h4 41.♔e2 ♚c6 42.♗a5 ♝c1 43.♗d8 ♝g5 44.♔d1 ♚d7 45.♗b6 ♚c6 46.♙a5 ♝f4 47.♔c2 ♟f5 48.♔c3 ♟fxe4 49.♙fxe4 ♞xe4+ 50.♔xc4 ♞d6+ 51.♔b4 ♝xh2 52.♗e2 ♟e4 53.♗c5 ♞f5 54.♗b5+ ♚c7 55.♗b6+ ♚b7 56.♗c4 ♞d6 57.♗e2 ♚c6 58.♗c5 ♞f5 59.♗b5+ ♚c7 60.♙a6 ♝d6 61.♙a7 ♝xc5+ 62.♔xc5 ♚b7 63.♗c6+ ♚xa7 64.♗xe4 ♞e3 65.♔d4 ♞xg2 66.♗xg2 ♟g5 67.♗h3 ♟g4 68.♗xg4 ♟h3 69.♗xh3
  
  ```
  
  ##### Open in ms word
  
  [![enter image description here](https://i.sstatic.net/6A4VB.png)](https://i.sstatic.net/6A4VB.png)
  
  > **Comments:**
  > **username_3**: i was wondering if the font needs to pre installed or are these unicode characters  
  > **username_2**: It is on unicode.  
  > **username_0**: I am more of a windows executable person. python is for later for me. can it be done in lazarus?  
  > **username_0**: Never mind I have done it in delphi community edition. Very primitive exe, just two memo controls and a button, you type in one (or paste) and the other one display the figurine with a press of button.  
  
  ---
  
  