I'm working on a way to write bridge system notes in text format, which then can be converted into nice looking PDF documents or HTML pages (and even the BBO full disclosure format, bu then only the bidding sequences). If you're interested, you can check it out at https://github.com/kungsgeten/bml .
I'm planning to add functionality to add deal diagrams. My hope is that it should be easy to both write and read these diagrams. The most obvious solution would be something like this:
Dealer:North Vul:EW Kxx T9 xxx Q987x QT Jxx KQxxxx Jxx KTx AJxx Jx KTx A987x Ax Q9x Axx
This is easy to read, since it looks like a normal deal diagram. The problem is that it takes time to write. There's a lot of whitespace going on.
PBN uses this notation:
N:K62.T9.542.Q9874 J53.J85.AJ86.KT5 A9874.A3.Q93.A63 QT.KQ7642.KT7.J2
This is hard to read, and pretty hard to write too. I guess it is better suited as a data storage format. LIN-files uses something similar.
One could use the PBN-style, but separate the hands on different rows (and indicate which player holds each hand):
Dealer:North Vul:EW N:K62.T9.542.Q9874 E:J53.J85.AJ86.KT5 S:A9874.A3.Q93.A63 W:QT.KQ7642.KT7.J2
Its some sort of middleway I guess. The suits could also be separated on different lines:
Dealer:North Vul:EW North Kxx T9 xxx Q987x West QT KQxxxx KTx Jx South A987x Ax Q9x Axx East Jxx Jxx AJxx KTx
This takes up quite a lot of vertical space, but (to me) makes it easy to read the players' individual hands. Ofcourse it is not as easy to read the whole deal as the first example though.
So, which one of these notation styles (or please suggest other alternatives) would you suggest supporting? Supporting multiple ways is probably possible as well I guess.