Next Previous Contents

7. ``Mainline'' vs. ``movecomment''

As already mentioned in Recursive annotation variations, Pgn2ltx uses the ``mainline'' environment for displaying the game moves per default.

If you add the option ``-c'' to your program call, the ``movecomment'' command is not only used for annotations but also for the mainline of the game.

Your reasons for doing so could be the following:

  1. If you process a large amount of PGN games and don't care about displaying board positions with the ``showboard'' command, using ``movecomment'' speeds up the LaTeX run significantly. The chess moves don't have to be ``executed'' anymore...
  2. Some programs, e.g. `cb2pgn', export PGN but give the moves in LAN (Long Algebraic Notation) which is not yet supported in the ``skak'' package (and a violation of the PGN standard, too). In this case, the ``-c'' option might be your only resource.
  3. You don't want Pgn2ltx to insert move numbers if they are missing ... for what reason ever.

The, more or less, obvious drawbacks are:

  1. You can't say ``showboard'' in the middle of a game and display the current board position anymore.
  2. The checks for missing move numbers are switched off.
  3. The ``skak'' styles ("styleA", "styleB" and "styleC") have no effect within ``movecomment''.

Next Previous Contents