groff-commit
[Top][All Lists]
Advanced

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

[groff] 01/01: gideal: transform man-pages to classical style


From: Bernd Warken
Subject: [groff] 01/01: gideal: transform man-pages to classical style
Date: Fri, 04 Jul 2014 18:40:12 +0000

bwarken pushed a commit to branch master
in repository groff.

commit 845588047ca40b126b8dbc73e172648d6230f3e7
Author: Bernd Warken <address@hidden>
Date:   Fri Jul 4 20:40:01 2014 +0200

    gideal: transform man-pages to classical style
---
 contrib/gideal/ChangeLog  |    6 +++
 contrib/gideal/gideal.man |  104 ++++-----------------------------------------
 contrib/gideal/gideal.pl  |    4 +-
 contrib/gideal/ideal.man  |   86 -------------------------------------
 4 files changed, 17 insertions(+), 183 deletions(-)

diff --git a/contrib/gideal/ChangeLog b/contrib/gideal/ChangeLog
index 8c01e23..28b2db5 100644
--- a/contrib/gideal/ChangeLog
+++ b/contrib/gideal/ChangeLog
@@ -1,5 +1,11 @@
 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>
diff --git a/contrib/gideal/gideal.man b/contrib/gideal/gideal.man
index d3f2935..f41ce6a 100644
--- a/contrib/gideal/gideal.man
+++ b/contrib/gideal/gideal.man
@@ -15,7 +15,7 @@ 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
 .
-Last update: 3 Jul 2014
+Last update: 4 Jul 2014
 ..
 .
 .de authors
@@ -60,97 +60,15 @@ The license text is available in the internet at
 ..
 .
 .\" --------------------------------------------------------------------
-.\" setup
-.\" --------------------------------------------------------------------
-.
-.\" --------------------------------------------------------------------
 .\" Characters
 .\" --------------------------------------------------------------------
 .
 .ie t .char \[Ellipsis] \f[S]\N'188'\f[P]
-.el .char \[Ellipsis] \f[I]...\f[P]
+.el .char \[Ellipsis] \&.\|.\|.\&\
 .\" called by \[Ellipsis]
 .
-.
-.\" --------------------------------------------------------------------
-.\" Macro definitions
-.\" --------------------------------------------------------------------
-.
-.\" --------------------------------------------------------------------
-.\" .Error  (<text>...)
-.\"
-.\" Print error message to terminal and abort.
-.\"
-.de Error
-.  tm \\$*
-.  ab
-..
-.
-.\" --------------------------------------------------------------------
-.\" .FONT (<font name> <text> [<font name> <text> ...])
-.\"
-.\"  in different fonts: R, I, B, CR, CI, CB
-.\"
-.de FONT
-.  if (\\n[.$] = 0) \{\
-.      \" compatibility to .ft
-.      nop \&\f[P]\&
-.      return
-.  \}
-.  ds result \&
-.  while (\\n[.$] >= 2) \{\
-.      as result \,\f[\\$1]\\$2
-.      if !"\\$1"P" .as result \f[P]
-.       \" the double-quote " after P above is now ignored in Emacs
-.      shift 2
-.  \}
-.  if (\\n[.$] = 1) .as result \,\f[\\$1]
-.\"  nh
-.  nop \\*[result]\&
-.\"  hy
-.  rm result
-..
-.
-.\"  --------------------------------------------------------------------
-.\" .Text  (<text>...)
-.\"
-.\" Treat the arguments as text, no matter how they look.
-.\"
-.de Text
-.  if \\n[.$]=0 \
-.    return
-.  nh
-.  nop \)\\$*\)
-.  hy
-..
-.
-.\" --------------------------------------------------------------------
-.\" .Topic  ([<indent>])
-.\"
-.\" A bulleted paragraph
-.\"
-.de Topic
-.  ie \\n[.$]=0 .ds @indent 2m\"
-.  el .ds @indent \\$1\"
-.
-.  ie t .IP \[bu] address@hidden
-.  el .IP \- address@hidden
-.
-.  rm @indent
-..
-.
-.\" --------------------------------------------------------------------
-.\" .UNDERLINE (<text to underline> [<append>])
-.\"
-.\" Underline $1 and append $2 without underline
-.\"
-.de UNDERLINE
-.  ie n \fI\\$1\fP\\$2
-.  el \Z'\\$1'\v'.25m'\D'l \w'\\$1'u 0'\v'-.25m'\\$2
-..
-.
-.\" end of macro definitions
-.\" --------------------------------------------------------------------
+.ie t .char \[Bullet] \[bu]
+.el .char \[Bullet] \-
 .
 .
 .\" --------------------------------------------------------------------
@@ -163,13 +81,9 @@ The license text is available in the internet at
 .OP \fI\%filespec \[Ellipsis]
 .YS
 .
-.SY gideal
-.BR \-h | \-\-help
-.YS
-.
-.SY gideal
-.BR \-v | \-\-version
-.YS
+.BR "gideal \-h" | "\-\-help"
+.br
+.BR "gideal \-v" | "\-\-version"
 .
 .
 .\" --------------------------------------------------------------------
@@ -198,9 +112,9 @@ for using this language within
 In
 .BR gideal ,
 there are the following kinds of options:
-.Topic
+.IP \[Bullet] 2m
 .I breaking options
-.Topic
+.IP \[Bullet] 2m
 .I filespec options
 .
 .
diff --git a/contrib/gideal/gideal.pl b/contrib/gideal/gideal.pl
index 5003440..d119168 100755
--- a/contrib/gideal/gideal.pl
+++ b/contrib/gideal/gideal.pl
@@ -10,8 +10,8 @@
 
 # Written by Bernd Warken <address@hidden>.
 
-my $Latest_Update = '3 Jul 2014';
-my $version = '0.9.4';
+my $Latest_Update = '4 Jul 2014';
+my $version = '0.9.5';
 
 # This file is part of `gideal', which is part of `groff'.
 
diff --git a/contrib/gideal/ideal.man b/contrib/gideal/ideal.man
index 97d65ce..b430ae0 100644
--- a/contrib/gideal/ideal.man
+++ b/contrib/gideal/ideal.man
@@ -1,4 +1,3 @@
-.\" t
 .TH IDEAL @MAN7EXT@ "@MDATE@" "Groff Version @VERSION@"
 .SH NAME
 ideal \[em] the groff \f[I]ideal\f[] language
@@ -61,10 +60,6 @@ The license text is available in the internet at
 .
 .
 .\" --------------------------------------------------------------------
-.\" Setup
-.\" --------------------------------------------------------------------
-.
-.\" --------------------------------------------------------------------
 .\" Characters
 .\" --------------------------------------------------------------------
 .
@@ -74,87 +69,6 @@ The license text is available in the internet at
 .
 .
 .\" --------------------------------------------------------------------
-.\" Macro definitions
-.\" --------------------------------------------------------------------
-.
-.\" --------------------------------------------------------------------
-.\" .Error  (<text>...)
-.\"
-.\" Print error message to terminal and abort.
-.\"
-.de Error
-.  tm \\$*
-.  ab
-..
-.
-.\" --------------------------------------------------------------------
-.\" .FONT (<font name> <text> [<font name> <text> ...])
-.\"
-.\"  in different fonts: R, I, B, CR, CI, CB
-.\"
-.de FONT
-.  if (\\n[.$] = 0) \{\
-.      \" compatibility to .ft
-.      nop \&\f[P]\&
-.      return
-.  \}
-.  ds result \&
-.  while (\\n[.$] >= 2) \{\
-.      as result \,\f[\\$1]\\$2
-.      if !"\\$1"P" .as result \f[P]
-.       \" the double-quote " after P above is now ignored in Emacs
-.      shift 2
-.  \}
-.  if (\\n[.$] = 1) .as result \,\f[\\$1]
-.\"  nh
-.  nop \\*[result]\&
-.\"  hy
-.  rm result
-..
-.
-.\"  --------------------------------------------------------------------
-.\" .Text  (<text>...)
-.\"
-.\" Treat the arguments as text, no matter how they look.
-.\"
-.de Text
-.  if \\n[.$]=0 \
-.    return
-.  nh
-.  nop \)\\$*\)
-.  hy
-..
-.
-.\" --------------------------------------------------------------------
-.\" .Topic  ([<indent>])
-.\"
-.\" A bulleted paragraph
-.\"
-.de Topic
-.  ie \\n[.$]=0 .ds @indent 2m\"
-.  el .ds @indent \\$1\"
-.
-.  ie t .IP \[bu] address@hidden
-.  el .IP \- address@hidden
-.
-.  rm @indent
-..
-.
-.\" --------------------------------------------------------------------
-.\" .UNDERLINE (<text to underline> [<append>])
-.\"
-.\" Underline $1 and append $2 without underline
-.\"
-.de UNDERLINE
-.  ie n \fI\\$1\fP\\$2
-.  el \Z'\\$1'\v'.25m'\D'l \w'\\$1'u 0'\v'-.25m'\\$2
-..
-.
-.\" end of macro definitions
-.\" --------------------------------------------------------------------
-.
-.
-.\" --------------------------------------------------------------------
 .SH DESCRIPTION
 ..\" --------------------------------------------------------------------
 .



reply via email to

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