X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=doc%2Fmake_fig2;fp=doc%2Fmake_fig2;h=0000000000000000000000000000000000000000;hb=8ce8026a83784396ecdb1cc1530ab09c7ae0a53c;hp=94e867c973a3458f9f670bde9935bf5b0f78bbe2;hpb=ee7854267f81987f44e5f4973f3d55e09bd38174;p=gnushogi.git diff --git a/doc/make_fig2 b/doc/make_fig2 deleted file mode 100755 index 94e867c..0000000 --- a/doc/make_fig2 +++ /dev/null @@ -1,53 +0,0 @@ -#! /usr/bin/env python - -import sys, re - -key = "three-mover. Here is a really trivial three-mover:" - -replace = """ -three-mover. Here is a really trivial three-mover: -

-

-
-   3    2    1            
-----------------+         
- |    |    |    |  a         
-----------------+           
- |    |    | wK |  b         
-----------------+           
- |    |    |    |  c       
-----------------+         
- | bN |    |    |  d       
-----------------+         
- |    |    |    |  e       
-----------------+         
- |    | bN |    |  f       
-----------------+
-
-Black in hand: S, G
-
-
-""" - -# -# Insert the figure directly into the html file. -# - -done = 0 - -while 1: - line = sys.stdin.readline() - if not line: - break - - if not done: - match = re.match(key, line) - if match: - print replace, - done = 1 - else: - print line, - else: - print line, - -