From: Jens N. <jen...@gm...> - 2016-04-07 07:18:06
|
Hi Frans, I have never given a thought to this, so I had to think about this for some minutes. There are at least two issues: - Forcing a newline might break our automatic formatting mechanism - Saving and retrieving a newline to / from PGN is not specified in the PGN standard (afaik) If you are only using ChessX, you can make use of a dirty hack: Insert "<br>" wherever you need a line break. But this is of course not portable and other tools will only show <br> instead of a newline. And this might not even work in future versions of ChessX, so this is a really dirty hack. Same with "\n" - I don't think, that this is supported by other tools. The problem with the newline in PGN is, that after 80 characters, a line should be terminated and the remainder of any game text or annotation should continue on the next line. Thus we cannot simply rely on a newline character in the annotation - newlines are filtered out by the PGN parser. Does anybody know of some other PGN based software which handles newlines in comments? Jens > Am 06.04.2016 um 21:23 schrieb frans jacobs <jac...@gm...>: > > Dear chessx-users, > > How do you add several paragraphs of comments to a chess game in ChessX? > > If I start a new sentence on a new line in the comment edit-box from the edit-menu, this sentence first fills the previous line once it gets inserted in the game text. How can this be prevented, in order to get several paragraphs of comments? > > Best, Frans Jacobs > > > ------------------------------------------------------------------------------ > _______________________________________________ > Chessx-users mailing list > Che...@li... > https://lists.sourceforge.net/lists/listinfo/chessx-users |