Tool to create diagrams with TeX

category: offtopic [glöplog]
[completly off topic...]

I've just finished a preprocessor to create square grid diagrams in the TeX typesetting system. It allows to create Chess, Checkers, Draughts, Go, Tic-tac-toe, Dots and boxes, puzzles... and fairy variants of chess. Maybe it can be of interest to some people here? C source is included.


Someone told me it doesn't work on win7 64bits (i use djgpp, an old gcc version for m$do$). Anyone can help?

Best regards
added on the 2012-08-28 17:25:21 by baah baah
added on the 2012-08-28 17:26:48 by baah baah
i use djgpp, an old gcc version for m$do$). Anyone can help?

Uhm, how about not using a 16-bit compiler in this time and age (which a DOS compiler always is, no matter if it makes use of 32-bit protected mode extensions and whatnot)?
http://users.hol.gr/~ggn/stuff/ffen2tex.zip compiled using some version of gcc on the old mingw install I have lying around.


$ gcc --version
gcc.exe (tdm-1) 4.5.1
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO

Alain, Saga Musix has a point though, just get mingw or cygwin if you want a free modern compiler for windows (or visual studio express which has some free versions, dunno about latest).
added on the 2012-08-28 18:47:14 by すすれ すすれ
Thanks George! :)
Humm... Yes, you are right i suppose, but i don't like installing something that already is...
added on the 2012-08-28 21:44:56 by baah baah
Updated, now handles cubes, hexagonal boards and polyminoes...
Links above.

BB Image
added on the 2019-02-08 17:59:00 by baah baah
Cool, and there is also fab which seems useful. Can't think of a time when I had the need for generating diagrams in TeX but pattern generators in general are fascinating.
added on the 2019-02-10 11:44:50 by El Topo El Topo
I'm still improving my tool to create diagrams (I use it a lot in my new work), now it handles perspective 3D... ;-)
BB Image
added on the 2019-08-07 17:58:01 by baah baah
3D Tetris on the left? Gewd! Ha, a sofa (for the lazy scenner) on the right ^^?
Riiiight!! Playing tetris on the sofa =)!
added on the 2019-08-07 20:19:53 by sim sim
@sim: it's from my puzzle game Cubissimo, in which you have 7 pieces and a given starting position to reconstruct the shape.
And I knew the sofa would ring some bells! ;-)
added on the 2019-08-07 22:55:11 by baah baah
^^ some bells yes ;)

Ha! I was thinking about... If, for exemple, you add all the AMIGA/PC ASCII, as well as PETSCII characters, one could then easly convert many good ascii/petscii if one would like to put them into the documents =D.
That would be great =).
added on the 2019-08-08 20:20:36 by sim sim
djgpp rocks. i used it for my first demo. was it using cwsdpmi? can't remember.
added on the 2019-08-09 21:56:42 by jco jco
@jco: err... Can't say, also no memory of that. Since then I have been following the advice and it is now compiled with gcc.
added on the 2019-08-09 22:43:08 by baah baah