This is a small program I wrote to convert
a given grid to LaTex format. It is still
in the beginning stages.

Make any modifications to the Makefile. I
think the only change one might want to make
is in the value of CC, which I have set to
gcc.

Then give the input file to the program -
grid2tex. It can be given in one of three
ways.

1. grid2tex <input.xxx>
 This should create an output file "input.tex"
 which you can convert to dvi and ps formats.

2. grid2tex <input.xxx> <output.yyy>
 Pretty much self explanatory. the output
 is same as (1)

3. grid2tex
 This will take input from standard input and
 write output on the standard output. This
 can be used for redirection, etc.

A sample input file is included, called sample.grid. 



As I said above, I have just started on this and
it really doesn't do much. I am posting this on
the net mainly to get some ideas. Tell me if you
like the format. What modifications do you suggest.

If somebody has written a program to create a grid
of a stardard form (dense or sparse), including
the option of symmetry, etc, I would also like
to incorporate something like that.

Things to do:
1) Create the grid itself.
2) Add an option to read clues from a file.
     (I have already started on that, as one can
      see in the source code, i.e. identifying
      across and down clue numbers.)
3) Waiting for suggestions. :)

