groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 01/02: gideal: remove this directory temporarily


From: Bernd Warken
Subject: [groff] 01/02: gideal: remove this directory temporarily
Date: Fri, 10 Oct 2014 21:57:37 +0000

bwarken pushed a commit to branch master
in repository groff.

commit 33f4b7cb20c1ac2c8e545cab45b99517fa6e347b
Author: Bernd Warken <address@hidden>
Date:   Fri Oct 10 23:56:54 2014 +0200

    gideal: remove this directory temporarily
---
 contrib/gideal/ChangeLog           |  130 --------------------
 contrib/gideal/Makefile.sub        |  117 ------------------
 contrib/gideal/doc/103.pdf.gz      |  Bin 74766 -> 0 bytes
 contrib/gideal/doc/README.txt      |   33 -----
 contrib/gideal/examples/README.txt |   28 -----
 contrib/gideal/examples/test.groff |   27 ----
 contrib/gideal/gideal.man          |  218 ---------------------------------
 contrib/gideal/gideal.pl           |  201 ------------------------------
 contrib/gideal/ideal.man           |  235 ------------------------------------
 9 files changed, 0 insertions(+), 989 deletions(-)

diff --git a/contrib/gideal/ChangeLog b/contrib/gideal/ChangeLog
deleted file mode 100644
index 8acd4af..0000000
--- a/contrib/gideal/ChangeLog
+++ /dev/null
@@ -1,130 +0,0 @@
-2014-10-07  Bernd Warken  <address@hidden>
-
-       * gideal.pl: New version 0.9.9
-
-       * ideal.man: Add information about CSTR #103.
-
-2014-10-07  Bernd Warken  <address@hidden>
-
-       * gideal.pl: New version 0.9.8
-
-       * gideal.man, ideal.man: Rewrite for reasonability.
-
-       * doc/: Rename subdirectory `libfiles' into `doc', having the
-       files `103.pdf.gz' and `README.txt'.  Installation position is
-       `$(docdir)/ideal'.
-
-       * examples/: Rename subdirectory `files' into `examples', having
-       the files `test.groff' and `README.txt'.  Installation position is
-       `$(exampledir)/ideal'.
-
-2014-09-16  Bernd Warken  <address@hidden>
-
-       * gideal.pl: New version 0.9.7
-
-       * libfiles/*, files/*: Remove all of these files because of
-       license problems.
-
-       * libfiles/: Add files `103.pdf.gz' and `README.txt'.
-
-       * files/: Add files `test.groff' and `README.txt'.
-
-2014-09-15  Bernd Warken  <address@hidden>
-
-       * files/opaque_MIT.ideal.ms, files/test.groff: Correct license
-       information and Emacs setting.
-
-2014-09-03  Bernd Warken  <address@hidden>
-
-       * all `gideal' files: Add or repair license, omit last updates,
-       and add Emacs suitable setup.
-
-2014-07-04  Bernd Warken  <address@hidden>
-
-       * gideal.pl: New version 0.9.6
-
-       * gideal.man, ideal.man: Make man-pages compatible to `doclifter'.
-
-2014-07-04  Bernd Warken  <address@hidden>
-
-       * gideal.pl: New version 0.9.5
-
-       * gideal.man, ideal.man: Transport man-pages to classical format.
-
-2014-07-04  Bernd Warken  <address@hidden>
-
-       * gideal.man, ideal.man: Remove definition of `.Env_var'.
-
-2014-07-03  Bernd Warken  <address@hidden>
-
-       * gideal.pl: New version 0.9.4
-
-       * Makefile.sub: Improve `make uninstall'.
-
-       * gideal.man, ideal.man: Remove `.mso' for `groffer.tmac'.  Copy
-       macros from former `groffer.tmac'.
-
-2014-07-03  Bernd Warken  <address@hidden>
-
-       * gideal.pl: New version 0.9.3
-
-       * gideal.man, ideal.man: Add `.mso' for `groffer.tmac'.
-
-2014-06-18  Bernd Warken  <address@hidden>
-
-       New version 0.9.2
-
-       * gideal.pl: The preproc will transform the `ideal' parts into
-       `pic'.
-
-       * gideal.man, ideal.man: Restructure the `SEE ALSO' part.  Include
-       also the installed location with address@hidden@' variables.
-
-       * files/: New directory with example files with `ideal parts'.
-
-       * Makefile.sub: Install `files/' (into @DATASUBDIR@) and improve
-       `libfiles/' (into @EXAMPLEDIR@).
-
-2014-06-17  Bernd Warken  <address@hidden>
-
-       * gideal.pl: New version 0.9.1.
-
-       * libfiles/: New directory for `ideal' inclusion files.  They will
-       be implemented in `roff' files with the ideal command `libfiles'.
-
-2014-06-16  Bernd Warken  <address@hidden>
-
-       * Project: Project `gideal' with starting version 0.9 without real
-       running.
-
-       * gideal.pl: Preprocessor for the `ideal language' for `groff'.
-       This program doesn't work yet, it just displays all `ideal' lines
-       in another way.
-
-       * gideal.man: Man-page 1 for the preprocessor `gideal'.
-
-       * ideal.man: This should be the man-page 7 for the `ideal'
-       language in `groff'.  This language must first be included.
-
-       * Makefile.sub: Taken over from `gperl' and changed.  No libdir is
-       necessary now.
-
-       * ChangeLog: This file is a contrib change-log for only
-       `gideal'.
-________________________________________________________________________
-License
-
-Copyright (C) 2014
-       Free Software Foundation, Inc.
-Written by Bernd Warken <address@hidden>.
-
-Copying and distribution of this file, with or without modification,
-are permitted provided the copyright notice and this notice are
-preserved.
-
-This file is part of `gideal', which is part of the `groff' project.
-
-####### Emacs settings
-Local Variables:
-mode: change-log
-End:
diff --git a/contrib/gideal/Makefile.sub b/contrib/gideal/Makefile.sub
deleted file mode 100644
index f39acb1..0000000
--- a/contrib/gideal/Makefile.sub
+++ /dev/null
@@ -1,117 +0,0 @@
-# Makefile.sub for `gideal' (preprocessor for added Perl parts)
-
-# File position: <groff-source>/contrib/gideal/Makefile.sub
-
-# Copyright (C) 2014  Free Software Foundation, Inc.
-# Written by Bernd Warken <address@hidden>.
-
-# This file is part of `gideal' which is part of `groff'.
-
-# `groff' is free software; you can redistribute it and/or modify it
-# under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-
-# `groff' is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see
-# <http://www.gnu.org/licenses/gpl-2.0.html>.
-
-########################################################################
-
-# Positions:
-# $(DESTDIR) is the `prefix', e.g. `/usr/' or `/usr/local/'
-# $(bindir) is `<prefix>/bin/'
-# $(docdir) is `<prefix>/share/doc/groff-1.22.2/ideal'
-# $(exampledir) is `<prefix>/share/doc/groff-1.22.2/examples/ideal'
-
-MAN1=gideal.n
-MAN7=ideal.n
-
-
-# former `libfiles'
-# now doc/
-# LIBFILES=arc.ideal \
-#      arrow.ideal \
-#      dash.ideal \
-#      rect.ideal \
-#      wavy.ideal \
-#      README.txt
-DOC=README.txt \
-       103.pdf.gz
-
-# FILES=opaque_MIT.ideal.ms 
-# former `files/'
-EXAMPLES=README.txt \
-       test.groff
-
-MOSTLYCLEANADD=gideal $(MAN1) $(MAN7)
-
-# not all make programs have $(RM) predefined.
-RM=rm -f
-
-all: gideal
-
-gideal: gideal.pl
-       sed -f "$(SH_DEPS_SED_SCRIPT)" \
-            -e "s|@g@|$(g)|g" \
-           -e "s|@BINDIR@|$(DESTDIR)$(bindir)|g" \
-           -e "s|@VERSION@|$(version)$(revision)|g" \
-           -e "s|@libdir@|$(DESTDIR)$(libdir)|g" \
-           -e "$(SH_SCRIPT_SED_CMD)" \
-           $(srcdir)/gideal.pl >$@; \
-       chmod +x $@
-
-.PHONY: install_data
-install_data: gideal
-       -test -d $(DESTDIR)$(bindir) || $(mkinstalldirs) $(DESTDIR)$(bindir)
-       $(RM) $(DESTDIR)$(bindir)/gideal
-       $(INSTALL_SCRIPT) gideal $(DESTDIR)$(bindir)/gideal
-       -test -d $(DESTDIR)$(exampledir) \
-          || $(mkinstalldirs) $(DESTDIR)$(exampledir)
-       -test -d $(DESTDIR)$(exampledir)/ideal \
-          || $(mkinstalldirs) $(DESTDIR)$(exampledir)/ideal
-       for f in $(EXAMPLES); do \
-         $(RM) $(DESTDIR)$(exampledir)/ideal/$$f; \
-         $(INSTALL_DATA) $(srcdir)/examples/$$f \
-           $(DESTDIR)$(exampledir)/ideal/$$f; \
-       done
-       -test -d $(DESTDIR)$(docdir) \
-          || $(mkinstalldirs) $(DESTDIR)$(docdir)
-       -test -d $(DESTDIR)$(docdir)/ideal \
-          || $(mkinstalldirs) $(DESTDIR)$(docdir)/ideal
-       for f in $(DOC); do \
-         $(RM) $(DESTDIR)$(docdir)/ideal/$$f; \
-         $(INSTALL_DATA) $(srcdir)/doc/$$f \
-           $(DESTDIR)$(docdir)/ideal/$$f; \
-       done
-
-.PHONY: uninstall_sub
-uninstall_sub: $
-       $(RM) $(DESTDIR)$(bindir)/gideal
-       -test -d $(DESTDIR)$(bindir) $$ \
-         rmdir $(DESTDIR)$(bindir)
-
-       for f in $(DOC); do \
-         $(RM) $(DESTDIR)$(docdir)/ideal/$$f; \
-       done
-       -test -d $(DESTDIR)$(docdir)/ideal && \
-         rmdir $(DESTDIR)$(docdir)/ideal
-       for f in $(FILES); do \
-         $(RM) $(DESTDIR)$(exampledir)/ideal/$$f; \
-       done
-       -test -d $(DESTDIR)$(exampledir)/ideal && \
-         rmdir $(DESTDIR)$(exampledir)/ideal
-
-
-########################################################################
-# Emacs settings
-########################################################################
-#
-# Local Variables:
-# mode: makefile
-# End:
diff --git a/contrib/gideal/doc/103.pdf.gz b/contrib/gideal/doc/103.pdf.gz
deleted file mode 100644
index da565f4..0000000
Binary files a/contrib/gideal/doc/103.pdf.gz and /dev/null differ
diff --git a/contrib/gideal/doc/README.txt b/contrib/gideal/doc/README.txt
deleted file mode 100644
index b15c8c6..0000000
--- a/contrib/gideal/doc/README.txt
+++ /dev/null
@@ -1,33 +0,0 @@
-103.pdf.gz:
-  CSTR #103 (Computing Science Technical Report No. 103)
-
-  IDEAL User's Manual
-  Author: Christopher J. Van Wyk, December 1981.
-
-  You can find a copy of this file at
-    http://cm.bell-labs.com/cm/cs/cstr/103.ps.gz
-
-  From that document, many ideal examples can be taken.  So please
-  look there for useful information.
-
-
-########################################################################
-# License
-
-Copyright (C) 2014 Free Software Foundation, Inc.
-
-This file is written by Bernd Warken <address@hidden>.
-
-This file is part of `gideal', which is part of `groff'.
-
-`groff' is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License (GPL) vbersion 2 as
-published by the Free Software Foundation.
-
-`groff' is distributed in the hope that it will be useful, but WITHOUT
-ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-for more details.
-
-The GPL2 license text is available in the internet at
-<http://www.gnu.org/licenses/gpl-2.0.html>.
diff --git a/contrib/gideal/examples/README.txt 
b/contrib/gideal/examples/README.txt
deleted file mode 100644
index 9ab8cfb..0000000
--- a/contrib/gideal/examples/README.txt
+++ /dev/null
@@ -1,28 +0,0 @@
-test.groff:
-       easy short file with `ideal parts'
-
-########################################################################
-# License
-
-Copyright (C) 2014 Free Software Foundation, Inc.
-
-This file is written by Bernd Warken <address@hidden>.
-
-This file is part of `gideal', which is part of `groff'.
-
-`groff' is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License (GPL) vbersion 2 as
-published by the Free Software Foundation.
-
-`groff' is distributed in the hope that it will be useful, but WITHOUT
-ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
-for more details.
-
-The GPL2 license text is available in the internet at
-<http://www.gnu.org/licenses/gpl-2.0.html>.
-
-####### Emacs settings
-Local Variables:
-mode: text
-End:
diff --git a/contrib/gideal/examples/test.groff 
b/contrib/gideal/examples/test.groff
deleted file mode 100644
index 344af28..0000000
--- a/contrib/gideal/examples/test.groff
+++ /dev/null
@@ -1,27 +0,0 @@
-.\" Emacs mode: -*- nroff -*-
-.ig
-Copyright 2014  Free Software Foundation, Inc.
-
-This file is part of `ideal', which is part of `groff', a free
-software project.
-
-You can redistribute it and/or modify it under the terms of the `GNU
-General Public License version 2' (GPL2) as published by the `Free
-Software Foundation'.
-
-The license text is available in the internet at
-<http://www.gnu.org/licenses/gpl-2.0.html>.
-..
-.nf
-before
-.IS
-this is within
-the first ideal part
-.IE
-outside
-.IS
-the number
-is now 2
-.IF
-after
-.fi
diff --git a/contrib/gideal/gideal.man b/contrib/gideal/gideal.man
deleted file mode 100644
index a8f897c..0000000
--- a/contrib/gideal/gideal.man
+++ /dev/null
@@ -1,218 +0,0 @@
-.\" t
-.TH GIDEAL @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
-.SH NAME
-gideal \(em \fIgroff\fP preprocessor for the \fIideal\fP language
-.
-.\" The .SH was moved to this place in order to appease `apropos'.
-.
-.\" gideal.1 - man page for the ideal roff preprocessor
-.\" Source file position:  <groff_source_top>/contrib/gideal/gideal.man
-.\" Installed position:    $prefix/share/man/man1/gideal.1
-.
-.
-.\" --------------------------------------------------------------------
-.\" Legalese
-.\" --------------------------------------------------------------------
-.
-.de co
-Copyright \[co] 2014 Free Software Foundation, Inc.
-
-This file is part of gideal, which is part of groff, a free software
-project.
-
-You can redistribute it and/or modify it under the terms of the GNU
-General Public License version 2 (GPL2), as published by the Free
-Software Foundation.
-
-The license text is available in the internet at
-.UR http://\:www.gnu.org/\:licenses/\:gpl-2.0.html
-.UE .
-..
-.
-.de au
-This file was written by
-.MT address@hidden
-Bernd Warken
-.ME .
-..
-.
-.\" --------------------------------------------------------------------
-.\" Characters
-.\" --------------------------------------------------------------------
-.
-.\" Ellipsis ...
-.ie t .ds EL \fS\N'188'\fP
-.el .ds EL \&.\|.\|.\&\
-.\" called with \*(EL
-.
-.\" Bullet
-.ie t .ds BU \(bu
-.el .ds BU *
-.\" used in `.IP \*(BU 2m' (former .Topic)
-.
-.
-.\" --------------------------------------------------------------------
-.SH SYNOPSIS
-.\" --------------------------------------------------------------------
-.
-.SY gideal
-.OP \-
-.OP \-\-
-.OP \fI\%filespec \*(EL
-.YS
-.
-.BR "gideal \-h" | "\-\-help"
-.br
-.BR "gideal \-v" | "\-\-version"
-.
-.
-.\" --------------------------------------------------------------------
-.SH DESCRIPTION
-.\" --------------------------------------------------------------------
-.
-.P
-.B gideal
-is a
-.I groff preprocessor
-for using the roff language
-.BR ideal (@MAN7EXT@)
-for drawing pictures within
-.I groff files
-(to be done).
-.
-.
-.\" --------------------------------------------------------------------
-.SH OPTIONS
-.\" --------------------------------------------------------------------
-.
-In
-.BR gideal ,
-there are the following kinds of options:
-.IP \*(BU 2m
-.I breaking options
-.IP \*(BU 2m
-.I filespec options
-.
-.
-.\" --------------------------------------------------------------------
-.SS "Breaking Options"
-.\" --------------------------------------------------------------------
-.
-.I Breaking options
-are used to display a corresponding information, but then the whole
-program run is stopped and finished.
-.
-.
-.P
-The breaking options
-.B \-v
-or
-.B \-\-version
-print information on the version number.
-.
-.
-.P
-The breaking options
-.B \-h
-or
-.B \-\-help
-print usage information.
-.
-.
-.P
-Both of these options automatically end the program.
-.
-Other options are then ignored.
-.
-.
-.\" --------------------------------------------------------------------
-.SS "Filespec Options"
-.\" --------------------------------------------------------------------
-.
-Each argument that does not start with a minus
-.B \-
-character is interpreted as a file name.
-.
-.
-.P
-As usual, the single minus character argument
-.B \-
-means to integrate
-.IR "standard input" .
-.
-.
-.P
-The double minus
-.B \-\-
-argument means noting special by itself, but means that all following
-arguments will be interpreted as file names, even if it starts with a
-minus
-.B \-
-character.
-.
-.
-.\" --------------------------------------------------------------------
-.SH HISTORY
-.\" --------------------------------------------------------------------
-.
-The roff language
-.BR ideal (@MAN7EXT@)
-was invented by
-.I Christopher J. Wyk
-in 1981 at AT&T.
-.
-.
-.P
-Moreover, a roff preprocessor for this language with the name
-.B ideal
-was invented by the same programmer as well, but this preprocessor
-looks now quite old-fashioned.
-
-.
-There is now a complitely new preprocessor for the groff system in
-development.
-.
-It will be called
-.BR gideal (@MAN1EXT@),
-other than the original preprocessor.
-.
-.
-.\" --------------------------------------------------------------------
-.SH "SEE ALSO"
-.\" --------------------------------------------------------------------
-.
-.TP
-.B Unix8 preprocessor
-freely available documentation for the
-.IR "ideal preprocessor" .
-.
-The
-.I preprocessor
-there is called
-.BR ideal ,
-not
-.B gideal
-as in
-.IR groff .
-.br
-.UR http://man.cat-v.org/unix_8th/1/ideal
-.UE .
-.
-.
-.\" --------------------------------------------------------------------
-.SH "COPYING"
-.\" --------------------------------------------------------------------
-.co
-.\" --------------------------------------------------------------------
-.SH "AUTHORS"
-.\" --------------------------------------------------------------------
-.au
-.
-.
-.\" --------------------------------------------------------------------
-.\" Emacs settings
-.\" --------------------------------------------------------------------
-.
-.\" Local Variables:
-.\" mode: nroff
-.\" End:
diff --git a/contrib/gideal/gideal.pl b/contrib/gideal/gideal.pl
deleted file mode 100755
index 8255f54..0000000
--- a/contrib/gideal/gideal.pl
+++ /dev/null
@@ -1,201 +0,0 @@
-#!/usr/bin/env perl
-
-# groff ideal
-
-# Source file position: <groff-source>/contrib/gideal/gideal.pl
-# Installed position: <prefix>/bin/gideal
-
-# Copyright (C) 2014  Free Software Foundation, Inc.
-
-# Written by Bernd Warken <address@hidden>.
-
-my $version = '0.9.9';
-
-# This file is part of `gideal', which is part of `groff'.
-
-# `groff' is free software; you can redistribute it and/or modify it
-# under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 2 of the License, or
-# (at your option) any later version.
-
-# `groff' is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see
-# <http://www.gnu.org/licenses/gpl-2.0.html>.
-
-########################################################################
-
-use strict;
-use warnings;
-
-# temporary dir and files
-use File::Temp qw/ tempfile tempdir /;
-
-# needed for temporary dir
-use File::Spec;
-
-# for `copy' and `move'
-use File::Copy;
-
-# for fileparse, dirname and basename
-use File::Basename;
-
-# current working directory
-use Cwd;
-
-# $Bin is the directory where this script is located
-use FindBin;
-
-# for running the ideal parts with the `IS' and `I[EF]' programs and
-# getting output also useful for shell programs
-use IPC::System::Simple qw(capture capturex run runx system systemx);
-
-# Perl package for complex numbers
-use Math::Complex;
-
-
-########################################################################
-# system variables
-########################################################################
-
-$\ = "\n";    # adds newline at each print
-$/ = "\n";    # newline separates input
-$| = 1;       # flush after each print or write command
-
-
-########################################################################
-# read-only variables with double-@ construct
-########################################################################
-
-my $before_make;       # script before run of `make'
-{
-  my $at = '@';
-  $before_make = 1 if '@VERSION@' eq "${at}VERSION${at}";
-}
-
-my %at_at;
-my $gideal_dir;
-
-if ($before_make) {
-  my $gideal_source_dir = $FindBin::Bin;
-  $at_at{'BINDIR'} = $gideal_source_dir;
-  $at_at{'G'} = '';
-} else {
-  $at_at{'BINDIR'} = '@BINDIR@';
-  $at_at{'G'} = '@g@';
-}
-
-
-########################################################################
-# options
-########################################################################
-
-foreach (@ARGV) {
-  if ( /^(-h|--h|--he|--hel|--help)$/ ) {
-    print q(Usage for the `gideal' program:);
-    print 'gideal [-] [--] [filespec...] normal file name arguments';
-    print 'gideal [-h|--help]            gives usage information';
-    print 'gideal [-v|--version]         displays the version number';
-    print q(This program is a `groff' preprocessor that handles ideal ) .
-      q(parts in `roff' files.);
-    exit;
-  } elsif ( /^(-v|--v|--ve|--ver|--vers|--versi|--versio|--version)$/ ) {
-    print q(`gideal' version ) . $version;
-    exit;
-  }
-}
-
-
-#######################################################################
-# temporary file
-#######################################################################
-
-my $out_file;
-{
-  my $template = 'gideal_' . "$$" . '_XXXX';
-  my $tmpdir;
-  foreach ($ENV{'GROFF_TMPDIR'}, $ENV{'TMPDIR'}, $ENV{'TMP'}, $ENV{'TEMP'},
-          $ENV{'TEMPDIR'}, 'tmp', $ENV{'HOME'},
-          File::Spec->catfile($ENV{'HOME'}, 'tmp')) {
-    if ($_ && -d $_ && -w $_) {
-      eval { $tmpdir = tempdir( $template,
-                               CLEANUP => 1, DIR => "$_" ); };
-      last if $tmpdir;
-    }
-  }
-  $out_file = File::Spec->catfile($tmpdir, $template);
-}
-
-
-########################################################################
-# input
-########################################################################
-
-my $nr = 0;
-my @ideal;
-
-my $ideal_mode = 0;
-foreach (<>) {
-  chomp;
-  my $line = $_;
-  my $is_start = $line =~ /^[.']\s*IS(|\s+.*)$/;       # start .IS
-  my $is_end = $line =~ /^[.']\s*(I[EF])(|\s+.*)$/;    # stop .IE/.IF
-
-  # .IE below ideal picture (after), .IF back at starting point (before)
-  my $end_mode = $1;
-
-  if ( $is_start ) {
-    if ( $ideal_mode ) {
-      print STDERR
-       'Within a running ideal part, you called another .IS!';
-      next;
-    } else {   # new start
-      $ideal_mode = 1;
-      open OUT, '>', $out_file;
-      @ideal = ();
-      next;
-    }
-  }
-
-  if ( $is_end ) {
-    $ideal_mode = 0;
-    close OUT;
-    &do_ideal();
-    next;
-  }
-
-  if ( $ideal_mode ) { # normal `ideal' line, store in @ideal
-    push @ideal, $line;
-    next;
-  } else {             # not related to `ideal', so print to STDOUT
-    print $line;
-    next;
-  }
-  next;
-}
-
-
-########################################################################
-# &do_ideal()
-########################################################################
-
-sub do_ideal {
-    $nr++;
-    print '### ideal part number ' . $nr . ':';
-    foreach (@ideal) {
-      print $nr . '# ' . $_;
-    }
-    @ideal = ();
-} # &do_ideal()
-
-
-1;
-########################################################################
-### Emacs settings
-# Local Variables:
-# mode: CPerl
-# End:
diff --git a/contrib/gideal/ideal.man b/contrib/gideal/ideal.man
deleted file mode 100644
index 2e30975..0000000
--- a/contrib/gideal/ideal.man
+++ /dev/null
@@ -1,235 +0,0 @@
-.TH IDEAL @MAN7EXT@ "@MDATE@" "Groff Version @VERSION@"
-.SH NAME
-ideal \[em] the groff \fIideal\fP language
-.
-.\" The .SH was moved to this place in order to appease `apropos'.
-.
-.\" ideal.7 - man page for the ideal roff language
-
-.\" Source file position:  <groff_source_top>/contrib/gideal/ideal.man
-.\" Installed position:    $prefix/share/man/man7/ideal.7
-.
-.
-.\" --------------------------------------------------------------------
-.\" Legalese
-.\" --------------------------------------------------------------------
-.
-.de co
-Copyright \[co] 2014 Free Software Foundation, Inc.
-
-This file is part of ideal and gideal, which is part of groff, a free
-software project.
-
-You can redistribute it and/or modify it under the terms of the GNU
-General Public License version 2 (GPL2) as published by the Free
-Software Foundation.
-
-The license text is available in the internet at
-.UR http://www.gnu.org/licenses/gpl-2.0.html
-.UE .
-..
-.
-.de au
-This file was written by
-.MT address@hidden
-Bernd Warken
-.ME .
-..
-.
-.\" --------------------------------------------------------------------
-.SH DESCRIPTION
-.\" --------------------------------------------------------------------
-.
-.I ideal
-is a
-.I roff
-language for drawing pictures.
-.
-.BR gideal (@MAN1EXT@)
-will be the corresponding
-.I groff
-preprocessor for using this language within groff files.
-.
-.
-.\" --------------------------------------------------------------------
-.SH "IDEAL PARTS"
-.\" --------------------------------------------------------------------
-.
-Within a roff file, an
-.I ideal part
-is started with the command
-.B .IS
-and is ended with one of the commands
-.B .IE
-or
-.BR .IF .
-.
-.
-.P
-The text between these opening and closing requests is handled by the
-preprocessor
-.BR gideal .
-.
-By that the
-.I ideal part
-is transformed into
-.IR "pic content" ,
-which can be read with the graphical groff preprocessor
-.BR pic (@MAN1EXT@).
-.
-.
-.\" --------------------------------------------------------------------
-.SH HISTORY
-.\" --------------------------------------------------------------------
-.
-The roff preprocessor and the roff language
-.I ideal
-were invented by
-.I Christopher J. Wyk
-in 1981 at AT&T.
-.
-.
-.P
-The
-.I ideal language
-is based on
-.IR "complex numbers" .
-.
-These are well documented at the documentation of the
-.UR http://\:search.cpan.org/\:~zefram/\:Math-Complex-1.59/\:lib/\:Math\
-/\:Complex.pm
-Math::Complex Perl package
-.UE .
-.
-This documentation is more about the complex mathematics, but also a
-bit about related Perl examles.
-.
-.
-.\" --------------------------------------------------------------------
-.SH "SEE ALSO"
-.\" --------------------------------------------------------------------
-.
-.\" --------------------------------------------------------------------
-.SS "Former Libfiles"
-.\" --------------------------------------------------------------------
-.
-.I libfiles
-were files written in
-.IR ideal ,
-that could be included into roff files with the command
-.BR ...libfile .
-.
-They are now obsolete because of license problems.
-.
-.
-.\" --------------------------------------------------------------------
-.SS "Examples"
-.\" --------------------------------------------------------------------
-.
-It is planned to add some roff files with included
-.I ideal parts
-as examples into the source subdirectory
-.BR files.
-.
-They will then be installed into
-.BR @EXAMPLEDIR@/ideal .
-.
-.
-.\" --------------------------------------------------------------------
-.SS "Man-Pages"
-.\" --------------------------------------------------------------------
-.
-.TP
-.BR gideal (@MAN1EXT@)
-for information about the
-.I ideal
-preprocessor in
-.IR groff .
-.
-.
-.TP
-.BR pic (@MAN1EXT@)
-The
-.I ideal
-parts will be translated into
-.I pic
-roff language.
-.
-.
-.\" --------------------------------------------------------------------
-.SS "Documentation and Articles"
-.\" --------------------------------------------------------------------
-.
-The most known article about the
-.I ideal language
-is the paper
-.
-.TP
-.B CSTR #103
-.EX
-(Computing Science Technical Report No. 103):
-.B IDEAL User's Manual
-Author: Christopher J. Van Wyk, December 1981.
-.EE
-.
-.
-.RS
-.P
-You can find a copy of this file at
-.UR
-http://cm.bell-labs.com/cm/cs/cstr/103.ps.gz
-.UE .
-.
-.
-.P
-This document is also included within the groff package.
-.
-It was installed into the groff doc directory as
-.BR 103.pdf.gz .
-.
-.RE
-.
-.
-.TP
-.B ACM articles for buying
-.
-.RS
-.
-.TP
-.B p99-van_wyk.pdf.gz
-.nf
-A Graphics Typesetting Language
-Christopher J. Van Wyk
-.fi
-.UR http://dl.acm.org/citation.cfm?id=806460
-.UE
-.
-.TP
-.B p163-van_wyk.pdf.gz
-.nf
-A High-Level Language for Specifying Pictures
-Christopher J. Van Wyk
-.fi
-.UR http://dl.acm.org/citation.cfm?id=357303
-.UE
-.
-.RE
-.
-.
-.\" --------------------------------------------------------------------
-.SH "COPYING"
-.\" --------------------------------------------------------------------
-.co
-.\" --------------------------------------------------------------------
-.SH "AUTHORS"
-.\" --------------------------------------------------------------------
-.au
-.
-.
-.\" --------------------------------------------------------------------
-.\" Emacs settings
-.\" --------------------------------------------------------------------
-.
-.\" Local Variables:
-.\" mode: nroff
-.\" End:



reply via email to

[Prev in Thread] Current Thread [Next in Thread]