user12273: I am looking for the PGN file corresponding to Watson's strategic chess opening repertoire for white; is it available? If the PGN is not available, I would be interested to know what other opening books have a PGN companion available. 
as a side note I've though about writing a python script to read in chess books as PDF and extracting the variations as PGN. Has anyone done this yet?

user-1: Given that PGN files are just plain text, then you can create your own.
From wikipedia you need 7 tags:

PGN data for archival storage is required to provide seven bracketed fields, referred to as "tags"...:

Event
Site
Date: the starting date of the game, in YYYY.MM.DD form. ?? is used for unknown values
Round
White: the player of the white pieces, in Lastname, Firstname format.
Black: the player of the black pieces, same format as White.
Result: the result of the game. This can only have four possible values: 1-0 (White won), 0-1 (Black won), 1/2-1/2 (Draw), or * (other, e.g., the game is ongoing).


An example might be:
[Event "QGA: Main line with 7.Bd3"] 
[Site "?"] 
[Date "????.??.??"] 
[Round "?"] 
[White "Me"] 
[Black "The other guy"] 
[Result "*"] 

d4 d5 2. c4 dxc4 3. Nf3 Nf6 4. e3 e6 5. Bxc4 c5 6. O-O a6 7. Bd3 *


12273: <p>I am looking for the PGN file corresponding to Watson's strategic chess opening repertoire for white; is it available? If the PGN is not available, I would be interested to know what other opening books have a PGN companion available. </p>

<p>as a side note I've though about writing a python script to read in chess books as PDF and extracting the variations as PGN. Has anyone done this yet?</p>
 -1: <p>Given that PGN files are just plain text, then you can create your own.</p>

<p>From <a href="https://en.wikipedia.org/wiki/Portable_Game_Notation" rel="nofollow noreferrer">wikipedia</a> you need 7 tags:</p>

<blockquote>
  <p>PGN data for archival storage is required to provide seven bracketed fields, referred to as "tags"...:</p>
  
  <ol>
  <li>Event</li>
  <li>Site</li>
  <li>Date: the starting date of the game, in YYYY.MM.DD form. ?? is used for unknown values</li>
  <li>Round</li>
  <li>White: the player of the white pieces, in Lastname, Firstname format.</li>
  <li>Black: the player of the black pieces, same format as White.</li>
  <li>Result: the result of the game. This can only have four possible values: 1-0 (White won), 0-1 (Black won), 1/2-1/2 (Draw), or * (other, e.g., the game is ongoing).</li>
  </ol>
</blockquote>

<p>An example might be:</p>

<p>[Event "QGA: Main line with 7.Bd3"] <br/>
[Site "?"] <br/>
[Date "????.??.??"] <br/>
[Round "?"] <br/>
[White "Me"] <br/>
[Black "The other guy"] <br/>
[Result "*"] <br/></p>

<ol>
<li>d4 d5 2. c4 dxc4 3. Nf3 Nf6 4. e3 e6 5. Bxc4 c5 6. O-O a6 7. Bd3 *</li>
</ol>
