[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] (LaTeX) export. A new variable to the move structs?
From: |
Jim Segrave |
Subject: |
Re: [Bug-gnubg] (LaTeX) export. A new variable to the move structs? |
Date: |
Fri, 21 Nov 2003 23:21:57 +0100 |
User-agent: |
Mutt/1.4.1i |
On Fri 21 Nov 2003 (20:27 +0100), ?ystein Johansen wrote:
> Hi,
>
> I'm working on commenting a match, and I want to export it to LaTeX. The
> "Problem is that the LaTeX export, and all the other export formats as
> well, exports all boards and all the analysis, and the documents becomes
> enormous. A simple 9 point match will easily become 100+ pages, and most
> of the space is taken by printed boards and most of the printed boards
> are even uninteresing.
>
> So.....
> I've been thinking of several solutions to this. The user should in some
> way be able to choose which positions and analysis which should be
> exported.
>
> Alternative 1:
> Make a escape command in the commentary field for each board to be
> printed. I.e if I start a commentary with \exportboard this will be
> recognized by the export function and PrintLaTeXboard will be called for
> this move record.
>
> if (strncmp(pmr->n.sz, "\\exportboard" 12)
> PrintLaTeXBoard( pf, &msExport, pmr->n.fPlayer );
>
> Alternative 2:
> Add two new items to the move record union structs MOVE_NORMAL,
> MOVE_DOUBLE, MOVE_TAKE and MOVE_DROP.
> Each of these structs can add the items:
>
> int fExportBoard;
> int fExportAnalysis;
>
> If these flags are set by the user, the boards and the anlysis are exported.
>
> Which is best? Why? Suggestions? Is there any thing I'm missing?
A button in the game record window that puts a mark in the move
records (don't forget resign records).
It could be used for many purposes, such as batch selection of moves
to be re-analysed, rolled out, exported in any format, etc. It's a
general purpose tool.
It would be usefule to have commands to do
mark all moves in match/game
mark all errors above some level
mark current move
clear all marked moves in game/match
clear current mark
perhaps a dropdowm menu on the game record with the ability to
shortcut the commands, although I think most people would only want
shortcuts for mark/unmark current move
--
Jim Segrave address@hidden