But what does this HTML sequence have to do with the Pieces section of my description of the variant?
The Piece Table button in the PTA is an aid for those writing an article about a new variant, to save them the work of writing a description of the pieces by hand. If they use the PTA for creating an Interactive Diagram they can copy-paste to the Setup section (after using the Show HTML button), they can use the Piece Table button to get the Pieces section as a free side effect, as a nice table showing the images of the pieces. The Pieces section in my Makromachy article was made that way.
The highlighting problem in the preset should now be solved too. The preset was using the "accelerated legality test" (by default), and this was testing only for attacks on the first royal type in the wroyals/broyals arrays (i.e. K or k in this case). I now changed that to the first royal type that is actually on board.
The Piece Table button in the PTA is an aid for those writing an article about a new variant, to save them the work of writing a description of the pieces by hand. If they use the PTA for creating an Interactive Diagram they can copy-paste to the Setup section (after using the Show HTML button), they can use the Piece Table button to get the Pieces section as a free side effect, as a nice table showing the images of the pieces. The Pieces section in my Makromachy article was made that way.
The highlighting problem in the preset should now be solved too. The preset was using the "accelerated legality test" (by default), and this was testing only for attacks on the first royal type in the wroyals/broyals arrays (i.e. K or k in this case). I now changed that to the first royal type that is actually on board.