When a diagram is created using FENs, and one tries to add variations that continue from the given position, the viewer only works if the starting move number is between 1
to 9
(included). For instance, both following examples work: (when copy pasting these to test, make sure to have the 5 spaces before each line)
Using the mover number indicated in the FEN:
[title "starting at a move number <10"]
[fen "rnbq1rk1/pp2bppp/4pn2/2pp4/2PP1B2/2N1PN2/PP3PPP/R2QKB1R w KQ - 0 7"]
7.h3
Using any number as long as <10:
[title "starting at a move number <10"]
[fen "rnbq1rk1/pp2bppp/4pn2/2pp4/2PP1B2/2N1PN2/PP3PPP/R2QKB1R w KQ - 0 7"]
9.h3
However, as soon as the starting move is a 2-digit number it no longer renders the diagram, for instance:
[title "starting at move number 10 or above"]
[fen "rnbq1rk1/pp2bppp/4pn2/2pp4/2PP1B2/2N1PN2/PP3PPP/R2QKB1R w KQ - 0 7"]
10.h3
There has been related discussions before, e.g. here, but I haven't found any posts that pertain to this particular behaviour of the diagram viewer.
Is there possibly a workaround, other than using the full game PGN +
[startply ""]
, to create a diagram with a starting move number greater than9
?This may not ultimately be a bug, maybe the viewer is designed to only consider 1-digit starting move numbers, and fails to render when not satisfied. Maybe @Andrew knows more about this (?).