Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Insert pre-move comment after a variation #275

Open
Ballintleave opened this issue Jan 1, 2024 · 1 comment
Open

Insert pre-move comment after a variation #275

Ballintleave opened this issue Jan 1, 2024 · 1 comment

Comments

@Ballintleave
Copy link

How to insert a pre-move comment immediately after a variation? In following the assumed syntax, the pre-move comment appears before the variation which is misleading because the comment applies to the move after the variation, not to the variation.
Example:

Input syntax
(variation){pre-move_comment} next_move

Expected output
(variation) pre-move_comment next_move

Actual output
pre-move_comment (variation) next_move

@yo35
Copy link
Owner

yo35 commented Jan 1, 2024

The PGN format is ambiguous regarding text comments, as it does not specify clearly to which move a comment relates to: it's up to the software implementers to guess this relation depending on the context.

Still, in the situation you describe, what is guessed by RPB Chessboard could be improved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants