On 09/05/11 21:27, Harvey Kelly wrote:

Hi,

> Hello,
>
>> Thanks, we must see if we can correct the exporting code accordingly.
>> We recently touched this code in view of some troubles in scid's pgn window.
>> The code is a nightmare, actually. It addresses all export options and
>> export channels (pgn, html and tex) in a single function. This makes the
>> code hard to understand and each change to it affects a zillion test
>> cases. We may have missed one :-)
> To a complete layman - what do I have to in order to get Scid
> exporting Latex next time? (Is it a case of me studying the .tex file
> Ulrich sent?)

Sorry, but for now you will have to patch the tex file manually.

I hope you can follow me talking in terms of structure (and my story 
probably holds only for a game without variations):

Within the "\begin{chess}" just below the top of the file and the 
"\end{chess}" at the end of the file, you need three types of blocks

1. Comments are between "\begin{nochess}" and "\end{nochess}". This is 
OK now.

2. Moves are between "\begin{tabular}{p{1cm}p{2cm}p{2cm}}" and 
"\end{tabular}". You need to correct this manually. Currently a begin 
tabular immediately follows the start of the chess block.  This must be 
removed, just as the end tabular just before the end of the chess block.

Within a move block "\\" are placed to make a new line. No new line 
after the last line of the block. This is OK now.
If the block ends with a white move, the second "&" (column separator to 
a blank black move) is missing. Add this manually.

3. Diagrams are between "\begin{diagram}" and "\end{diagram}". This is 
OK now.

Finally, ensure that all the blocks (of any of the 3 types) are 
separated by at least one blank line. Currently this not handled well in 
all cases. Extra "\\" symbols in between the blocks can be removed.

I hope this helps!

And yes, repairing this in scid is a nasty job :-(

Nevertheless, thanks for reporting!

Having said this, if you disable the column style move output, you will 
see acceptable pdf; albeit not the one you may like....

Cheers,
Joost.


> Harvey
>
> ------------------------------------------------------------------------------
> Special Offer -- Download ArcSight Logger for FREE!
> Finally, a world-class log management solution at an even better
> price-free! And you'll get a free "Love Thy Logs" t-shirt when you
> download Logger. Secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsisghtdev2dev
> _______________________________________________
> Scid-users mailing list
> Scid-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/scid-users
>


------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users

Reply via email to