Next Previous Contents

4. Additional options

4.1 No notation

If you don't want to provide a notation for the chess diagram, you can specify the option ``-n'' while calling Fen2eps. The board is output without notation letters and digits then.

4.2 Reverse board

You might want to display a board from Blacks perspective. In this case, use the option ``-r'' which creates a diagram that is drawn reverse.

4.3 Exporting several FEN strings at once

Exporting several FEN strings with the same settings is a tedious task. Fen2eps can help if you prepare a file, let's name it `many.fen', that contains all the chess positions you want to convert. By specifying the ``-p'' option you give Fen2eps a file prefix it can use for generating single EPS diagrams automatically. You can say

fen2eps -p diag/dg < many.fen

for example. What you get is one EPS file for each FEN string in `many.fen'. These EPS files are created in the directory `diag' and have the prefix `dg' followed by a unique number.

If the ``-p'' option is given, Fen2eps does NOT write to `stdout' but to the created files directly. So redirecting the output by appending a

> isempty.eps

to the program call does not have any effect (except that you get an empty file named `isempty.eps'...).

Of course, you can mix all these options and after the call

fen2eps -n -r -p diag/dg -f fed/lucena.fed < many.fen

(let's assume the file `many.fen' contains 7 FEN strings...) you can find the files `dg1.eps' to `dg7.eps' in the directory `diag'. All boards are displayed reverse, without notation and use the font ``Chess Lucena''.


Next Previous Contents