From 6afa02a161493c646e64fb6afca13de7d33fd699 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Mon, 31 Mar 2025 03:23:06 +0300 Subject: added tutorial document, which is automatically loaded on the first invocation * This is rendered with ms, so we now need the entire groff on Debian. This is not a big deal as it just adds a few kilobytes of build-time dependencies. Most platforms do not allow installation of some "groff-base" package anyway and always draw in the entire package. * sciteco.tmac has been extended to disable page breaks on ms. * The tutorial is installed like any other woman page and can be invoked interactively with ?tutorial$. * It is optimized to be still usable on a plain 80x24 terminal. --- doc/Makefile.am | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc/Makefile.am') diff --git a/doc/Makefile.am b/doc/Makefile.am index 765111a..66f500e 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -51,6 +51,9 @@ CLEANFILES += sciteco.1.intermediate women_DATA += sciteco.7.woman sciteco.7.woman.tec CLEANFILES += sciteco.7.intermediate +women_DATA += tutorial.woman tutorial.woman.tec +CLEANFILES += tutorial.intermediate + CLEANFILES += $(women_DATA) # NOTE: *.intermediate files are only generated since SciTECO scripts @@ -63,6 +66,9 @@ CLEANFILES += $(women_DATA) %.intermediate : % sciteco.tmac @GROFF@ -wall -Z -Kutf-8 -Tutf8 -t -man -M@srcdir@ -msciteco $< >$@ +tutorial.intermediate : tutorial.ms sciteco.tmac + @GROFF@ -wall -Z -Kutf-8 -Tutf8 -t -ms -M@srcdir@ -msciteco $< >$@ + man_MANS = grosciteco.tes.1 EXTRA_DIST = grosciteco.tes.1.in -- cgit v1.2.3