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