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

Support for chessbase/hiarcs square highlights and arrows #27

Closed
yo35 opened this issue Jan 23, 2015 · 6 comments
Closed

Support for chessbase/hiarcs square highlights and arrows #27

yo35 opened this issue Jan 23, 2015 · 6 comments

Comments

@yo35
Copy link
Owner

yo35 commented Jan 23, 2015

jeremy.bernstein wrote:

Hi, I'm very excited to see this plugin. One feature request I have for a rainy day: support for the colored square highlight and arrows annotations produced by ChessBase and HIARCS database products. For instance:
[Event "?"]
[Site "?"]
[Date "?"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
{ [%csl Gb1,Rg1,Ye3,Yf4][%cal Ya3a6,Gc2c7,Rf5h5] } *
%csl is the colored square marker: Green b1, Red g1, Yellow e3, Yellow f4
%cal is the colored arrow marker: Yellow from a3 to a6, Green from c2 to c7, Red from f5 to h5.
It would be great to be able to display these natively: I normally have to make a screenshot.
Thanks for considering it!
Jeremy

@yo35
Copy link
Owner Author

yo35 commented Jan 23, 2015

Hi,
This is definitely a feature to implement. A proof-of-concept for this has already been developed by another user (see http://www.salamancaajedrez.com/index.php/partida-de-la-semana/143-caruana-carlsen-tata-steel), so it may be included soon with the "official" plugin release.

@jcgirar
Copy link

jcgirar commented Jan 23, 2015

Hello, I am the user who wrote that proof of concept. I used the format [#gcomment color A a1 a2 M b4 M d5 A d3 d4] A=arrow , M= mark square. So in one coment you can include all the comments in one color. Also you can change color for any SVG accepted named color, like "green" "blue", etc
http://www.december.com/html/spec/colorsvg.html
i didnt try myself all, just a few. In any case i think its easy to change to accept comments in the form of ChessBase or Hiarcs

@jeremybernstein
Copy link

So cool!

@yo35
Copy link
Owner Author

yo35 commented Jun 6, 2015

Done in version 4.0.

The coding format adopted for square and arrow markers is [%csl Gb1,Rg1,Ye3,Yf4] and [%cal Ya3a6,Gc2c7,Rf5h5], in order to ensure a good compatibility with Chessbase products.

@yo35 yo35 closed this as completed Jun 6, 2015
@jcgirar
Copy link

jcgirar commented Jun 6, 2015

really impresive, thats how i imagined it, but my time its very very
limited. thanks

2015-06-06 18:27 GMT+02:00 Yoann Le Montagner [email protected]:

Done in version 4.0.

The coding format adopted for square and arrow markers is [%csl
Gb1,Rg1,Ye3,Yf4] and [%cal Ya3a6,Gc2c7,Rf5h5], in order to ensure a good
compatibility with Chessbase products.


Reply to this email directly or view it on GitHub
#27 (comment).

@jeremybernstein
Copy link

Awesome. Thank you so much, very excited to get my hands on this.

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

3 participants