Having trouble formatting my PGN. Please Help!

Sort:
Avatar of Travisjw

I have a PGN of analysis I was doing in Arena.   I want to post it here.   However every time a variation ends and it's black's move, the line dies.   Here's the first part of my PGN so you can see what I mean:



[SetUp "1"]
[FEN "8/7p/1B6/P3b1p1/2k5/7P/5P2/6K1 w - - 0 1"]

1. Be3 Kb5 2. Bxg5 Bc3 3. a6 Kxa6 4. Kg2 (4. f4 Kb5 5. f5 Kc6 6. Be7 (6. f6 Bb4 7. f7 Bf8½) 6. Kd7 7. f6 Ke6½) 4. Kb5 5. Kf3 Kc4 6. Ke4 Bb4


Yields


I'm missing everything from 6... Kd7 on in the variation, and 4... Kb5 on in the mainline.  I assume this just means the chess.com format is different from the Arena format.   I've tried using "6... kd7" "kd7" and " kd7"  None of them work!   Anyone know what I should do?

 

In a related question, does anyone know of software I can do analysis with where the resulting pgn IS formatted the way chess.com likes it?  Having to reformat all my PGNs before posting them is probably going to annoy me :p.

Avatar of Phssthpok

Try removing the "½" symbols at the end of the variations - they aren't in the standard PGN format specification. With that and changing the "4. Kb5" to "4... Kb5", etc (which may not be necessary) I obtained:

 

Avatar of Travisjw

brilliant!   thanks :)