From 823277953ab7d46de40b4d47259dc316fe34f431 Mon Sep 17 00:00:00 2001 From: aarne Date: Thu, 16 Aug 2007 16:18:54 +0000 Subject: [PATCH] moved tutorial examples to GF/examples --- doc/tutorial/Makefile | 12 +++++++++--- {doc/tutorial => examples/tutorial/food}/Food.gf | 0 {doc/tutorial => examples/tutorial/food}/FoodEng.gf | 0 {doc/tutorial => examples/tutorial/food}/FoodIta.gf | 0 {doc/tutorial => examples/tutorial/hello}/Hello.gf | 0 .../tutorial => examples/tutorial/hello}/HelloEng.gf | 0 .../tutorial => examples/tutorial/hello}/HelloFin.gf | 0 .../tutorial => examples/tutorial/hello}/HelloIta.gf | 0 .../tutorial/syntax}/MorphoEng.gf | 0 .../tutorial/syntax}/MorphoIta.gf | 0 .../resource => examples/tutorial/syntax}/Syntax.gf | 0 .../tutorial/syntax}/SyntaxEng.gf | 0 .../tutorial/syntax}/SyntaxIta.gf | 0 .../resource => examples/tutorial/syntax}/Test.gf | 0 .../resource => examples/tutorial/syntax}/TestEng.gf | 0 .../resource => examples/tutorial/syntax}/TestIta.gf | 0 16 files changed, 9 insertions(+), 3 deletions(-) rename {doc/tutorial => examples/tutorial/food}/Food.gf (100%) rename {doc/tutorial => examples/tutorial/food}/FoodEng.gf (100%) rename {doc/tutorial => examples/tutorial/food}/FoodIta.gf (100%) rename {doc/tutorial => examples/tutorial/hello}/Hello.gf (100%) rename {doc/tutorial => examples/tutorial/hello}/HelloEng.gf (100%) rename {doc/tutorial => examples/tutorial/hello}/HelloFin.gf (100%) rename {doc/tutorial => examples/tutorial/hello}/HelloIta.gf (100%) rename {doc/tutorial/resource => examples/tutorial/syntax}/MorphoEng.gf (100%) rename {doc/tutorial/resource => examples/tutorial/syntax}/MorphoIta.gf (100%) rename {doc/tutorial/resource => examples/tutorial/syntax}/Syntax.gf (100%) rename {doc/tutorial/resource => examples/tutorial/syntax}/SyntaxEng.gf (100%) rename {doc/tutorial/resource => examples/tutorial/syntax}/SyntaxIta.gf (100%) rename {doc/tutorial/resource => examples/tutorial/syntax}/Test.gf (100%) rename {doc/tutorial/resource => examples/tutorial/syntax}/TestEng.gf (100%) rename {doc/tutorial/resource => examples/tutorial/syntax}/TestIta.gf (100%) diff --git a/doc/tutorial/Makefile b/doc/tutorial/Makefile index 49781cd25..f009b12d3 100644 --- a/doc/tutorial/Makefile +++ b/doc/tutorial/Makefile @@ -1,10 +1,16 @@ -all: html tex +all: book -html: +tuthtml: txt2tags -thtml --toc gf-tutorial2_9.txt -tex: +tuttex: txt2tags -ttex --toc gf-tutorial2_9.txt cat prelude gf-tutorial2_9.tex >tmp.tex mv tmp.tex gf-tutorial2_9.tex pdflatex gf-tutorial2_9.tex pdflatex gf-tutorial2_9.tex +book: + txt2tags -ttex --toc gf-book.txt + cat prelude gf-book.tex >tmp.tex + mv tmp.tex gf-book.tex + pdflatex gf-book.tex + pdflatex gf-book.tex diff --git a/doc/tutorial/Food.gf b/examples/tutorial/food/Food.gf similarity index 100% rename from doc/tutorial/Food.gf rename to examples/tutorial/food/Food.gf diff --git a/doc/tutorial/FoodEng.gf b/examples/tutorial/food/FoodEng.gf similarity index 100% rename from doc/tutorial/FoodEng.gf rename to examples/tutorial/food/FoodEng.gf diff --git a/doc/tutorial/FoodIta.gf b/examples/tutorial/food/FoodIta.gf similarity index 100% rename from doc/tutorial/FoodIta.gf rename to examples/tutorial/food/FoodIta.gf diff --git a/doc/tutorial/Hello.gf b/examples/tutorial/hello/Hello.gf similarity index 100% rename from doc/tutorial/Hello.gf rename to examples/tutorial/hello/Hello.gf diff --git a/doc/tutorial/HelloEng.gf b/examples/tutorial/hello/HelloEng.gf similarity index 100% rename from doc/tutorial/HelloEng.gf rename to examples/tutorial/hello/HelloEng.gf diff --git a/doc/tutorial/HelloFin.gf b/examples/tutorial/hello/HelloFin.gf similarity index 100% rename from doc/tutorial/HelloFin.gf rename to examples/tutorial/hello/HelloFin.gf diff --git a/doc/tutorial/HelloIta.gf b/examples/tutorial/hello/HelloIta.gf similarity index 100% rename from doc/tutorial/HelloIta.gf rename to examples/tutorial/hello/HelloIta.gf diff --git a/doc/tutorial/resource/MorphoEng.gf b/examples/tutorial/syntax/MorphoEng.gf similarity index 100% rename from doc/tutorial/resource/MorphoEng.gf rename to examples/tutorial/syntax/MorphoEng.gf diff --git a/doc/tutorial/resource/MorphoIta.gf b/examples/tutorial/syntax/MorphoIta.gf similarity index 100% rename from doc/tutorial/resource/MorphoIta.gf rename to examples/tutorial/syntax/MorphoIta.gf diff --git a/doc/tutorial/resource/Syntax.gf b/examples/tutorial/syntax/Syntax.gf similarity index 100% rename from doc/tutorial/resource/Syntax.gf rename to examples/tutorial/syntax/Syntax.gf diff --git a/doc/tutorial/resource/SyntaxEng.gf b/examples/tutorial/syntax/SyntaxEng.gf similarity index 100% rename from doc/tutorial/resource/SyntaxEng.gf rename to examples/tutorial/syntax/SyntaxEng.gf diff --git a/doc/tutorial/resource/SyntaxIta.gf b/examples/tutorial/syntax/SyntaxIta.gf similarity index 100% rename from doc/tutorial/resource/SyntaxIta.gf rename to examples/tutorial/syntax/SyntaxIta.gf diff --git a/doc/tutorial/resource/Test.gf b/examples/tutorial/syntax/Test.gf similarity index 100% rename from doc/tutorial/resource/Test.gf rename to examples/tutorial/syntax/Test.gf diff --git a/doc/tutorial/resource/TestEng.gf b/examples/tutorial/syntax/TestEng.gf similarity index 100% rename from doc/tutorial/resource/TestEng.gf rename to examples/tutorial/syntax/TestEng.gf diff --git a/doc/tutorial/resource/TestIta.gf b/examples/tutorial/syntax/TestIta.gf similarity index 100% rename from doc/tutorial/resource/TestIta.gf rename to examples/tutorial/syntax/TestIta.gf