From MAILER-DAEMON Sun Nov 04 02:07:53 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IoZaL-0008Tt-DZ
	for mharc-groff-commit@gnu.org; Sun, 04 Nov 2007 02:07:53 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IoZaK-0008So-Al
	for groff-commit@gnu.org; Sun, 04 Nov 2007 02:07:52 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IoZaJ-0008Sc-OF
	for groff-commit@gnu.org; Sun, 04 Nov 2007 02:07:52 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IoZaJ-0008SZ-LV
	for groff-commit@gnu.org; Sun, 04 Nov 2007 02:07:51 -0500
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <wl@gnu.org>) id 1IoZaI-0005HU-QX
	for groff-commit@gnu.org; Sun, 04 Nov 2007 02:07:51 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63) (envelope-from <wl@gnu.org>)
	id 1IoZaI-0002ki-61
	for groff-commit@gnu.org; Sun, 04 Nov 2007 07:07:50 +0000
Received: from wl by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <wl@savannah.gnu.org>) id 1IoZaI-0002kf-1S
	for groff-commit@gnu.org; Sun, 04 Nov 2007 07:07:50 +0000
To: groff-commit@gnu.org
Message-Id: <E1IoZaI-0002kf-1S@cvs.savannah.gnu.org>
From: Werner LEMBERG <wl@gnu.org>
Date: Sun, 04 Nov 2007 07:07:50 +0000
X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3)
Subject: [Groff-commit] groff ChangeLog.117 src/devices/grolbp/charset....
X-BeenThere: groff-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: groff-commit.gnu.org
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/groff-commit>,
	<mailto:groff-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/groff-commit>
List-Post: <mailto:groff-commit@gnu.org>
List-Help: <mailto:groff-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/groff-commit>,
	<mailto:groff-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 04 Nov 2007 07:07:52 -0000

CVSROOT:	/cvsroot/groff
Module name:	groff
Changes by:	Werner LEMBERG <wl>	07/11/04 07:07:49

Modified files:
	.              : ChangeLog.117 
	src/devices/grolbp: charset.h 
	src/devices/xditview: ChangeLog 
	src/preproc/pic: text.h 
	src/roff/nroff : nroff.sh 

Log message:
	Add some copyrights.
	
	Typos.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/ChangeLog.117?cvsroot=groff&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/groff/src/devices/grolbp/charset.h?cvsroot=groff&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/groff/src/devices/xditview/ChangeLog?cvsroot=groff&r1=1.1.1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/groff/src/preproc/pic/text.h?cvsroot=groff&r1=1.1.1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/groff/src/roff/nroff/nroff.sh?cvsroot=groff&r1=1.19&r2=1.20

Patches:
Index: ChangeLog.117
===================================================================
RCS file: /cvsroot/groff/groff/ChangeLog.117,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- ChangeLog.117	11 Jul 2007 21:10:14 -0000	1.2
+++ ChangeLog.117	4 Nov 2007 07:07:49 -0000	1.3
@@ -917,7 +917,7 @@
 	Add `<td width=...>' handling.
 	(html_text::do_table): Add parameter.
 	(html_text::do_indent): Updated.
-	* src/devices/groohtml/html-text.h: Updated.
+	* src/devices/grohtml/html-text.h: Updated.
 
 2001-03-16  Gaius Mulley  <gaius@glam.ac.uk>
 

Index: src/devices/grolbp/charset.h
===================================================================
RCS file: /cvsroot/groff/groff/src/devices/grolbp/charset.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- src/devices/grolbp/charset.h	16 Apr 2003 21:10:52 -0000	1.2
+++ src/devices/grolbp/charset.h	4 Nov 2007 07:07:49 -0000	1.3
@@ -1,3 +1,26 @@
+// -*- C++ -*-
+/* Copyright (C) 2000, 2003
+   Free Software Foundation, Inc.
+     Written by Francisco Andrés Verdú <pandres@dragonet.es> with many ideas
+     taken from the other groff drivers.
+
+
+This file 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, 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 groff; see the file COPYING.  If not, write to the Free Software
+Foundation, 51 Franklin St - Fifth Floor, Boston, MA 02110-1301, USA. */
+
 // Definition of the WP54 character set
 
 unsigned char symset[] = {

Index: src/devices/xditview/ChangeLog
===================================================================
RCS file: /cvsroot/groff/groff/src/devices/xditview/ChangeLog,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -b -r1.1.1.1 -r1.2
--- src/devices/xditview/ChangeLog	1 Jun 2004 10:39:54 -0000	1.1.1.1
+++ src/devices/xditview/ChangeLog	4 Nov 2007 07:07:49 -0000	1.2
@@ -540,3 +540,15 @@
 	* xtotroff.c (MapFont): Unlink output file before opening it.
 
 	* Started separate ChangeLog.
+
+Copyright 1991-1995, 1999, 200, 2001, 2002, 2003, 2004
+  Free Software Foundation, Inc.
+
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.
+
+Local Variables:
+version-control: never
+coding: latin-1
+End:

Index: src/preproc/pic/text.h
===================================================================
RCS file: /cvsroot/groff/groff/src/preproc/pic/text.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -b -r1.1.1.1 -r1.2
--- src/preproc/pic/text.h	6 Feb 2000 09:38:28 -0000	1.1.1.1
+++ src/preproc/pic/text.h	4 Nov 2007 07:07:49 -0000	1.2
@@ -1,4 +1,23 @@
 // -*- C++ -*-
+/* Copyright (C) 1989 Free Software Foundation, Inc.
+     Written by James Clark (jjc@jclark.com)
+
+This file 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, 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 groff; see the file COPYING.  If not, write to the Free Software
+Foundation, 51 Franklin St - Fifth Floor, Boston, MA 02110-1301, USA. */
+
 
 enum hadjustment {
   CENTER_ADJUST,

Index: src/roff/nroff/nroff.sh
===================================================================
RCS file: /cvsroot/groff/groff/src/roff/nroff/nroff.sh,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -b -r1.19 -r1.20
--- src/roff/nroff/nroff.sh	17 Jun 2005 07:29:33 -0000	1.19
+++ src/roff/nroff/nroff.sh	4 Nov 2007 07:07:49 -0000	1.20
@@ -1,5 +1,29 @@
 #! /bin/sh
 # Emulate nroff with groff.
+#
+# Copyright (C) 1992, 1993, 1994, 1999, 2000, 2001, 2002, 2003,
+#               2004, 2005
+#   Free Software Foundation, Inc.
+#
+# Written by James Clark, maintained by Werner Lemberg.
+
+# This file is of `groff'.
+
+# `groff' is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License (GPL) as published
+# by the Free Software Foundation; either version 2, 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 `groff'; see the files COPYING and LICENSE in the top
+# directory of the `groff' source.  If not, write to the Free Software
+# Foundation, 51 Franklin St - Fifth Floor, Boston, MA 02110-1301,
+# USA.
 
 prog="$0"
 # Default device.



From MAILER-DAEMON Wed Nov 07 19:46:15 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IpvXD-0006OR-1k
	for mharc-groff-commit@gnu.org; Wed, 07 Nov 2007 19:46:15 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IpvXB-0006Nl-MK
	for groff-commit@gnu.org; Wed, 07 Nov 2007 19:46:13 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IpvX9-0006N1-QO
	for groff-commit@gnu.org; Wed, 07 Nov 2007 19:46:13 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IpvX9-0006Mp-IQ
	for groff-commit@gnu.org; Wed, 07 Nov 2007 19:46:11 -0500
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <wl@gnu.org>) id 1IpvX9-0002Z6-3W
	for groff-commit@gnu.org; Wed, 07 Nov 2007 19:46:11 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63) (envelope-from <wl@gnu.org>)
	id 1IpvX8-0005oT-Kq
	for groff-commit@gnu.org; Thu, 08 Nov 2007 00:46:10 +0000
Received: from wl by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <wl@savannah.gnu.org>) id 1IpvX8-0005oN-Fo
	for groff-commit@gnu.org; Thu, 08 Nov 2007 00:46:10 +0000
To: groff-commit@gnu.org
Message-Id: <E1IpvX8-0005oN-Fo@cvs.savannah.gnu.org>
From: Werner LEMBERG <wl@gnu.org>
Date: Thu, 08 Nov 2007 00:46:10 +0000
X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3)
Subject: [Groff-commit] groff ChangeLog src/preproc/preconv/preconv.cpp...
X-BeenThere: groff-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: groff-commit.gnu.org
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/groff-commit>,
	<mailto:groff-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/groff-commit>
List-Post: <mailto:groff-commit@gnu.org>
List-Help: <mailto:groff-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/groff-commit>,
	<mailto:groff-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 08 Nov 2007 00:46:13 -0000

CVSROOT:	/cvsroot/groff
Module name:	groff
Changes by:	Werner LEMBERG <wl>	07/11/08 00:46:10

Modified files:
	.              : ChangeLog 
	src/preproc/preconv: preconv.cpp preconv.man 

Log message:
	* src/preproc/preconv/preconv.cpp (emacs_to_mime): Add `utf-16be'
	`utf-16le', `utf-16be-with-signature', `utf-16le-with-signature'.
	(is_comment_line): Handle '\" and '\# also.
	
	* src/preproc/preconv/preconv.man: Revise and make complete.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/ChangeLog?cvsroot=groff&r1=1.1107&r2=1.1108
http://cvs.savannah.gnu.org/viewcvs/groff/src/preproc/preconv/preconv.cpp?cvsroot=groff&r1=1.13&r2=1.14
http://cvs.savannah.gnu.org/viewcvs/groff/src/preproc/preconv/preconv.man?cvsroot=groff&r1=1.2&r2=1.3

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/groff/groff/ChangeLog,v
retrieving revision 1.1107
retrieving revision 1.1108
diff -u -b -r1.1107 -r1.1108
--- ChangeLog	30 Oct 2007 09:31:37 -0000	1.1107
+++ ChangeLog	8 Nov 2007 00:46:09 -0000	1.1108
@@ -1,3 +1,11 @@
+2007-11-08  Werner LEMBERG  <wl@gnu.org>
+
+	* src/preproc/preconv/preconv.cpp (emacs_to_mime): Add `utf-16be'
+	`utf-16le', `utf-16be-with-signature', `utf-16le-with-signature'.
+	(is_comment_line): Handle '\" and '\# also.
+
+	* src/preproc/preconv/preconv.man: Revise and make complete.
+
 2007-10-25  Werner LEMBERG  <wl@gnu.org>
 
 	* tmac/cs.tmac: New file holding Czech strings, contributed by

Index: src/preproc/preconv/preconv.cpp
===================================================================
RCS file: /cvsroot/groff/groff/src/preproc/preconv/preconv.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- src/preproc/preconv/preconv.cpp	13 Aug 2006 12:37:20 -0000	1.13
+++ src/preproc/preconv/preconv.cpp	8 Nov 2007 00:46:10 -0000	1.14
@@ -151,9 +151,13 @@
   {"us-ascii",				"US-ASCII"},	// Emacs
   {"utf8",				"UTF-8"},	// alias
   {"utf-16",				"UTF-16"},	// Emacs
+  {"utf-16be",				"UTF-16BE"},	// Emacs
   {"utf-16-be",				"UTF-16BE"},	// Emacs
+  {"utf-16be-with-signature",		"UTF-16"},	// Emacs, not UTF-16BE
   {"utf-16-be-with-signature",		"UTF-16"},	// Emacs, not UTF-16BE
+  {"utf-16le",				"UTF-16LE"},	// Emacs
   {"utf-16-le",				"UTF-16LE"},	// Emacs
+  {"utf-16le-with-signature",		"UTF-16"},	// Emacs, not UTF-16LE
   {"utf-16-le-with-signature",		"UTF-16"},	// Emacs, not UTF-16LE
   {"utf-8",				"UTF-8"},	// Emacs
 
@@ -857,7 +861,7 @@
 {
   if (!s || !*s)
     return 0;
-  if (*s == '.')
+  if (*s == '.' || *s == '\'')
   {
     s++;
     while (*s == ' ' || *s == '\t')
@@ -932,11 +936,16 @@
 //
 // We search for the following line:
 //
-//   .\"...-*-<local variables list>-*-
+//   <comment> ... -*-<local variables list>-*-
 //
-// (`...' might be anything).  There can be blanks after
-// the leading `.'; additionally, you might use `\#' starting
-// a line instead of `.\"'.
+// (`...' might be anything).
+//
+// <comment> can be one of the following syntax forms at the
+// beginning of the line:
+//
+//   .\"   .\#   '\"   '\#   \#
+//
+// There can be whitespace after the leading `.' or "'".
 //
 // The local variables list must occur within the first
 // comment block at the very beginning of the data stream.

Index: src/preproc/preconv/preconv.man
===================================================================
RCS file: /cvsroot/groff/groff/src/preproc/preconv/preconv.man,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- src/preproc/preconv/preconv.man	2 Jul 2006 09:06:19 -0000	1.2
+++ src/preproc/preconv/preconv.man	8 Nov 2007 00:46:10 -0000	1.3
@@ -1,5 +1,5 @@
 .ig
-Copyright (C) 2006 Free Software Foundation, Inc.
+Copyright (C) 2006, 2007 Free Software Foundation, Inc.
 
 Permission is granted to make and distribute verbatim copies of
 this manual provided the copyright notice and this permission notice
@@ -25,16 +25,22 @@
 .
 .
 .SH SYNOPSIS
-.B preconv
-[
-.B \-dhrv
-]
-[
-.BI \-e encoding
-]
-[
-.IR files \|.\|.\|.\|
-]
+.SY preconv
+.OP \-dr
+.OP \-e encoding
+.RI [ files
+.IR .\|.\|. ]
+.
+.SY preconv
+.B \-h
+|
+.B \-\-help
+.
+.SY preconv
+.B \-v
+|
+.B \-\-version
+.YS
 .
 .PP
 It is possible to have whitespace between the
@@ -79,6 +85,8 @@
 uses the algorithm described below to select the input encoding.
 .
 .TP
+.B \-\-help
+.TQ
 .B \-h
 Print help message.
 .
@@ -87,6 +95,8 @@
 Do not add .lf requests.
 .
 .TP
+.B \-\-version
+.TQ
 .B \-v
 Print version number.
 .
@@ -125,15 +135,15 @@
 .BR \-k .
 .
 .SS "Byte Order Mark"
-The Unicode Standard defines character U+FEFF as the the Byte Order Mark
+The Unicode Standard defines character U+FEFF as the Byte Order Mark
 (BOM).
 On the other hand, value U+FFFE is guaranteed not be a Unicode character at
 all.
 This allows to detect the byte order within the data stream (either
-big-endian or lower-endian), and the MIME encodings `UTF-16' and `UTF-32'
-mandate that the data stream starts with U+FEFF.
-Similarly, the data stream encoded as `UTF-8' might start with a BOM (to
-ease the conversion from and to UTF-16 and UTF-32).
+big-endian or lower-endian), and the MIME encodings \%`UTF-16' and
+\%`UTF-32' mandate that the data stream starts with U+FEFF.
+Similarly, the data stream encoded as \%`UTF-8' might start with a BOM (to
+ease the conversion from and to \%UTF-16 and \%UTF-32).
 In all cases, the byte order mark is
 .I not
 part of the data but part of the encoding protocol; with other words,
@@ -147,14 +157,136 @@
 .BR groff .
 .
 .SS "Coding Tags"
-To be written.
+Editors which support more than a single character encoding need tags
+within the input files to mark the file's encoding.
+While it is possible to guess the right input encoding with the help of
+heuristic algorithms for data which represents a greater amount of a natural
+language, it is still just a guess.
+Additionally, all algorithms fail easily for input which is either too short
+or doesn't represent a natural language.
+.
+.PP
+For these reasons,
+.B preconv
+supports the coding tag convention (with some restrictions) as used by
+.B "GNU Emacs"
+and
+.B XEmacs
+(and probably other programs too).
+.
+.PP
+Coding tags in
+.B "GNU Emacs"
+and
+.B XEmacs
+are stored in so-called
+.IR "File Variables" .
+.B preconv
+recognizes the following syntax form which must be put into a troff comment
+in the first or second line.
+.
+.RS
+.PP
+\-*\-
+.IR tag1 :
+.IR value1 ;
+.IR tag2 :
+.IR value2 ;
+\&.\|.\|.\& \-*\-
+.RE
+.
+.PP
+The only relevant tag for
+.B preconv
+is `coding' which can take the values listed below.
+Here an example line which tells
+.B Emacs
+to edit a file in troff mode, and to use \%latin2 as its encoding.
+.
+.RS
+.PP
+.EX
+\&.\[rs]" \-*\- mode: troff; coding: latin-2 \-*\-
+.EE
+.RE
+.
+.PP
+The following list gives all MIME coding tags (either lowercase or
+uppercase) supported by
+.BR preconv ;
+this list is hard-coded in the source.
+.
+.RS
+.PP
+.ad l
+\%big5, \%cp1047, \%euc-jp, \%euc-kr, \%gb2312, \%iso-8859-1, \%iso-8859-2,
+\%iso-8859-5, \%iso-8859-7, \%iso-8859-9, \%iso-8859-13, \%iso-8859-15,
+\%koi8-r, \%us-ascii, \%utf-8, \%utf-16, \%utf-16be, \%utf-16le
+.ad
+.RE
+.
+.PP
+In addition, the following hard-coded list of other tags is recognized which
+eventually map to values from the list above.
+.
+.RS
+.PP
+.ad l
+\%ascii, \%chinese-big5, \%chinese-euc, \%chinese-iso-8bit, \%cn-big5,
+\%\%cn-gb, \%cn-gb-2312, \%cp878, \%csascii, \%csisolatin1,
+\%cyrillic-iso-8bit, \%cyrillic-koi8, \%euc-china, \%euc-cn, \%euc-japan,
+\%euc-japan-1990, \%euc-korea, \%greek-iso-8bit, \%iso-10646/utf8,
+\%iso-10646/utf-8, \%iso-latin-1, \%iso-latin-2, \%iso-latin-5,
+\%iso-latin-7, \%iso-latin-9, \%japanese-euc, \%japanese-iso-8bit, \%jis8,
+\%koi8, \%korean-euc, \%korean-iso-8bit, \%latin-0, \%latin1, \%latin-1,
+\%latin-2, \%latin-5, \%latin-7, \%latin-9, \%mule-utf-8, \%mule-utf-16,
+\%mule-utf-16be, \%mule-utf-16-be, \%mule-utf-16be-with-signature,
+\%mule-utf-16le, \%mule-utf-16-le, \%mule-utf-16le-with-signature, \%utf8,
+\%utf-16-be, \%utf-16-be-with-signature, \%utf-16be-with-signature,
+\%utf-16-le, \%utf-16-le-with-signature, \%utf-16le-with-signature
+.ad
+.RE
+.
+.PP
+Those tags are taken from
+.B "GNU Emacs"
+and 
+.BR XEmacs ,
+together with some aliases.
+Trailing \%`-dos', \%`-unix', and \%`-mac' suffixes of coding tags (which
+give the end-of-line convention used in the file) are stripped off before
+the comparison with the above tags happens.
 .
 .SS "Iconv Issues"
-To be written.
+.B preconv
+by itself only supports three encodings: \%latin-1, cp1047, and \%UTF-8;
+all other encodings are passed to the
+.B iconv
+library functions.
+At compile time it is searched and checked for a valid
+.B iconv
+implementation; a call to `preconv \-\-version' shows whether
+.B iconv
+is used.
+.
+.
+.SH BUGS
+.B preconv
+doesn't support
+.I "local variable lists"
+yet.
+This is a different syntax form to specify local variables at the end of a
+file.
 .
 .
 .SH "SEE ALSO"
 .BR groff (@MAN1EXT@)
+.br
+the
+.B "GNU Emacs"
+and
+.B XEmacs
+info pages
 .
 .\" Local Variables:
 .\" mode: nroff



From MAILER-DAEMON Sun Nov 11 02:08:49 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Ir6w5-00043d-NE
	for mharc-groff-commit@gnu.org; Sun, 11 Nov 2007 02:08:49 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Ir6w4-00041h-J4
	for groff-commit@gnu.org; Sun, 11 Nov 2007 02:08:48 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Ir6w3-000405-QZ
	for groff-commit@gnu.org; Sun, 11 Nov 2007 02:08:48 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Ir6w3-0003zs-MI
	for groff-commit@gnu.org; Sun, 11 Nov 2007 02:08:47 -0500
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <wl@gnu.org>) id 1Ir6w3-0002n5-H1
	for groff-commit@gnu.org; Sun, 11 Nov 2007 02:08:47 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63) (envelope-from <wl@gnu.org>)
	id 1Ir6w3-0004I9-2g
	for groff-commit@gnu.org; Sun, 11 Nov 2007 07:08:47 +0000
Received: from wl by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <wl@savannah.gnu.org>) id 1Ir6w2-0004I6-Rm
	for groff-commit@gnu.org; Sun, 11 Nov 2007 07:08:46 +0000
To: groff-commit@gnu.org
Message-Id: <E1Ir6w2-0004I6-Rm@cvs.savannah.gnu.org>
From: Werner LEMBERG <wl@gnu.org>
Date: Sun, 11 Nov 2007 07:08:46 +0000
X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3)
Subject: [Groff-commit] groff ChangeLog tmac/doc-syms tmac/groff_mdoc.man
X-BeenThere: groff-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: groff-commit.gnu.org
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/groff-commit>,
	<mailto:groff-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/groff-commit>
List-Post: <mailto:groff-commit@gnu.org>
List-Help: <mailto:groff-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/groff-commit>,
	<mailto:groff-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 11 Nov 2007 07:08:48 -0000

CVSROOT:	/cvsroot/groff
Module name:	groff
Changes by:	Werner LEMBERG <wl>	07/11/11 07:08:46

Modified files:
	.              : ChangeLog 
	tmac           : doc-syms groff_mdoc.man 

Log message:
	* tmac/doc-syms (doc-str-St--susv3): New string.
	* tmac/groff_mdoc.man: Document it.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/ChangeLog?cvsroot=groff&r1=1.1108&r2=1.1109
http://cvs.savannah.gnu.org/viewcvs/groff/tmac/doc-syms?cvsroot=groff&r1=1.15&r2=1.16
http://cvs.savannah.gnu.org/viewcvs/groff/tmac/groff_mdoc.man?cvsroot=groff&r1=1.44&r2=1.45

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/groff/groff/ChangeLog,v
retrieving revision 1.1108
retrieving revision 1.1109
diff -u -b -r1.1108 -r1.1109
--- ChangeLog	8 Nov 2007 00:46:09 -0000	1.1108
+++ ChangeLog	11 Nov 2007 07:08:46 -0000	1.1109
@@ -1,3 +1,8 @@
+2007-11-10  Michail Vidiassov  <master@iaas.msu.ru>
+
+	* tmac/doc-syms (doc-str-St--susv3): New string.
+	* tmac/groff_mdoc.man: Document it.
+
 2007-11-08  Werner LEMBERG  <wl@gnu.org>
 
 	* src/preproc/preconv/preconv.cpp (emacs_to_mime): Add `utf-16be'

Index: tmac/doc-syms
===================================================================
RCS file: /cvsroot/groff/groff/tmac/doc-syms,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- tmac/doc-syms	2 Oct 2007 13:44:38 -0000	1.15
+++ tmac/doc-syms	11 Nov 2007 07:08:46 -0000	1.16
@@ -651,6 +651,8 @@
 .\" X/Open
 .ds doc-str-St--susv2          Version\~2 of the Single \*[doc-Tn-font-size]UNIX\*[doc-str-St] Specification
 .as doc-str-St--susv2          " (\*[Lq]\*[doc-Tn-font-size]SUSv2\*[doc-str-St]\*[Rq])
+.ds doc-str-St--susv3          Version\~3 of the Single \*[doc-Tn-font-size]UNIX\*[doc-str-St] Specification
+.as doc-str-St--susv3          " (\*[Lq]\*[doc-Tn-font-size]SUSv3\*[doc-str-St]\*[Rq])
 .ds doc-str-St--svid4          System\~V Interface Definition, Fourth Edition
 .as doc-str-St--svid4          " (\*[Lq]\*[doc-Tn-font-size]SVID\*[doc-str-St]\^4\*[Rq])
 .ds doc-str-St--xbd5           \*[doc-Tn-font-size]X/Open\*[doc-str-St] System Interface Definitions Issue\~5

Index: tmac/groff_mdoc.man
===================================================================
RCS file: /cvsroot/groff/groff/tmac/groff_mdoc.man,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -b -r1.44 -r1.45
--- tmac/groff_mdoc.man	2 Oct 2007 13:44:38 -0000	1.44
+++ tmac/groff_mdoc.man	11 Nov 2007 07:08:46 -0000	1.45
@@ -1995,6 +1995,8 @@
 .Pp
 .It Li \-susv2
 .St -susv2
+.It Li \-susv3
+.St -susv3
 .It Li \-svid4
 .St -svid4
 .It Li \-xbd5



From MAILER-DAEMON Fri Nov 16 03:23:48 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IswUN-0004Ab-22
	for mharc-groff-commit@gnu.org; Fri, 16 Nov 2007 03:23:47 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IswUJ-00047w-Nq
	for groff-commit@gnu.org; Fri, 16 Nov 2007 03:23:43 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IswUH-000460-TF
	for groff-commit@gnu.org; Fri, 16 Nov 2007 03:23:42 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IswUG-00045T-1b
	for groff-commit@gnu.org; Fri, 16 Nov 2007 03:23:41 -0500
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <wl@gnu.org>) id 1IswUF-00073D-PD
	for groff-commit@gnu.org; Fri, 16 Nov 2007 03:23:39 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63) (envelope-from <wl@gnu.org>)
	id 1IswUE-0002SR-QV
	for groff-commit@gnu.org; Fri, 16 Nov 2007 08:23:38 +0000
Received: from wl by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <wl@savannah.gnu.org>) id 1IswUE-0002SO-MD
	for groff-commit@gnu.org; Fri, 16 Nov 2007 08:23:38 +0000
To: groff-commit@gnu.org
Message-Id: <E1IswUE-0002SO-MD@cvs.savannah.gnu.org>
From: Werner LEMBERG <wl@gnu.org>
Date: Fri, 16 Nov 2007 08:23:38 +0000
X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3)
Subject: [Groff-commit] groff ChangeLog tmac/hyphenex.pl tmac/hyphenex.us
X-BeenThere: groff-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: groff-commit.gnu.org
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/groff-commit>,
	<mailto:groff-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/groff-commit>
List-Post: <mailto:groff-commit@gnu.org>
List-Help: <mailto:groff-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/groff-commit>,
	<mailto:groff-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 16 Nov 2007 08:23:44 -0000

CVSROOT:	/cvsroot/groff
Module name:	groff
Changes by:	Werner LEMBERG <wl>	07/11/16 08:23:38

Modified files:
	.              : ChangeLog 
	tmac           : hyphenex.pl hyphenex.us 

Log message:
	* tmac/hyphenex.pl: Generate copyright notice (this has been
	approved By Barbara Beeton).
	* tmac/hyphenex.us: Updated.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/ChangeLog?cvsroot=groff&r1=1.1109&r2=1.1110
http://cvs.savannah.gnu.org/viewcvs/groff/tmac/hyphenex.pl?cvsroot=groff&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/groff/tmac/hyphenex.us?cvsroot=groff&r1=1.2&r2=1.3

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/groff/groff/ChangeLog,v
retrieving revision 1.1109
retrieving revision 1.1110
diff -u -b -r1.1109 -r1.1110
--- ChangeLog	11 Nov 2007 07:08:46 -0000	1.1109
+++ ChangeLog	16 Nov 2007 08:23:38 -0000	1.1110
@@ -1,3 +1,9 @@
+2007-11-16  Werner LEMBERG  <wl@gnu.org>
+
+	* tmac/hyphenex.pl: Generate copyright notice (this has been
+	approved By Barbara Beeton).
+	* tmac/hyphenex.us: Updated.
+
 2007-11-10  Michail Vidiassov  <master@iaas.msu.ru>
 
 	* tmac/doc-syms (doc-str-St--susv3): New string.

Index: tmac/hyphenex.pl
===================================================================
RCS file: /cvsroot/groff/groff/tmac/hyphenex.pl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- tmac/hyphenex.pl	17 Apr 2003 07:41:51 -0000	1.2
+++ tmac/hyphenex.pl	16 Nov 2007 08:23:38 -0000	1.3
@@ -8,7 +8,7 @@
 #
 # Written by Werner Lemberg <wl@gnu.org>.
 #
-# Version 1.1 (2003/04/17)
+# Version 1.2 (2007/11/16)
 #
 # Public domain.
 #
@@ -21,6 +21,9 @@
 print "% Hyphenation exceptions for US English,\n";
 print "% based on the hyphenation exception log article in TUGBoat.\n";
 print "%\n";
+print "% Copyright 2007 TeX Users Group.\n";
+print "% You may freely use, modify and/or distribute this file.\n";
+print "%\n";
 print "% This is an automatically generated file.  Do not edit!\n";
 print "%\n";
 print "% Please contact Barbara Beeton <bnb\@ams.org>\n";

Index: tmac/hyphenex.us
===================================================================
RCS file: /cvsroot/groff/groff/tmac/hyphenex.us,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- tmac/hyphenex.us	13 Sep 2005 06:30:38 -0000	1.2
+++ tmac/hyphenex.us	16 Nov 2007 08:23:38 -0000	1.3
@@ -1,6 +1,9 @@
 % Hyphenation exceptions for US English, based on the hyphenation exception
 % log article in TUGBoat.
 %
+% Copyright 2007 TeX Users Group.
+% You may freely use, modify and/or distribute this file.
+%
 % This is an automatically generated file.  Do not edit!
 %
 % Please contact Barbara Beeton <bnb@ams.org> for corrections and omissions.



From MAILER-DAEMON Mon Nov 19 04:28:50 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Iu2vy-0002tj-Ml
	for mharc-groff-commit@gnu.org; Mon, 19 Nov 2007 04:28:50 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Iu2vw-0002sz-Tn
	for groff-commit@gnu.org; Mon, 19 Nov 2007 04:28:49 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Iu2vv-0002sH-A1
	for groff-commit@gnu.org; Mon, 19 Nov 2007 04:28:47 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Iu2vv-0002sA-0v
	for groff-commit@gnu.org; Mon, 19 Nov 2007 04:28:47 -0500
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <wl@gnu.org>) id 1Iu2vu-0006uD-M4
	for groff-commit@gnu.org; Mon, 19 Nov 2007 04:28:46 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69]
	helo=localhost.localdomain) by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <wl@gnu.org>) id 1Iu2vt-0005B8-OV
	for groff-commit@gnu.org; Mon, 19 Nov 2007 09:28:45 +0000
Received: from wl by localhost.localdomain with local (Exim 4.63)
	(envelope-from <wl@savannah.gnu.org>) id 1Iu2vt-0005B3-Iv
	for groff-commit@gnu.org; Mon, 19 Nov 2007 09:28:45 +0000
To: groff-commit@gnu.org
Message-Id: <E1Iu2vt-0005B3-Iv@localhost.localdomain>
From: Werner LEMBERG <wl@gnu.org>
Date: Mon, 19 Nov 2007 09:28:45 +0000
X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3)
Subject: [Groff-commit] groff ChangeLog NEWS doc/pic.ms src/preproc/pic...
X-BeenThere: groff-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: groff-commit.gnu.org
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/groff-commit>,
	<mailto:groff-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/groff-commit>
List-Post: <mailto:groff-commit@gnu.org>
List-Help: <mailto:groff-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/groff-commit>,
	<mailto:groff-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 19 Nov 2007 09:28:49 -0000

CVSROOT:	/cvsroot/groff
Module name:	groff
Changes by:	Werner LEMBERG <wl>	07/11/19 09:28:45

Modified files:
	.              : ChangeLog NEWS 
	doc            : pic.ms 
	src/preproc/pic: lex.cpp object.cpp object.h pic.man pic.y 

Log message:
	* src/groff/preproc/pic/lex.cpp (table): Add box attributes
	`xslanted' and `yslanted'.
	
	* src/groff/preproc/pic/object.cpp (object_spec::object_spec):
	Initialize `xslanted' and `yslanted'.
	(graphic_object): Add methods `set_xlanted' and `set_yslanted'.
	(closed_object): Ditto.
	Add members `xslanted' and `yslanted'.
	(box_object::print): Use them.
	(object_spec::make_object): Handle slant values.
	 * src/groff/preproc/pic/object.h (IS_XSLANTED, IS_YSLANTED): New
	constants.
	(object_spec): Add members `xslanted' and `yslanted'.
	* src/groff/preproc/pic/pic.y (XSLANTED, YSLANTED): New left-valued
	tokens.
	Add rules for them.
	
	* src/groff/preproc/pic/pic.man, NEWS, doc/pic.ms: Document above
	changes.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/ChangeLog?cvsroot=groff&r1=1.1110&r2=1.1111
http://cvs.savannah.gnu.org/viewcvs/groff/NEWS?cvsroot=groff&r1=1.243&r2=1.244
http://cvs.savannah.gnu.org/viewcvs/groff/doc/pic.ms?cvsroot=groff&r1=1.35&r2=1.36
http://cvs.savannah.gnu.org/viewcvs/groff/src/preproc/pic/lex.cpp?cvsroot=groff&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/groff/src/preproc/pic/object.cpp?cvsroot=groff&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/groff/src/preproc/pic/object.h?cvsroot=groff&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/groff/src/preproc/pic/pic.man?cvsroot=groff&r1=1.19&r2=1.20
http://cvs.savannah.gnu.org/viewcvs/groff/src/preproc/pic/pic.y?cvsroot=groff&r1=1.22&r2=1.23

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/groff/groff/ChangeLog,v
retrieving revision 1.1110
retrieving revision 1.1111
diff -u -b -r1.1110 -r1.1111
--- ChangeLog	16 Nov 2007 08:23:38 -0000	1.1110
+++ ChangeLog	19 Nov 2007 09:28:44 -0000	1.1111
@@ -1,7 +1,29 @@
+2007-11-17  Heinz-Jürgen Oertel <hj.oertel@t-online.de>
+
+	* src/groff/preproc/pic/lex.cpp (table): Add box attributes
+	`xslanted' and `yslanted'.
+
+	* src/groff/preproc/pic/object.cpp (object_spec::object_spec):
+	Initialize `xslanted' and `yslanted'.
+	(graphic_object): Add methods `set_xlanted' and `set_yslanted'.
+	(closed_object): Ditto.
+	Add members `xslanted' and `yslanted'.
+	(box_object::print): Use them.
+	(object_spec::make_object): Handle slant values.
+ 	* src/groff/preproc/pic/object.h (IS_XSLANTED, IS_YSLANTED): New
+	constants.
+	(object_spec): Add members `xslanted' and `yslanted'.
+	* src/groff/preproc/pic/pic.y (XSLANTED, YSLANTED): New left-valued
+	tokens.
+	Add rules for them.
+	
+	* src/groff/preproc/pic/pic.man, NEWS, doc/pic.ms: Document above
+	changes.
+
 2007-11-16  Werner LEMBERG  <wl@gnu.org>
 
 	* tmac/hyphenex.pl: Generate copyright notice (this has been
-	approved By Barbara Beeton).
+	approved by Barbara Beeton).
 	* tmac/hyphenex.us: Updated.
 
 2007-11-10  Michail Vidiassov  <master@iaas.msu.ru>

Index: NEWS
===================================================================
RCS file: /cvsroot/groff/groff/NEWS,v
retrieving revision 1.243
retrieving revision 1.244
diff -u -b -r1.243 -r1.244
--- NEWS	30 Oct 2007 09:31:37 -0000	1.243
+++ NEWS	19 Nov 2007 09:28:44 -0000	1.244
@@ -79,6 +79,10 @@
 o Pic now supports up to 32 macro arguments (and up to 16 on EBCDIC
   platforms).
 
+o Heinz-Jürgen Örtel contributed code for two new keywords, `xslanted' and
+  `yslanted', which can change the shape of boxes into arbitrary
+  parallelograms.
+
 Eqn
 ---
 

Index: doc/pic.ms
===================================================================
RCS file: /cvsroot/groff/groff/doc/pic.ms,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -b -r1.35 -r1.36
--- doc/pic.ms	21 Mar 2007 13:30:59 -0000	1.35
+++ doc/pic.ms	19 Nov 2007 09:28:44 -0000	1.36
@@ -31,7 +31,7 @@
 .\" Eric S. Raymond <esr@thyrsus.com> in August 1995.  It has been put
 .\" under the GPL in March 2006.
 .\"
-.\"	$Id: pic.ms,v 1.35 2007/03/21 13:30:59 wl Exp $	
+.\"	$Id: pic.ms,v 1.36 2007/11/19 09:28:44 wl Exp $	
 .
 .
 .\" Set a proper TeX and LaTeX
@@ -635,6 +635,24 @@
 truncated to that value.
 .
 .NH 2
+Slanted Boxes
+.PP
+GNU \fBgpic\fP supports slanted boxes:
+.KS
+.PS
+box wid 1.2 xslanted 0.1 "xslanted 0.1";
+move;
+box wid 1.2 yslanted -0.1 "yslanted -0.1";
+move;
+box wid 1.2 xslanted -0.2 yslanted 0.1 "xslanted -0.2" "yslanted 0.1";
+.PE
+.CE "4: Various slanted boxes.
+.PP
+The \fBxslanted\fP and \fByslanted\fP attributes specify the x and
+y\~offset, respectively, of the box's upper right corner from its default
+position.
+.
+.NH 2
 Arrowheads
 .PP
 Lines and arcs can be decorated as well.  Any line or arc (and any
@@ -644,7 +662,7 @@
 .PS
 line <- ->
 .PE
-.CE "4: Double-headed line made with  \fBline <- ->\fP"
+.CE "5: Double-headed line made with  \fBline <- ->\fP"
 .PP
 In fact, the \fBarrow\fP command is just shorthand for \fBline ->\fP.  And
 there is a double-head modifier <->, so the figure above could have been made
@@ -710,7 +728,7 @@
 .PS
 circle fill; move; circle fill 0.4; move; circle fill 0.9;
 .PE
-.CE "5: \fBcircle fill; move; circle fill 0.4; move; circle fill 0.9;\fR"
+.CE "6: \fBcircle fill; move; circle fill 0.4; move; circle fill 0.9;\fR"
 .PP
 GNU \fBgpic\fP makes some additional guarantees.  A fill value greater
 than 1 can also be used: this means fill with the shade of gray that
@@ -735,7 +753,7 @@
 .PS
 box color "yellow"; arrow color "cyan"; circle shaded "green" outline "black";
 .PE
-.CE "6: \fBbox color ""yellow""; arrow color ""cyan""; \
+.CE "7: \fBbox color ""yellow""; arrow color ""cyan""; \
 circle shaded ""green"" outline ""black"";\fR"
 .PP
 Alternative spellings are \fBcolour\fP, \fBcolored\fP, \fBcoloured\fP,
@@ -2673,6 +2691,8 @@
   invis[ible]           \fR# make primitive invisible\fP
   solid                 \fR# make closed figure solid\fP
   fill[ed] [<expr>]     \fR# set fill density for figure\fP
+  xscaled <expr>        \fR# slant box into x direction\fP
+  yscaled <expr>        \fR# slant box into y direction\fP
   colo[u]r[ed] TEXT     \fR# set fill and outline color for figure\fP
   outline[d] TEXT       \fR# set outline color for figure\fP
   shaded TEXT           \fR# set fill color for figure\fP

Index: src/preproc/pic/lex.cpp
===================================================================
RCS file: /cvsroot/groff/groff/src/preproc/pic/lex.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- src/preproc/pic/lex.cpp	11 Dec 2006 16:12:15 -0000	1.5
+++ src/preproc/pic/lex.cpp	19 Nov 2007 09:28:45 -0000	1.6
@@ -1,6 +1,6 @@
 // -*- C++ -*-
-/* Copyright (C) 1989, 1990, 1991, 1992, 2000, 2002, 2003, 2004, 2006
-     Free Software Foundation, Inc.
+/* Copyright (C) 1989, 1990, 1991, 1992, 2000, 2002, 2003, 2004, 2006,
+     2007  Free Software Foundation, Inc.
      Written by James Clark (jjc@jclark.com)
 
 This file is part of groff.
@@ -557,6 +557,8 @@
     { "wid", WIDTH },
     { "width", WIDTH },
     { "with", WITH },
+    { "xslanted", XSLANTED },
+    { "yslanted", YSLANTED },
   };
   
   const keyword *start = table;

Index: src/preproc/pic/object.cpp
===================================================================
RCS file: /cvsroot/groff/groff/src/preproc/pic/object.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- src/preproc/pic/object.cpp	10 Apr 2007 08:13:42 -0000	1.8
+++ src/preproc/pic/object.cpp	19 Nov 2007 09:28:45 -0000	1.9
@@ -413,6 +413,8 @@
   segment_is_absolute = 0;
   text = 0;
   shaded = 0;
+  xslanted = 0;
+  yslanted = 0;
   outlined = 0;
   with = 0;
   dir = RIGHT_DIRECTION;
@@ -565,6 +567,8 @@
   void set_outline_color(char *);
   char *get_outline_color();
   virtual void set_fill(double);
+  virtual void set_xslanted(double);
+  virtual void set_yslanted(double);
   virtual void set_fill_color(char *);
 };
 
@@ -594,6 +598,14 @@
 {
 }
 
+void graphic_object::set_xslanted(double)
+{
+}
+
+void graphic_object::set_yslanted(double)
+{
+}
+
 void graphic_object::set_fill_color(char *c)
 {
   color_fill = strsave(c);
@@ -701,14 +713,18 @@
   closed_object(const position &);
   object_type type() = 0;
   void set_fill(double);
+  void set_xslanted(double);
+  void set_yslanted(double);
   void set_fill_color(char *fill);
 protected:
   double fill;			// < 0 if not filled
+  double xslanted;		// !=0 if x is slanted
+  double yslanted;		// !=0 if y is slanted
   char *color_fill;		// = 0 if not colored
 };
 
 closed_object::closed_object(const position &pos)
-: rectangle_object(pos), fill(-1.0), color_fill(0)
+: rectangle_object(pos), fill(-1.0), xslanted(0), yslanted(0), color_fill(0)
 {
 }
 
@@ -718,6 +734,19 @@
   fill = f;
 }
 
+/* accept positive and negative values */ 
+void closed_object::set_xslanted(double s)
+{
+  //assert(s >= 0.0);
+  xslanted = s;
+}
+/* accept positive and negative values */ 
+void closed_object::set_yslanted(double s)
+{
+  //assert(s >= 0.0);
+  yslanted = s;
+}
+
 void closed_object::set_fill_color(char *f)
 {
   color_fill = strsave(f);
@@ -775,10 +804,12 @@
   if (xrad == 0.0) {
     distance dim2 = dim/2.0;
     position vec[4];
-    vec[0] = cent + position(dim2.x, -dim2.y);
-    vec[1] = cent + position(dim2.x, dim2.y);
-    vec[2] = cent + position(-dim2.x, dim2.y);
-    vec[3] = cent + position(-dim2.x, -dim2.y);
+    /* error("x slanted %1", xslanted); */
+    /* error("y slanted %1", yslanted); */
+    vec[0] = cent + position(dim2.x, -(dim2.y - yslanted));	     /* lr */
+    vec[1] = cent + position(dim2.x + xslanted, dim2.y + yslanted);  /* ur */
+    vec[2] = cent + position(-(dim2.x - xslanted), dim2.y);	     /* ul */
+    vec[3] = cent + position(-(dim2.x), -dim2.y);		     /* ll */
     out->polygon(vec, 4, lt, fill);
   }
   else {
@@ -1896,6 +1927,10 @@
     obj->set_thickness(th);
     if (flags & IS_OUTLINED)
       obj->set_outline_color(outlined);
+    if (flags & IS_XSLANTED)
+      obj->set_xslanted(xslanted);
+    if (flags & IS_YSLANTED)
+      obj->set_yslanted(yslanted);
     if (flags & (IS_DEFAULT_FILLED | IS_FILLED)) {
       if (flags & IS_SHADED)
 	obj->set_fill_color(shaded);

Index: src/preproc/pic/object.h
===================================================================
RCS file: /cvsroot/groff/groff/src/preproc/pic/object.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- src/preproc/pic/object.h	26 May 2005 21:02:01 -0000	1.5
+++ src/preproc/pic/object.h	19 Nov 2007 09:28:45 -0000	1.6
@@ -1,5 +1,5 @@
 // -*- C++ -*-
-/* Copyright (C) 1989, 1990, 1991, 1992, 2002, 2004
+/* Copyright (C) 1989, 1990, 1991, 1992, 2002, 2004, 2007
    Free Software Foundation, Inc.
      Written by James Clark (jjc@jclark.com)
 
@@ -156,6 +156,8 @@
 const unsigned long IS_ALIGNED = 010000000;
 const unsigned long IS_SHADED = 020000000;
 const unsigned long IS_OUTLINED = 040000000;
+const unsigned long IS_XSLANTED        = 0100000000;
+const unsigned long IS_YSLANTED        = 0200000000;
 
 struct segment {
   int is_absolute;
@@ -189,6 +191,8 @@
   double end_chop;
   double thickness;
   double fill;
+  double xslanted;
+  double yslanted;
   char *shaded;
   char *outlined;
   direction dir;

Index: src/preproc/pic/pic.man
===================================================================
RCS file: /cvsroot/groff/groff/src/preproc/pic/pic.man,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -b -r1.19 -r1.20
--- src/preproc/pic/pic.man	19 Jul 2004 20:04:22 -0000	1.19
+++ src/preproc/pic/pic.man	19 Nov 2007 09:28:45 -0000	1.20
@@ -1,5 +1,6 @@
 .ig
-Copyright (C) 1989-2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
+Copyright (C) 1989-2000, 2001, 2002, 2003, 2004, 2007
+  Free Software Foundation, Inc.
 
 Permission is granted to make and distribute verbatim copies of
 this manual provided the copyright notice and this permission notice
@@ -735,6 +736,17 @@
 A box with rounded corners can be dotted or dashed.
 .
 .LP
+Boxes can have slanted sides.
+This effectively changes the shape of a box from a rectangle to an
+arbitrary parallelogram.
+The
+.B xslanted
+and
+.B yslanted
+attributes specify the x and y\~offset of the box's upper right corner
+from its default position.
+.
+.LP
 The
 .B .PS
 line can have a second argument specifying a maximum height for
@@ -818,7 +830,7 @@
 line.
 .
 .LP
-Boxes (including boxes with rounded corners),
+Boxes (including boxes with rounded corners or slanted sides),
 circles and ellipses can be filled by giving them an attribute of
 .BR fill [ ed ].
 This takes an optional argument of an expression with a value between

Index: src/preproc/pic/pic.y
===================================================================
RCS file: /cvsroot/groff/groff/src/preproc/pic/pic.y,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -b -r1.22 -r1.23
--- src/preproc/pic/pic.y	20 Sep 2007 07:39:30 -0000	1.22
+++ src/preproc/pic/pic.y	19 Nov 2007 09:28:45 -0000	1.23
@@ -197,6 +197,8 @@
 %token COLORED
 %token OUTLINED
 %token SHADED
+%token XSLANTED
+%token YSLANTED
 %token ALIGNED
 %token SPRINTF
 %token COMMAND
@@ -221,6 +223,7 @@
 precedence than left and right, so that eg `line chop left'
 parses properly. */
 %left CHOP SOLID DASHED DOTTED UP DOWN FILL COLORED OUTLINED
+%left XSLANTED YSLANTED
 %left LABEL
 
 %left VARIABLE NUMBER '(' SIN COS ATAN2 LOG EXP SQRT K_MAX K_MIN INT RAND SRAND LAST 
@@ -935,6 +938,18 @@
 		  $$->flags |= IS_FILLED;
 		  $$->fill = $3;
 		}
+	| object_spec XSLANTED expr
+		{
+		  $$ = $1;
+		  $$->flags |= IS_XSLANTED;
+		  $$->xslanted = $3;
+		}
+	| object_spec YSLANTED expr
+		{
+		  $$ = $1;
+		  $$->flags |= IS_YSLANTED;
+		  $$->yslanted = $3;
+		}
 	| object_spec SHADED text
 		{
 		  $$ = $1;



From MAILER-DAEMON Mon Nov 19 15:36:50 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IuDMQ-0001gd-Cu
	for mharc-groff-commit@gnu.org; Mon, 19 Nov 2007 15:36:50 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IuDMO-0001gQ-AD
	for groff-commit@gnu.org; Mon, 19 Nov 2007 15:36:48 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IuDMN-0001gE-Lk
	for groff-commit@gnu.org; Mon, 19 Nov 2007 15:36:47 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IuDMN-0001gA-Fe
	for groff-commit@gnu.org; Mon, 19 Nov 2007 15:36:47 -0500
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <wl@gnu.org>) id 1IuDMN-0003g8-2z
	for groff-commit@gnu.org; Mon, 19 Nov 2007 15:36:47 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69]
	helo=localhost.localdomain) by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <wl@gnu.org>) id 1IuDMM-0005mV-He
	for groff-commit@gnu.org; Mon, 19 Nov 2007 20:36:46 +0000
Received: from wl by localhost.localdomain with local (Exim 4.63)
	(envelope-from <wl@savannah.gnu.org>) id 1IuDMM-0005mS-Dj
	for groff-commit@gnu.org; Mon, 19 Nov 2007 20:36:46 +0000
To: groff-commit@gnu.org
Message-Id: <E1IuDMM-0005mS-Dj@localhost.localdomain>
From: Werner LEMBERG <wl@gnu.org>
Date: Mon, 19 Nov 2007 20:36:46 +0000
X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3)
Subject: [Groff-commit] groff ChangeLog src/roff/nroff/nroff.man src/ro...
X-BeenThere: groff-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: groff-commit.gnu.org
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/groff-commit>,
	<mailto:groff-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/groff-commit>
List-Post: <mailto:groff-commit@gnu.org>
List-Help: <mailto:groff-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/groff-commit>,
	<mailto:groff-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 19 Nov 2007 20:36:49 -0000

CVSROOT:	/cvsroot/groff
Module name:	groff
Changes by:	Werner LEMBERG <wl>	07/11/19 20:36:46

Modified files:
	.              : ChangeLog 
	src/roff/nroff : nroff.man nroff.sh 

Log message:
	* src/roff/nroff/nroff.sh: Handle GROFF_TYPESETTER environment
	variable.  Problem reported by Michael G Schwern
	<schwern@pobox.com>.
	
	* src/roff/nroff/nroff.man: Document it.
	Other minor updates.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/ChangeLog?cvsroot=groff&r1=1.1111&r2=1.1112
http://cvs.savannah.gnu.org/viewcvs/groff/src/roff/nroff/nroff.man?cvsroot=groff&r1=1.17&r2=1.18
http://cvs.savannah.gnu.org/viewcvs/groff/src/roff/nroff/nroff.sh?cvsroot=groff&r1=1.20&r2=1.21

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/groff/groff/ChangeLog,v
retrieving revision 1.1111
retrieving revision 1.1112
diff -u -b -r1.1111 -r1.1112
--- ChangeLog	19 Nov 2007 09:28:44 -0000	1.1111
+++ ChangeLog	19 Nov 2007 20:36:45 -0000	1.1112
@@ -1,3 +1,12 @@
+2007-11-17  Werner LEMBERG  <wl@gnu.org>
+
+	* src/roff/nroff/nroff.sh: Handle GROFF_TYPESETTER environment
+	variable.  Problem reported by Michael G Schwern
+	<schwern@pobox.com>.
+
+	* src/roff/nroff/nroff.man: Document it.
+	Other minor updates.
+
 2007-11-17  Heinz-Jürgen Oertel <hj.oertel@t-online.de>
 
 	* src/groff/preproc/pic/lex.cpp (table): Add box attributes

Index: src/roff/nroff/nroff.man
===================================================================
RCS file: /cvsroot/groff/groff/src/roff/nroff/nroff.man,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- src/roff/nroff/nroff.man	13 Apr 2005 05:56:32 -0000	1.17
+++ src/roff/nroff/nroff.man	19 Nov 2007 20:36:46 -0000	1.18
@@ -1,5 +1,6 @@
 .ig
-Copyright (C) 1989-2001, 2002, 2003, 2005 Free Software Foundation, Inc.
+Copyright (C) 1989-2001, 2002, 2003, 2005, 2007
+  Free Software Foundation, Inc.
 
 Permission is granted to make and distribute verbatim copies of
 this manual provided the copyright notice and this permission notice
@@ -23,17 +24,16 @@
 @g@nroff \- emulate nroff command with groff
 .
 .SH SYNOPSIS
-.nr a \n(.j
-.ad l
-.nr i \n(.i
-.in +\w'\fB@g@nroff 'u
-.ti \niu
-.B @g@nroff
+.
+.\" Redefine OP because no spaces are allowed after an option's argument.
 .de OP
-.ie \\n(.$-1 .RI "[\ \fB\\$1\fP" "\\$2" "\ ]"
-.el .RB "[\ " "\\$1" "\ ]"
+.  ie \\n(.$-1 \
+.    RI "[\fB\\$1\fP" "\\$2" "]"
+.  el \
+.    RB "[" "\\$1" "]"
 ..
-.
+
+.SY @g@nroff
 .OP \-CchipStUv
 .OP \-d cs
 .OP \-M dir
@@ -42,9 +42,16 @@
 .OP \-o list
 .OP \-r cn
 .OP \-T name
-.RI "[\ " "file" "\ .\|.\|.\ ]"
-.br
-.ad \na
+.RI [ file .\|.\|.]
+.
+.SY @g@nroff
+.B \-\-help
+.
+.SY @g@nroff
+.B \-v
+|
+.B \-\-version
+.YS
 .
 .SH DESCRIPTION
 The
@@ -58,14 +65,17 @@
 .BR utf8 ,
 and
 .B cp1047
-are valid arguments for the
-.B -T
-option, selecting the output encoding emitted by
+are devices accepted by
+.BR nroff
+to select the output encoding emitted by
 .BR grotty ,
 groff's TTY output device.
-If an invalid or no
-.BR \-T
-option is given,
+If neither the
+.B GROFF_TYPESETTER
+environment variable nor the
+.B \-T
+command line option (which overrides the environment variable)
+specifies a (valid) device,
 .B @g@nroff
 checks the current locale to select a default output device.
 It first tries the
@@ -123,15 +133,27 @@
 (unsafe) are passed to
 .BR groff . 
 .B \-v
-shows the version number.
+and
+.B \-\-version
+show the version number,
+.B \-\-help
+prints a help message.
 .
 .SH ENVIRONMENT
 .TP
 .SM
+.B GROFF_TYPESETTER
+The default device for
+.BR groff .
+If not set (which is the normal case), it defaults to `ps'.
+.
+.TP
+.SM
 .B GROFF_BIN_PATH
 A colon separated list of directories in which to search for the
 .B groff
 executable before searching in PATH.  If unset, `@BINDIR@' is used.
+.
 .SH NOTES
 This shell script is basically intended for use with
 .BR man (1),

Index: src/roff/nroff/nroff.sh
===================================================================
RCS file: /cvsroot/groff/groff/src/roff/nroff/nroff.sh,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- src/roff/nroff/nroff.sh	4 Nov 2007 07:07:49 -0000	1.20
+++ src/roff/nroff/nroff.sh	19 Nov 2007 20:36:46 -0000	1.21
@@ -2,7 +2,7 @@
 # Emulate nroff with groff.
 #
 # Copyright (C) 1992, 1993, 1994, 1999, 2000, 2001, 2002, 2003,
-#               2004, 2005
+#               2004, 2005, 2007
 #   Free Software Foundation, Inc.
 #
 # Written by James Clark, maintained by Werner Lemberg.
@@ -26,42 +26,48 @@
 # USA.
 
 prog="$0"
+
 # Default device.
-# First try the "locale charmap" command, because it's most reliable.
+
+# Check the GROFF_TYPESETTER environment variable.
+Tenv=$GROFF_TYPESETTER
+
+# Try the `locale charmap' command first because it is most reliable.
 # On systems where it doesn't exist, look at the environment variables.
 case "`exec 2>/dev/null ; locale charmap`" in
   UTF-8)
-    T=-Tutf8 ;;
+    Tloc=utf8 ;;
   ISO-8859-1 | ISO-8859-15)
-    T=-Tlatin1 ;;
+    Tloc=latin1 ;;
   IBM-1047)
-    T=-Tcp1047 ;;
+    Tloc=cp1047 ;;
   *)
     case "${LC_ALL-${LC_CTYPE-${LANG}}}" in
       *.UTF-8)
-        T=-Tutf8 ;;
+        Tloc=utf8 ;;
       iso_8859_1 | *.ISO-8859-1 | *.ISO8859-1 | \
       iso_8859_15 | *.ISO-8859-15 | *.ISO8859-15)
-        T=-Tlatin1 ;;
+        Tloc=latin1 ;;
       *.IBM-1047)
-        T=-Tcp1047 ;;
+        Tloc=cp1047 ;;
       *)
         case "$LESSCHARSET" in
           utf-8)
-            T=-Tutf8 ;;
+            Tloc=utf8 ;;
           latin1)
-            T=-Tlatin1 ;;
+            Tloc=latin1 ;;
           cp1047)
-            T=-Tcp1047 ;;
+            Tloc=cp1047 ;;
           *)
-            T=-Tascii ;;
+            Tloc=ascii ;;
           esac ;;
      esac ;;
 esac
-opts=
 
 # `for i; do' doesn't work with some versions of sh
 
+Topt=
+opts=
 for i
   do
   case $1 in
@@ -77,11 +83,8 @@
       exit 1 ;;
     -[iptSUC] | -[dMmrno]*)
       opts="$opts $1" ;;
-    -Tascii | -Tlatin1 | -Tutf8 | -Tcp1047)
-      T=$1 ;;
     -T*)
-      # ignore other devices
-      ;;
+      Topt=$1 ;;
     -u*)
       # Solaris 2.2 through at least Solaris 9 `man' invokes
       # `nroff -u0 ... | col -x'.  Ignore the -u0,
@@ -109,6 +112,22 @@
   shift
 done
 
+if test "x$Topt" != x ; then
+  T=$Topt
+else
+  if test "x$Tenv" != x ; then
+    T=-T$Tenv
+  fi
+fi
+
+case $T in
+  -Tascii | -Tlatin1 | -Tutf8 | -Tcp1047)
+    ;;
+  *)
+    # ignore other devices and use locale fallback
+    T=-T$Tloc ;;
+esac
+
 # Set up the `GROFF_BIN_PATH' variable
 # to be exported in the current `GROFF_RUNTIME' environment.
 



From MAILER-DAEMON Tue Nov 20 12:25:43 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IuWr0-0006iX-Uf
	for mharc-groff-commit@gnu.org; Tue, 20 Nov 2007 12:25:42 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IuWqz-0006gj-FI
	for groff-commit@gnu.org; Tue, 20 Nov 2007 12:25:41 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IuWqy-0006g3-UZ
	for groff-commit@gnu.org; Tue, 20 Nov 2007 12:25:40 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IuWqy-0006fq-HR
	for groff-commit@gnu.org; Tue, 20 Nov 2007 12:25:40 -0500
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <wl@gnu.org>) id 1IuWqy-00050V-G0
	for groff-commit@gnu.org; Tue, 20 Nov 2007 12:25:40 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69]
	helo=localhost.localdomain) by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <wl@gnu.org>) id 1IuWqx-0007U6-Si
	for groff-commit@gnu.org; Tue, 20 Nov 2007 17:25:40 +0000
Received: from wl by localhost.localdomain with local (Exim 4.63)
	(envelope-from <wl@savannah.gnu.org>) id 1IuWqx-0007U2-KB
	for groff-commit@gnu.org; Tue, 20 Nov 2007 17:25:39 +0000
To: groff-commit@gnu.org
Message-Id: <E1IuWqx-0007U2-KB@localhost.localdomain>
From: Werner LEMBERG <wl@gnu.org>
Date: Tue, 20 Nov 2007 17:25:39 +0000
X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3)
Subject: [Groff-commit] groff ChangeLog doc/pic.ms
X-BeenThere: groff-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: groff-commit.gnu.org
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/groff-commit>,
	<mailto:groff-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/groff-commit>
List-Post: <mailto:groff-commit@gnu.org>
List-Help: <mailto:groff-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/groff-commit>,
	<mailto:groff-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 20 Nov 2007 17:25:41 -0000

CVSROOT:	/cvsroot/groff
Module name:	groff
Changes by:	Werner LEMBERG <wl>	07/11/20 17:25:39

Modified files:
	.              : ChangeLog 
	doc            : pic.ms 

Log message:
	* doc/pic.ms: Add Heinz-Jürgen's 3d boxes example.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/ChangeLog?cvsroot=groff&r1=1.1112&r2=1.1113
http://cvs.savannah.gnu.org/viewcvs/groff/doc/pic.ms?cvsroot=groff&r1=1.36&r2=1.37

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/groff/groff/ChangeLog,v
retrieving revision 1.1112
retrieving revision 1.1113
diff -u -b -r1.1112 -r1.1113
--- ChangeLog	19 Nov 2007 20:36:45 -0000	1.1112
+++ ChangeLog	20 Nov 2007 17:25:39 -0000	1.1113
@@ -1,3 +1,7 @@
+2007-11-20  Werner LEMBERG  <wl@gnu.org>
+
+	* doc/pic.ms: Add Heinz-Jürgen's 3d boxes example.
+
 2007-11-17  Werner LEMBERG  <wl@gnu.org>
 
 	* src/roff/nroff/nroff.sh: Handle GROFF_TYPESETTER environment

Index: doc/pic.ms
===================================================================
RCS file: /cvsroot/groff/groff/doc/pic.ms,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -b -r1.36 -r1.37
--- doc/pic.ms	19 Nov 2007 09:28:44 -0000	1.36
+++ doc/pic.ms	20 Nov 2007 17:25:39 -0000	1.37
@@ -31,7 +31,7 @@
 .\" Eric S. Raymond <esr@thyrsus.com> in August 1995.  It has been put
 .\" under the GPL in March 2006.
 .\"
-.\"	$Id: pic.ms,v 1.36 2007/11/19 09:28:44 wl Exp $	
+.\"	$Id: pic.ms,v 1.37 2007/11/20 17:25:39 wl Exp $	
 .
 .
 .\" Set a proper TeX and LaTeX
@@ -47,7 +47,7 @@
 .\" Centered caption for figure.  Assumes previous .KS
 .de CE
 .  ce 1
-Figure \\n(H1-\\$1
+Figure \\n[H1]-\\$1
 .  sp 1
 .  KE
 ..
@@ -2433,8 +2433,66 @@
 }
 .PE
 .CE "2: Hypothetical production flow for dual-mode publishing"
-.LP
-.\"%%REFERENCE%%
+.PP
+.KS
+.PS
+# a three-dimensional block
+#
+# tblock(<width>, <height>, <text>)
+
+define tblock { [
+  box ht $2 wid $1 \
+      color "gold" outlined "black" \
+      xslanted 0 yslanted 0 \
+      $3;
+  box ht .1 wid $1 \
+      color "yellow" outlined "black" \
+      xslanted .1 yslanted 0 \
+      with .sw at last box .nw;
+  box ht $2 wid .1 \
+      color "goldenrod" outlined "black" \
+      xslanted 0 yslanted .1 \
+      with .nw at 2nd last box .ne;
+] }
+
+tblock(1, .5, "Master" "1");
+move -.1
+tblock(.5, 1, "Slave");
+.PE
+.CE "3: Three-dimensional Boxes"
+.PP
+Here the source code for figure \n[H1]-3:
+.KS
+.DS
+.CW
+\&.PS
+# a three-dimensional block
+#
+# tblock(<width>, <height>, <text>)
+
+define tblock { [
+  box ht $2 wid $1 \e
+      color "gold" outlined "black" \e
+      xslanted 0 yslanted 0 \e
+      $3;
+  box ht .1 wid $1 \e
+      color "yellow" outlined "black" \e
+      xslanted .1 yslanted 0 \e
+      with .sw at last box .nw;
+  box ht $2 wid .1 \e
+      color "goldenrod" outlined "black" \e
+      xslanted 0 yslanted .1 \e
+      with .nw at 2nd last box .ne;
+] }
+
+tblock(1, .5, "Master" "1");
+move -.1
+tblock(.5, 1, "Slave");
+\&.PE
+.DE
+.ft R
+.KE
+.
 .
 .
 .NH 1



From MAILER-DAEMON Thu Nov 29 13:43:26 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IxoMA-00047L-Ia
	for mharc-groff-commit@gnu.org; Thu, 29 Nov 2007 13:43:26 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IxoM8-00045o-KB
	for groff-commit@gnu.org; Thu, 29 Nov 2007 13:43:24 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IxoM7-00045B-Sg
	for groff-commit@gnu.org; Thu, 29 Nov 2007 13:43:24 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IxoM7-000453-Nh
	for groff-commit@gnu.org; Thu, 29 Nov 2007 13:43:23 -0500
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <wl@gnu.org>) id 1IxoM7-0003Hg-Ce
	for groff-commit@gnu.org; Thu, 29 Nov 2007 13:43:23 -0500
Received: from cvs.savannah.gnu.org ([199.232.41.69]
	helo=localhost.localdomain) by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <wl@gnu.org>) id 1IxoM6-0001pO-DG
	for groff-commit@gnu.org; Thu, 29 Nov 2007 18:43:22 +0000
Received: from wl by localhost.localdomain with local (Exim 4.63)
	(envelope-from <wl@savannah.gnu.org>) id 1IxoM6-0001pK-9D
	for groff-commit@gnu.org; Thu, 29 Nov 2007 18:43:22 +0000
To: groff-commit@gnu.org
Message-Id: <E1IxoM6-0001pK-9D@localhost.localdomain>
From: Werner LEMBERG <wl@gnu.org>
Date: Thu, 29 Nov 2007 18:43:22 +0000
X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3)
Subject: [Groff-commit] groff ChangeLog doc/groff.texinfo src/devices/g...
X-BeenThere: groff-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: groff-commit.gnu.org
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/groff-commit>,
	<mailto:groff-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/groff-commit>
List-Post: <mailto:groff-commit@gnu.org>
List-Help: <mailto:groff-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/groff-commit>,
	<mailto:groff-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 29 Nov 2007 18:43:24 -0000

CVSROOT:	/cvsroot/groff
Module name:	groff
Changes by:	Werner LEMBERG <wl>	07/11/29 18:43:22

Modified files:
	.              : ChangeLog 
	doc            : groff.texinfo 
	src/devices/grotty: tty.cpp 

Log message:
	* src/devices/grotty/tty.cpp (tty_printer::line): Fix line lengths.
	
	typo.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/ChangeLog?cvsroot=groff&r1=1.1113&r2=1.1114
http://cvs.savannah.gnu.org/viewcvs/groff/doc/groff.texinfo?cvsroot=groff&r1=1.259&r2=1.260
http://cvs.savannah.gnu.org/viewcvs/groff/src/devices/grotty/tty.cpp?cvsroot=groff&r1=1.18&r2=1.19

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/groff/groff/ChangeLog,v
retrieving revision 1.1113
retrieving revision 1.1114
diff -u -b -r1.1113 -r1.1114
--- ChangeLog	20 Nov 2007 17:25:39 -0000	1.1113
+++ ChangeLog	29 Nov 2007 18:43:21 -0000	1.1114
@@ -1,3 +1,7 @@
+2007-11-29  Werner LEMBERG  <wl@gnu.org>
+
+	* src/devices/grotty/tty.cpp (tty_printer::line): Fix line lengths.
+
 2007-11-20  Werner LEMBERG  <wl@gnu.org>
 
 	* doc/pic.ms: Add Heinz-Jürgen's 3d boxes example.

Index: doc/groff.texinfo
===================================================================
RCS file: /cvsroot/groff/groff/doc/groff.texinfo,v
retrieving revision 1.259
retrieving revision 1.260
diff -u -b -r1.259 -r1.260
--- doc/groff.texinfo	19 Sep 2007 14:55:55 -0000	1.259
+++ doc/groff.texinfo	29 Nov 2007 18:43:21 -0000	1.260
@@ -7187,7 +7187,7 @@
 .  sp |\\$1-\\n[.v]u
 ..
 .
-.de y-from_bot-up
+.de y-from-bot-up
 .  sp |\\n[.p]u-\\$1-\\n[.v]u
 ..
 @endExample

Index: src/devices/grotty/tty.cpp
===================================================================
RCS file: /cvsroot/groff/groff/src/devices/grotty/tty.cpp,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -b -r1.18 -r1.19
--- src/devices/grotty/tty.cpp	29 Jun 2006 08:51:23 -0000	1.18
+++ src/devices/grotty/tty.cpp	29 Nov 2007 18:43:22 -0000	1.19
@@ -556,7 +556,7 @@
       v += len;
       len = -len;
     }
-    if (len >= 0 && len <= font::vert)
+    if (len == 0)
       add_char(vline_char, font::hor, hpos, v, col, fill,
 	       VDRAW_MODE|START_LINE|END_LINE);
     else {
@@ -582,7 +582,7 @@
       h += len;
       len = -len;
     }
-    if (len >= 0 && len <= font::hor)
+    if (len == 0)
       add_char(hline_char, font::hor, h, vpos, col, fill,
 	       HDRAW_MODE|START_LINE|END_LINE);
     else {



