Hi, I am trying to translate this pgn into my lang but there is something wrong with it
original pgn: http://www.openchessbooks.org/capablanc ... mates.html
translated one: https://satrancdersleri.com/ders/bazi-basit-matlar/
pgn is the same but output is different, incomplete
thanks
Not showing all pgns correctly
-
- Posts: 57
- Joined: Wed Mar 08, 2017 8:17 am
Re: Not showing all pgns correctly
Hi, can you copy/paste the pgn string that you used in you wordpress editor?
To my experience, This situation would happen if you separate the comment on move by breaking a line in wordpress editor. Maybe you have entered it like this:
1. e4 b6 2. d4 Bb7 3. Nc3 e6 4. a3 Nf6 5. e5 Nd5 6. Bd2 Be7 7. Bc4 Nxc3 8. Bxc3 Bxg2 9. Ne2 Bxh1 10. Ng3 Bd5 11. Bxd5 exd5
{Black is completely dominate, a whole rook ahead.}
12. Nf5 O-O 13. Qg4 Bg5
It should displayed correctly after you remove the line breaking:
1. e4 b6 2. d4 Bb7 3. Nc3 e6 4. a3 Nf6 5. e5 Nd5 6. Bd2 Be7 7. Bc4 Nxc3 8. Bxc3 Bxg2 9. Ne2 Bxh1 10. Ng3 Bd5 11. Bxd5 exd5 {Black is completely dominate, a whole rook ahead.}12. Nf5 O-O 13. Qg4 Bg5
Cheer
To my experience, This situation would happen if you separate the comment on move by breaking a line in wordpress editor. Maybe you have entered it like this:
1. e4 b6 2. d4 Bb7 3. Nc3 e6 4. a3 Nf6 5. e5 Nd5 6. Bd2 Be7 7. Bc4 Nxc3 8. Bxc3 Bxg2 9. Ne2 Bxh1 10. Ng3 Bd5 11. Bxd5 exd5
{Black is completely dominate, a whole rook ahead.}
12. Nf5 O-O 13. Qg4 Bg5
It should displayed correctly after you remove the line breaking:
1. e4 b6 2. d4 Bb7 3. Nc3 e6 4. a3 Nf6 5. e5 Nd5 6. Bd2 Be7 7. Bc4 Nxc3 8. Bxc3 Bxg2 9. Ne2 Bxh1 10. Ng3 Bd5 11. Bxd5 exd5 {Black is completely dominate, a whole rook ahead.}12. Nf5 O-O 13. Qg4 Bg5
Cheer
Re: Not showing all pgns correctly
Thank you for the reply but it didnt work for mee
Re: Not showing all pgns correctly
I have started looking at this.
It's a complicated PGN with a combination of sub variations and comments. The PGN parser in DHTML Chess have a hard time parsing it. I will get some free time this upcoming weekend to look more at this.
It's a complicated PGN with a combination of sub variations and comments. The PGN parser in DHTML Chess have a hard time parsing it. I will get some free time this upcoming weekend to look more at this.
Re: Not showing all pgns correctly
The problem with PGNS like this should now have been resolved.
There were two issues:
1) It didn't handle comments with multiple hard linebreaks(newlines) very well
2) It didn't handle comments at the beginning of variations, example: 1. e4 ({comment before first variation move} 1. d4)
There were two issues:
1) It didn't handle comments with multiple hard linebreaks(newlines) very well
2) It didn't handle comments at the beginning of variations, example: 1. e4 ({comment before first variation move} 1. d4)
-
- Posts: 57
- Joined: Wed Mar 08, 2017 8:17 am
Re: Not showing all pgns correctly
Thank you, Alf.
Who is online
Users browsing this forum: No registered users and 11 guests