diff options
author | Karl Berry <karl@freefriends.org> | 2008-09-08 00:47:19 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-09-08 00:47:19 +0000 |
commit | 572d3c71718a606b766f8a2d553c3eeffc456587 (patch) | |
tree | c9a4beea408197273a35a0fe0a72f2b7eff0da26 /Master/texmf-dist/doc/metapost | |
parent | 036469499e69e21110bdbbd77af3e90de86a382a (diff) |
new metapost package metago (26aug08)
git-svn-id: svn://tug.org/texlive/trunk@10475 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/metapost')
13 files changed, 83 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/metapost/metago/README b/Master/texmf-dist/doc/metapost/metago/README new file mode 100644 index 00000000000..a928b6c1e20 --- /dev/null +++ b/Master/texmf-dist/doc/metapost/metago/README @@ -0,0 +1,51 @@ + +MetaGo (metago.mp) + +=== License + +Copyright 2008 Wentao Zheng + +This work may be distributed and/or modified under the conditions of +the LaTeX Project Public License, either version 1.3 of this license +or (at your option) any later version. The latest version of this +license is in http://www.latex-project.org/lppl.txt and version 1.3 or +later is part of all distributions of LaTeX version 2005/12/01 or +later. + +This work has the LPPL maintenance status `maintained'. + +The Current Maintainer of this work is Wentao Zheng. + +This work consists of the file metago.mp + +=== What is MetaGo + +This package allows you to draw Go game positions with MetaPost + +=== How to use + +MetaGo provides two approaches for usage + +1. Programatic + + Source code: example-program.mp file + Output file: example-program.pdf + +2. Script-driven + + Source code: example-script.mp, script.go + Output files: example-script-1.pdf + example-script-2.pdf + example-script-3.pdf + example-script-4.pdf + example-script-5.pdf + example-script-6.pdf + example-script-7.pdf + example-script-8.pdf + +=== Bugs + +If you find any bugs, please email to + + zhengwt@cn.ibm.com + (Wentao Zheng)
\ No newline at end of file diff --git a/Master/texmf-dist/doc/metapost/metago/example-program.mp b/Master/texmf-dist/doc/metapost/metago/example-program.mp new file mode 100644 index 00000000000..bc5549fc0f3 --- /dev/null +++ b/Master/texmf-dist/doc/metapost/metago/example-program.mp @@ -0,0 +1,19 @@ +input metago; + +beginfig(1); + + set_board_color(0.2,0.4,0.6); + set_board_size 18; + init_board; + + put_b(B18); + put_b(B16); + put_b(A17); + put_w(B17); + put_b(C17); + + display_board; + +endfig; + +end
\ No newline at end of file diff --git a/Master/texmf-dist/doc/metapost/metago/example-program.pdf b/Master/texmf-dist/doc/metapost/metago/example-program.pdf Binary files differnew file mode 100644 index 00000000000..60e521659ee --- /dev/null +++ b/Master/texmf-dist/doc/metapost/metago/example-program.pdf diff --git a/Master/texmf-dist/doc/metapost/metago/example-script-1.pdf b/Master/texmf-dist/doc/metapost/metago/example-script-1.pdf Binary files differnew file mode 100644 index 00000000000..0b4ce2883ed --- /dev/null +++ b/Master/texmf-dist/doc/metapost/metago/example-script-1.pdf diff --git a/Master/texmf-dist/doc/metapost/metago/example-script-2.pdf b/Master/texmf-dist/doc/metapost/metago/example-script-2.pdf Binary files differnew file mode 100644 index 00000000000..247890019ae --- /dev/null +++ b/Master/texmf-dist/doc/metapost/metago/example-script-2.pdf diff --git a/Master/texmf-dist/doc/metapost/metago/example-script-3.pdf b/Master/texmf-dist/doc/metapost/metago/example-script-3.pdf Binary files differnew file mode 100644 index 00000000000..6a296339be7 --- /dev/null +++ b/Master/texmf-dist/doc/metapost/metago/example-script-3.pdf diff --git a/Master/texmf-dist/doc/metapost/metago/example-script-4.pdf b/Master/texmf-dist/doc/metapost/metago/example-script-4.pdf Binary files differnew file mode 100644 index 00000000000..1c792828663 --- /dev/null +++ b/Master/texmf-dist/doc/metapost/metago/example-script-4.pdf diff --git a/Master/texmf-dist/doc/metapost/metago/example-script-5.pdf b/Master/texmf-dist/doc/metapost/metago/example-script-5.pdf Binary files differnew file mode 100644 index 00000000000..f0bb92cd8fb --- /dev/null +++ b/Master/texmf-dist/doc/metapost/metago/example-script-5.pdf diff --git a/Master/texmf-dist/doc/metapost/metago/example-script-6.pdf b/Master/texmf-dist/doc/metapost/metago/example-script-6.pdf Binary files differnew file mode 100644 index 00000000000..5248593896f --- /dev/null +++ b/Master/texmf-dist/doc/metapost/metago/example-script-6.pdf diff --git a/Master/texmf-dist/doc/metapost/metago/example-script-7.pdf b/Master/texmf-dist/doc/metapost/metago/example-script-7.pdf Binary files differnew file mode 100644 index 00000000000..dbe815b4aaf --- /dev/null +++ b/Master/texmf-dist/doc/metapost/metago/example-script-7.pdf diff --git a/Master/texmf-dist/doc/metapost/metago/example-script-8.pdf b/Master/texmf-dist/doc/metapost/metago/example-script-8.pdf Binary files differnew file mode 100644 index 00000000000..bcf75c2b747 --- /dev/null +++ b/Master/texmf-dist/doc/metapost/metago/example-script-8.pdf diff --git a/Master/texmf-dist/doc/metapost/metago/example-script.mp b/Master/texmf-dist/doc/metapost/metago/example-script.mp new file mode 100644 index 00000000000..551253becc2 --- /dev/null +++ b/Master/texmf-dist/doc/metapost/metago/example-script.mp @@ -0,0 +1,5 @@ +input metago; + +set_board_size 6; script "script.go"; + +end
\ No newline at end of file diff --git a/Master/texmf-dist/doc/metapost/metago/script.go b/Master/texmf-dist/doc/metapost/metago/script.go new file mode 100644 index 00000000000..af6805ab092 --- /dev/null +++ b/Master/texmf-dist/doc/metapost/metago/script.go @@ -0,0 +1,8 @@ +B A 6 +W B 5 +B B 4 +W A 4 +B E 2 +W B 3 +B E 1 +W C 4 |