[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: |
Achim Mueller |
Subject: |
Re: [Bug-gnubg] (LaTeX) export. A new variable to the move structs? |
Date: |
Fri, 21 Nov 2003 21:26:36 +0100 |
User-agent: |
Mutt/1.5.4i |
* Øystein Johansen wrote on 21 Nov 2003:
> Hi,
>
> 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?
My first thought: Why not a mix and let the user choose?
1. Alternative: as it is (in settings a button "export every board"
2. Alternative: a second button (print all marked moves/cube
decisions
3. Alternative: add a flag to ?! (i.e. p=print) for extra boards.
Or, as you suggested, into the annotation table. But let the user
click an icon for inserting the excape sequenz ;-).
The board should always be printed _before_ move/cube decisions?!
After?! In between?!
Just my two cent
Ciao
Achim
--
achim mueller, anne-frank-str. 25, D-48431 rheine
+49 (0)5971 83767, +49 (0)163 8458340
-------------------------------------------------
pgp/gnupg key: 1024D/5DF3A722 (wwwkeys.de.pgp.net)
pgpSFu1T2Dpkp.pgp
Description: PGP signature