head	1.258;
access;
symbols
	groff-1_20_1_real:1.256
	groff-1_20_1:1.255
	groff-1_20:1.255
	groff-1_19_2:1.205
	FDL:1.191
	groff-1_19_1:1.185
	groff-1_19:1.164
	groff-1_18_1:1.141
	groff-1_18:1.133
	groff-1_17_2:1.68
	groff-1_17_1:1.67
	groff-1_17a:1.60
	groff-1_17:1.60
	groff-1_16_1b:1.21
	groff-1_16_1a:1.21
	groff-1_16_1:1.21
	groff-1_16:1.20
	groff-20000311:1.8
	groff-20000310-1:1.8
	groff-20000310:1.8
	pre-1_16:1.1.1.1
	start:1.1.1.1
	wlemb:1.1.1;
locks; strict;
comment	@# @;


1.258
date	2009.02.21.07.40.22;	author wl;	state Exp;
branches;
next	1.257;
commitid	lbwhK7ouOvBe1hDt;

1.257
date	2009.02.14.17.21.36;	author wl;	state Exp;
branches;
next	1.256;
commitid	F1ncUW3XHBBvsqCt;

1.256
date	2009.01.10.07.48.15;	author wl;	state Exp;
branches;
next	1.255;
commitid	42N2N4jCOOOxpSxt;

1.255
date	2009.01.03.18.10.37;	author wl;	state Exp;
branches;
next	1.254;
commitid	0w0a4gcuUCo652xt;

1.254
date	2009.01.02.23.13.00;	author wl;	state Exp;
branches;
next	1.253;
commitid	iKBB76Xw3QvXMVwt;

1.253
date	2009.01.02.08.07.03;	author wl;	state Exp;
branches;
next	1.252;
commitid	T95jJWMmUAJ8MQwt;

1.252
date	2008.12.15.14.50.42;	author wl;	state Exp;
branches;
next	1.251;
commitid	BhkGBFxrdqfuAzut;

1.251
date	2008.11.16.17.22.21;	author wl;	state Exp;
branches;
next	1.250;
commitid	7pv6GZu4FbW6mRqt;

1.250
date	2008.11.05.22.58.59;	author wl;	state Exp;
branches;
next	1.249;
commitid	7RzgFjBiRDbHztpt;

1.249
date	2008.10.04.21.24.37;	author wl;	state Exp;
branches;
next	1.248;
commitid	8HotcQX6rWV45mlt;

1.248
date	2008.10.01.20.33.14;	author wl;	state Exp;
branches;
next	1.247;
commitid	uUsu2nJimiOpTXkt;

1.247
date	2008.07.24.12.06.24;	author wl;	state Exp;
branches;
next	1.246;
commitid	MViDazgyVWx6j3ct;

1.246
date	2008.01.16.16.08.48;	author wl;	state Exp;
branches;
next	1.245;
commitid	xA3xvCa0t2FNKENs;

1.245
date	2007.12.06.17.18.21;	author wl;	state Exp;
branches;
next	1.244;
commitid	wyQGbUygjtYosoIs;

1.244
date	2007.11.19.09.28.44;	author wl;	state Exp;
branches;
next	1.243;
commitid	IqYdGzxMrjkepaGs;

1.243
date	2007.10.30.09.31.37;	author wl;	state Exp;
branches;
next	1.242;
commitid	YD8XP9CwaMl14BDs;

1.242
date	2007.09.19.14.55.55;	author wl;	state Exp;
branches;
next	1.241;
commitid	3TnKkKJlEb1Oamys;

1.241
date	2007.07.11.21.10.15;	author wl;	state Exp;
branches;
next	1.240;
commitid	JisZprsXRFWUuops;

1.240
date	2007.06.16.14.48.19;	author wl;	state Exp;
branches;
next	1.239;
commitid	WFHkkQRkhfjPb9ms;

1.239
date	2007.06.12.06.58.45;	author wl;	state Exp;
branches;
next	1.238;
commitid	eJ3ohC4cqaSxIAls;

1.238
date	2007.04.08.18.50.42;	author keithmarshall;	state Exp;
branches;
next	1.237;

1.237
date	2007.02.03.05.32.46;	author esr;	state Exp;
branches;
next	1.236;

1.236
date	2007.02.01.23.09.22;	author esr;	state Exp;
branches;
next	1.235;

1.235
date	2007.02.01.09.36.19;	author wl;	state Exp;
branches;
next	1.234;

1.234
date	2007.01.14.08.50.05;	author wl;	state Exp;
branches;
next	1.233;

1.233
date	2007.01.05.14.42.22;	author wl;	state Exp;
branches;
next	1.232;

1.232
date	2007.01.05.13.47.13;	author wl;	state Exp;
branches;
next	1.231;

1.231
date	2006.12.31.17.34.32;	author wl;	state Exp;
branches;
next	1.230;

1.230
date	2006.12.19.08.02.52;	author wl;	state Exp;
branches;
next	1.229;

1.229
date	2006.12.11.16.12.15;	author wl;	state Exp;
branches;
next	1.228;

1.228
date	2006.12.08.21.22.07;	author wl;	state Exp;
branches;
next	1.227;

1.227
date	2006.11.19.09.56.49;	author wl;	state Exp;
branches;
next	1.226;

1.226
date	2006.11.06.12.33.32;	author bwarken;	state Exp;
branches;
next	1.225;

1.225
date	2006.10.28.16.59.32;	author wl;	state Exp;
branches;
next	1.224;

1.224
date	2006.10.28.15.49.53;	author bwarken;	state Exp;
branches;
next	1.223;

1.223
date	2006.10.27.06.45.21;	author bwarken;	state Exp;
branches;
next	1.222;

1.222
date	2006.10.26.19.39.07;	author wl;	state Exp;
branches;
next	1.221;

1.221
date	2006.09.02.21.39.33;	author wl;	state Exp;
branches;
next	1.220;

1.220
date	2006.08.11.10.27.54;	author wl;	state Exp;
branches;
next	1.219;

1.219
date	2006.07.31.09.48.57;	author wl;	state Exp;
branches;
next	1.218;

1.218
date	2006.07.12.19.31.08;	author wl;	state Exp;
branches;
next	1.217;

1.217
date	2006.07.01.22.49.22;	author wl;	state Exp;
branches;
next	1.216;

1.216
date	2006.06.29.08.51.22;	author wl;	state Exp;
branches;
next	1.215;

1.215
date	2006.05.01.08.37.13;	author wl;	state Exp;
branches;
next	1.214;

1.214
date	2006.04.04.20.20.03;	author wl;	state Exp;
branches;
next	1.213;

1.213
date	2006.03.27.18.12.29;	author wl;	state Exp;
branches;
next	1.212;

1.212
date	2006.03.21.12.48.10;	author wl;	state Exp;
branches;
next	1.211;

1.211
date	2006.03.20.12.59.09;	author wl;	state Exp;
branches;
next	1.210;

1.210
date	2006.03.08.21.54.11;	author wl;	state Exp;
branches;
next	1.209;

1.209
date	2006.02.24.08.08.42;	author wl;	state Exp;
branches;
next	1.208;

1.208
date	2006.02.07.05.46.08;	author wl;	state Exp;
branches;
next	1.207;

1.207
date	2006.01.21.14.14.09;	author wl;	state Exp;
branches;
next	1.206;

1.206
date	2005.10.17.07.06.41;	author wl;	state Exp;
branches;
next	1.205;

1.205
date	2005.09.04.09.41.36;	author wl;	state Exp;
branches;
next	1.204;

1.204
date	2005.03.18.08.33.19;	author wl;	state Exp;
branches;
next	1.203;

1.203
date	2005.03.14.08.17.12;	author wl;	state Exp;
branches;
next	1.202;

1.202
date	2005.03.14.06.26.10;	author wl;	state Exp;
branches;
next	1.201;

1.201
date	2005.02.28.13.57.53;	author wl;	state Exp;
branches;
next	1.200;

1.200
date	2005.02.20.10.38.37;	author wl;	state Exp;
branches;
next	1.199;

1.199
date	2004.12.11.17.02.50;	author wl;	state Exp;
branches;
next	1.198;

1.198
date	2004.12.08.08.31.17;	author wl;	state Exp;
branches;
next	1.197;

1.197
date	2004.11.23.23.42.02;	author wl;	state Exp;
branches;
next	1.196;

1.196
date	2004.11.23.09.20.48;	author wl;	state Exp;
branches;
next	1.195;

1.195
date	2004.11.20.09.27.57;	author wl;	state Exp;
branches;
next	1.194;

1.194
date	2004.11.16.12.48.49;	author wl;	state Exp;
branches;
next	1.193;

1.193
date	2004.09.29.06.49.37;	author wl;	state Exp;
branches;
next	1.192;

1.192
date	2004.09.20.09.08.33;	author wl;	state Exp;
branches;
next	1.191;

1.191
date	2004.07.27.01.29.22;	author wlemb;	state Exp;
branches;
next	1.190;

1.190
date	2004.07.25.14.05.40;	author wlemb;	state Exp;
branches;
next	1.189;

1.189
date	2004.07.19.20.04.21;	author wlemb;	state Exp;
branches;
next	1.188;

1.188
date	2004.06.30.11.35.25;	author wlemb;	state Exp;
branches;
next	1.187;

1.187
date	2004.06.29.07.11.00;	author wlemb;	state Exp;
branches;
next	1.186;

1.186
date	2004.06.03.06.24.24;	author wlemb;	state Exp;
branches;
next	1.185;

1.185
date	2004.05.12.08.07.36;	author wlemb;	state Exp;
branches;
next	1.184;

1.184
date	2004.05.06.11.47.19;	author wlemb;	state Exp;
branches;
next	1.183;

1.183
date	2004.02.18.09.16.50;	author wlemb;	state Exp;
branches;
next	1.182;

1.182
date	2004.02.18.09.14.29;	author wlemb;	state Exp;
branches;
next	1.181;

1.181
date	2004.01.15.07.47.22;	author wlemb;	state Exp;
branches;
next	1.180;

1.180
date	2004.01.07.08.28.51;	author wlemb;	state Exp;
branches;
next	1.179;

1.179
date	2003.12.28.18.13.58;	author wlemb;	state Exp;
branches;
next	1.178;

1.178
date	2003.12.22.10.49.53;	author wlemb;	state Exp;
branches;
next	1.177;

1.177
date	2003.12.09.19.36.14;	author wlemb;	state Exp;
branches;
next	1.176;

1.176
date	2003.12.02.19.37.23;	author wlemb;	state Exp;
branches;
next	1.175;

1.175
date	2003.12.02.07.04.42;	author wlemb;	state Exp;
branches;
next	1.174;

1.174
date	2003.10.28.22.31.57;	author wlemb;	state Exp;
branches;
next	1.173;

1.173
date	2003.10.13.19.53.45;	author wlemb;	state Exp;
branches;
next	1.172;

1.172
date	2003.09.20.14.26.42;	author wlemb;	state Exp;
branches;
next	1.171;

1.171
date	2003.08.17.05.21.54;	author wlemb;	state Exp;
branches;
next	1.170;

1.170
date	2003.08.05.05.11.48;	author wlemb;	state Exp;
branches;
next	1.169;

1.169
date	2003.07.24.08.26.13;	author wlemb;	state Exp;
branches;
next	1.168;

1.168
date	2003.07.12.06.09.52;	author wlemb;	state Exp;
branches;
next	1.167;

1.167
date	2003.07.07.07.38.06;	author wlemb;	state Exp;
branches;
next	1.166;

1.166
date	2003.07.02.15.37.29;	author wlemb;	state Exp;
branches;
next	1.165;

1.165
date	2003.05.18.22.39.41;	author wlemb;	state Exp;
branches;
next	1.164;

1.164
date	2003.04.29.13.25.29;	author wlemb;	state Exp;
branches;
next	1.163;

1.163
date	2003.04.25.16.15.15;	author wlemb;	state Exp;
branches;
next	1.162;

1.162
date	2003.04.21.13.32.48;	author wlemb;	state Exp;
branches;
next	1.161;

1.161
date	2003.04.18.06.37.21;	author wlemb;	state Exp;
branches;
next	1.160;

1.160
date	2003.04.10.18.07.16;	author wlemb;	state Exp;
branches;
next	1.159;

1.159
date	2003.03.14.13.13.51;	author wlemb;	state Exp;
branches;
next	1.158;

1.158
date	2003.03.12.22.59.31;	author wlemb;	state Exp;
branches;
next	1.157;

1.157
date	2003.03.10.21.51.49;	author wlemb;	state Exp;
branches;
next	1.156;

1.156
date	2003.03.03.21.21.08;	author wlemb;	state Exp;
branches;
next	1.155;

1.155
date	2003.03.01.07.34.41;	author wlemb;	state Exp;
branches;
next	1.154;

1.154
date	2003.02.27.15.55.04;	author wlemb;	state Exp;
branches;
next	1.153;

1.153
date	2003.02.26.14.54.02;	author wlemb;	state Exp;
branches;
next	1.152;

1.152
date	2003.02.22.09.06.48;	author wlemb;	state Exp;
branches;
next	1.151;

1.151
date	2003.02.14.11.30.09;	author wlemb;	state Exp;
branches;
next	1.150;

1.150
date	2003.01.21.14.09.27;	author wlemb;	state Exp;
branches;
next	1.149;

1.149
date	2003.01.16.14.22.49;	author wlemb;	state Exp;
branches;
next	1.148;

1.148
date	2002.12.11.14.26.14;	author wlemb;	state Exp;
branches;
next	1.147;

1.147
date	2002.12.03.21.05.27;	author wlemb;	state Exp;
branches;
next	1.146;

1.146
date	2002.12.01.06.45.37;	author wlemb;	state Exp;
branches;
next	1.145;

1.145
date	2002.11.12.08.49.59;	author wlemb;	state Exp;
branches;
next	1.144;

1.144
date	2002.11.10.09.11.11;	author wlemb;	state Exp;
branches;
next	1.143;

1.143
date	2002.11.07.06.07.01;	author wlemb;	state Exp;
branches;
next	1.142;

1.142
date	2002.10.19.10.01.18;	author wlemb;	state Exp;
branches;
next	1.141;

1.141
date	2002.10.08.07.17.19;	author wlemb;	state Exp;
branches;
next	1.140;

1.140
date	2002.10.07.09.14.44;	author wlemb;	state Exp;
branches;
next	1.139;

1.139
date	2002.09.23.09.52.25;	author wlemb;	state Exp;
branches;
next	1.138;

1.138
date	2002.09.17.12.40.26;	author wlemb;	state Exp;
branches;
next	1.137;

1.137
date	2002.09.16.17.11.24;	author wlemb;	state Exp;
branches;
next	1.136;

1.136
date	2002.09.08.14.34.44;	author wlemb;	state Exp;
branches;
next	1.135;

1.135
date	2002.07.24.14.59.10;	author wlemb;	state Exp;
branches;
next	1.134;

1.134
date	2002.07.23.22.03.47;	author wlemb;	state Exp;
branches;
next	1.133;

1.133
date	2002.07.19.09.32.01;	author wlemb;	state Exp;
branches;
next	1.132;

1.132
date	2002.07.17.04.55.46;	author wlemb;	state Exp;
branches;
next	1.131;

1.131
date	2002.07.07.22.19.31;	author wlemb;	state Exp;
branches;
next	1.130;

1.130
date	2002.07.07.08.10.56;	author wlemb;	state Exp;
branches;
next	1.129;

1.129
date	2002.06.29.21.44.31;	author wlemb;	state Exp;
branches;
next	1.128;

1.128
date	2002.06.23.20.55.55;	author wlemb;	state Exp;
branches;
next	1.127;

1.127
date	2002.06.23.08.26.23;	author wlemb;	state Exp;
branches;
next	1.126;

1.126
date	2002.06.20.05.58.36;	author wlemb;	state Exp;
branches;
next	1.125;

1.125
date	2002.06.19.13.17.53;	author wlemb;	state Exp;
branches;
next	1.124;

1.124
date	2002.06.06.13.12.53;	author wlemb;	state Exp;
branches;
next	1.123;

1.123
date	2002.06.02.07.53.29;	author wlemb;	state Exp;
branches;
next	1.122;

1.122
date	2002.05.27.12.41.04;	author wlemb;	state Exp;
branches;
next	1.121;

1.121
date	2002.05.26.09.32.24;	author wlemb;	state Exp;
branches;
next	1.120;

1.120
date	2002.05.23.22.06.20;	author wlemb;	state Exp;
branches;
next	1.119;

1.119
date	2002.05.22.21.51.16;	author wlemb;	state Exp;
branches;
next	1.118;

1.118
date	2002.05.11.07.20.04;	author wlemb;	state Exp;
branches;
next	1.117;

1.117
date	2002.05.03.17.14.51;	author wlemb;	state Exp;
branches;
next	1.116;

1.116
date	2002.04.20.14.51.09;	author wlemb;	state Exp;
branches;
next	1.115;

1.115
date	2002.04.15.10.21.12;	author wlemb;	state Exp;
branches;
next	1.114;

1.114
date	2002.04.14.10.22.55;	author wlemb;	state Exp;
branches;
next	1.113;

1.113
date	2002.04.10.22.54.38;	author wlemb;	state Exp;
branches;
next	1.112;

1.112
date	2002.04.05.14.34.38;	author wlemb;	state Exp;
branches;
next	1.111;

1.111
date	2002.04.05.11.50.03;	author wlemb;	state Exp;
branches;
next	1.110;

1.110
date	2002.03.26.09.54.04;	author wlemb;	state Exp;
branches;
next	1.109;

1.109
date	2002.03.22.16.11.16;	author wlemb;	state Exp;
branches;
next	1.108;

1.108
date	2002.03.17.22.05.27;	author wlemb;	state Exp;
branches;
next	1.107;

1.107
date	2002.03.16.17.06.20;	author wlemb;	state Exp;
branches;
next	1.106;

1.106
date	2002.03.16.07.45.06;	author wlemb;	state Exp;
branches;
next	1.105;

1.105
date	2002.03.15.21.56.23;	author wlemb;	state Exp;
branches;
next	1.104;

1.104
date	2002.03.14.06.10.52;	author wlemb;	state Exp;
branches;
next	1.103;

1.103
date	2002.03.11.10.55.26;	author wlemb;	state Exp;
branches;
next	1.102;

1.102
date	2002.03.01.01.15.35;	author wlemb;	state Exp;
branches;
next	1.101;

1.101
date	2002.02.27.02.23.12;	author wlemb;	state Exp;
branches;
next	1.100;

1.100
date	2002.02.26.01.22.14;	author wlemb;	state Exp;
branches;
next	1.99;

1.99
date	2002.02.25.17.19.19;	author wlemb;	state Exp;
branches;
next	1.98;

1.98
date	2002.02.25.14.53.38;	author wlemb;	state Exp;
branches;
next	1.97;

1.97
date	2002.02.24.02.05.15;	author wlemb;	state Exp;
branches;
next	1.96;

1.96
date	2002.02.17.17.05.51;	author wlemb;	state Exp;
branches;
next	1.95;

1.95
date	2002.02.12.22.18.19;	author wlemb;	state Exp;
branches;
next	1.94;

1.94
date	2002.02.11.10.45.48;	author wlemb;	state Exp;
branches;
next	1.93;

1.93
date	2002.02.07.08.36.51;	author wlemb;	state Exp;
branches;
next	1.92;

1.92
date	2002.02.04.15.08.44;	author wlemb;	state Exp;
branches;
next	1.91;

1.91
date	2002.02.03.21.38.45;	author wlemb;	state Exp;
branches;
next	1.90;

1.90
date	2002.01.29.21.48.03;	author wlemb;	state Exp;
branches;
next	1.89;

1.89
date	2002.01.28.05.05.28;	author wlemb;	state Exp;
branches;
next	1.88;

1.88
date	2002.01.24.22.37.29;	author wlemb;	state Exp;
branches;
next	1.87;

1.87
date	2002.01.10.05.56.34;	author wlemb;	state Exp;
branches;
next	1.86;

1.86
date	2002.01.06.12.34.08;	author wlemb;	state Exp;
branches;
next	1.85;

1.85
date	2002.01.05.21.55.59;	author wlemb;	state Exp;
branches;
next	1.84;

1.84
date	2002.01.05.21.22.12;	author wlemb;	state Exp;
branches;
next	1.83;

1.83
date	2001.12.22.23.45.45;	author wlemb;	state Exp;
branches;
next	1.82;

1.82
date	2001.12.20.21.16.35;	author wlemb;	state Exp;
branches;
next	1.81;

1.81
date	2001.12.13.22.45.58;	author wlemb;	state Exp;
branches;
next	1.80;

1.80
date	2001.12.06.10.03.21;	author wlemb;	state Exp;
branches;
next	1.79;

1.79
date	2001.11.26.21.53.25;	author wlemb;	state Exp;
branches;
next	1.78;

1.78
date	2001.11.21.00.09.07;	author wlemb;	state Exp;
branches;
next	1.77;

1.77
date	2001.11.19.14.23.05;	author wlemb;	state Exp;
branches;
next	1.76;

1.76
date	2001.11.17.13.50.46;	author wlemb;	state Exp;
branches;
next	1.75;

1.75
date	2001.11.16.20.03.42;	author wlemb;	state Exp;
branches;
next	1.74;

1.74
date	2001.11.15.05.45.53;	author wlemb;	state Exp;
branches;
next	1.73;

1.73
date	2001.10.05.14.12.09;	author wlemb;	state Exp;
branches;
next	1.72;

1.72
date	2001.08.19.21.32.25;	author wlemb;	state Exp;
branches;
next	1.71;

1.71
date	2001.08.10.22.20.47;	author wlemb;	state Exp;
branches;
next	1.70;

1.70
date	2001.07.18.15.04.38;	author wlemb;	state Exp;
branches;
next	1.69;

1.69
date	2001.07.18.02.10.42;	author wlemb;	state Exp;
branches;
next	1.68;

1.68
date	2001.07.03.22.03.07;	author wlemb;	state Exp;
branches;
next	1.67;

1.67
date	2001.06.18.22.37.33;	author wlemb;	state Exp;
branches;
next	1.66;

1.66
date	2001.05.07.13.36.23;	author wlemb;	state Exp;
branches;
next	1.65;

1.65
date	2001.05.06.23.29.20;	author wlemb;	state Exp;
branches;
next	1.64;

1.64
date	2001.05.05.14.25.54;	author wlemb;	state Exp;
branches;
next	1.63;

1.63
date	2001.05.05.08.41.35;	author wlemb;	state Exp;
branches;
next	1.62;

1.62
date	2001.05.02.07.09.20;	author wlemb;	state Exp;
branches;
next	1.61;

1.61
date	2001.04.18.20.22.36;	author wlemb;	state Exp;
branches;
next	1.60;

1.60
date	2001.04.10.12.54.11;	author wlemb;	state Exp;
branches;
next	1.59;

1.59
date	2001.04.06.13.03.13;	author wlemb;	state Exp;
branches;
next	1.58;

1.58
date	2001.04.06.06.41.46;	author wlemb;	state Exp;
branches;
next	1.57;

1.57
date	2001.03.30.12.52.02;	author wlemb;	state Exp;
branches;
next	1.56;

1.56
date	2001.03.24.15.04.41;	author wlemb;	state Exp;
branches;
next	1.55;

1.55
date	2001.03.23.23.07.44;	author wlemb;	state Exp;
branches;
next	1.54;

1.54
date	2001.03.23.00.17.50;	author wlemb;	state Exp;
branches;
next	1.53;

1.53
date	2001.03.09.00.18.20;	author wlemb;	state Exp;
branches;
next	1.52;

1.52
date	2001.02.16.22.33.33;	author wlemb;	state Exp;
branches;
next	1.51;

1.51
date	2001.02.04.20.54.00;	author wlemb;	state Exp;
branches;
next	1.50;

1.50
date	2001.01.30.14.54.55;	author wlemb;	state Exp;
branches;
next	1.49;

1.49
date	2001.01.25.11.04.21;	author wlemb;	state Exp;
branches;
next	1.48;

1.48
date	2001.01.23.22.00.07;	author wlemb;	state Exp;
branches;
next	1.47;

1.47
date	2001.01.23.07.39.13;	author wlemb;	state Exp;
branches;
next	1.46;

1.46
date	2001.01.18.19.05.38;	author wlemb;	state Exp;
branches;
next	1.45;

1.45
date	2001.01.13.21.49.18;	author wlemb;	state Exp;
branches;
next	1.44;

1.44
date	2001.01.12.22.42.33;	author wlemb;	state Exp;
branches;
next	1.43;

1.43
date	2001.01.08.20.37.24;	author wlemb;	state Exp;
branches;
next	1.42;

1.42
date	2000.12.06.22.31.32;	author wlemb;	state Exp;
branches;
next	1.41;

1.41
date	2000.12.03.19.55.16;	author wlemb;	state Exp;
branches;
next	1.40;

1.40
date	2000.12.02.21.18.02;	author wlemb;	state Exp;
branches;
next	1.39;

1.39
date	2000.11.23.14.29.52;	author wlemb;	state Exp;
branches;
next	1.38;

1.38
date	2000.11.22.22.11.16;	author wlemb;	state Exp;
branches;
next	1.37;

1.37
date	2000.11.16.21.10.29;	author wlemb;	state Exp;
branches;
next	1.36;

1.36
date	2000.11.15.22.29.39;	author wlemb;	state Exp;
branches;
next	1.35;

1.35
date	2000.11.14.15.36.18;	author wlemb;	state Exp;
branches;
next	1.34;

1.34
date	2000.11.14.07.16.52;	author wlemb;	state Exp;
branches;
next	1.33;

1.33
date	2000.11.13.16.51.26;	author wlemb;	state Exp;
branches;
next	1.32;

1.32
date	2000.11.08.16.17.34;	author wlemb;	state Exp;
branches;
next	1.31;

1.31
date	2000.10.26.14.15.06;	author wlemb;	state Exp;
branches;
next	1.30;

1.30
date	2000.10.25.21.06.41;	author wlemb;	state Exp;
branches;
next	1.29;

1.29
date	2000.10.24.19.02.53;	author wlemb;	state Exp;
branches;
next	1.28;

1.28
date	2000.10.23.06.19.11;	author wlemb;	state Exp;
branches;
next	1.27;

1.27
date	2000.10.14.14.53.57;	author wlemb;	state Exp;
branches;
next	1.26;

1.26
date	2000.10.07.11.44.37;	author wlemb;	state Exp;
branches;
next	1.25;

1.25
date	2000.09.22.20.30.53;	author wlemb;	state Exp;
branches;
next	1.24;

1.24
date	2000.09.11.20.01.03;	author wlemb;	state Exp;
branches;
next	1.23;

1.23
date	2000.09.02.12.33.19;	author wlemb;	state Exp;
branches;
next	1.22;

1.22
date	2000.08.25.13.14.30;	author wlemb;	state Exp;
branches;
next	1.21;

1.21
date	2000.07.31.10.41.29;	author wlemb;	state Exp;
branches;
next	1.20;

1.20
date	2000.05.23.22.08.22;	author wlemb;	state Exp;
branches;
next	1.19;

1.19
date	2000.05.22.06.21.49;	author wlemb;	state Exp;
branches;
next	1.18;

1.18
date	2000.05.19.05.05.37;	author wlemb;	state Exp;
branches;
next	1.17;

1.17
date	2000.05.12.23.27.48;	author wlemb;	state Exp;
branches;
next	1.16;

1.16
date	2000.05.05.21.59.28;	author wlemb;	state Exp;
branches;
next	1.15;

1.15
date	2000.05.04.07.44.18;	author wlemb;	state Exp;
branches;
next	1.14;

1.14
date	2000.05.02.00.39.37;	author wlemb;	state Exp;
branches;
next	1.13;

1.13
date	2000.05.01.23.47.44;	author wlemb;	state Exp;
branches;
next	1.12;

1.12
date	2000.04.30.05.12.45;	author wlemb;	state Exp;
branches;
next	1.11;

1.11
date	2000.04.29.06.02.24;	author wlemb;	state Exp;
branches;
next	1.10;

1.10
date	2000.04.22.13.17.38;	author wlemb;	state Exp;
branches;
next	1.9;

1.9
date	2000.04.08.05.36.27;	author wlemb;	state Exp;
branches;
next	1.8;

1.8
date	2000.03.06.10.15.38;	author wlemb;	state Exp;
branches;
next	1.7;

1.7
date	2000.03.03.21.48.41;	author wlemb;	state Exp;
branches;
next	1.6;

1.6
date	2000.02.27.09.05.49;	author wlemb;	state Exp;
branches;
next	1.5;

1.5
date	2000.02.20.21.01.08;	author wlemb;	state Exp;
branches;
next	1.4;

1.4
date	2000.02.20.20.58.14;	author wlemb;	state Exp;
branches;
next	1.3;

1.3
date	2000.02.11.22.17.10;	author wlemb;	state Exp;
branches;
next	1.2;

1.2
date	2000.02.11.16.26.45;	author wlemb;	state Exp;
branches;
next	1.1;

1.1
date	2000.02.06.09.34.33;	author wlemb;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2000.02.06.09.34.33;	author wlemb;	state Exp;
branches;
next	;


desc
@@


1.258
log
@

Add a new `file' warning category.

* src/roff/troff/troff.h (warning_type): Add WARN_FILE.
* src/roff/troff/input.cpp (DEFAULT_WARNING_MASK): Include
WARN_FILE.
(warning_table): Add `file' category.
(macro_source): Convert error on missing macro file to a
warning.
* NEWS, doc/groff.texinfo (I/O, Warnings), man/groff_diff.man,
src/roff/troff/troff.man: Document new warning category.
@
text
@    Copyright (C) 1989-2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
                  2009
      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.

This file describes recent user-visible changes in groff.  Bug fixes are not
described.  There are more details in the man and info pages.

VERSION 1.20.2
==============

Troff
-----

o The new `lsm' request specifies a macro to be invoked when leading spaces
  in an input line are encountered (which are removed then).  Number
  registers `lsn' and `lss' hold the number of removed leading spaces and
  the corresponding horizontal space, respectively.

o There is a new warning category `file', enabled by default.  The `mso'
  request emits warnings in this category when the requested macro file does
  not exist.


VERSION 1.20.1
==============

A packaging error made it necessary to publish this release.  No
user-visible changes.


VERSION 1.20
============

Groff
-----

o XHTML support has been added to grohtml and can be specified by
  -Txhtml.  This option also utilizes the MathML capability of
  eqn and combines the outputs of both in the final XHTML file.
  Users can also specify the `-P-V' option together with `-Txhtml'
  in groff.  This has the effect of creating an XHTML validator
  button at the bottom of each page.

o Some options have been added to control a new preprocessor,
  `preconv' (see below): `-k' activates it, `-K' sets the input
  encoding, and `-D' sets the default encoding.

o A new environment variable `GROFF_ENCODING' sets the encoding
  of input files; it implies command option `-k'.

Troff
-----

o Two new requests `device' and `devicem' have been added which are
  equivalents to the \X and \Y escapes, respectively.

o A new read-only number register `.br' is available which is set to 1
  if a macro is called as .foo and to 0 if called as 'foo.  This allows to
  reliably modify requests.

    .als bp@@orig bp
    .de bp
    .  tm before bp
    .  ie \\n[.br] .bp@@orig
    .  el 'bp@@orig
    .  tm after bp
    ..

o A new request `fzoom' has been added to adjust the optical size of a
  font in relation to the others.  The zoom factor is given in integer
  multiples of 1/1000th.  In the following example, the CR font is
  magnified by 10% (the zoom factor is 1.1).

    .fam P
    .fzoom CR 1100
    .ps 12
    Palatino and \f[CR]Courier\f[]

  The new number register `.zoom' holds the zoom value of the current font,
  in multiples of 1/1000th.

o The `cflags' request has been extended with a new flag value 64, to be
  used in combination with values 2 (break before character) and 4 (break
  after character).  If set, the hyphenation codes of the surrounding
  characters are ignored.

o A new debugging request, `pev', has been added to print all of the current
  known environments to stderr.  It first prints the state of the current
  environment, then iterates through all of the known environments, printing
  each except the one that is current.

o A new escape `\$^' has been added.  It represents the parameters of a
  macro as if they were an argument to the `ds' request.  This is used by
  `trace.tmac'.

o A new read-only number register `.O' is available which returns the
  current suppression level as set by the `\O' escape.

o The space width emitted by the `\|' and `\^' escape sequences can be
  controlled on a per-font basis.  If there is a glyph named `\|' or `\^',
  respectively (note the leading backslash), defined in the current font
  file, use this glyph's width instead of the default value.

  This behaviour is not new, but hasn't been documented before.

Nroff
-----

o Two new command line options `-w' and `-W' are accepted and passed to
  groff to enable and disable warning messages, respectively.

Preconv
-------

o This is a new preprocessor to convert various input encodings to something
  groff understands (this is, ASCII and \[uXXXX] entities, with `XXXX' a
  hexadecimal number with 4 to 6 digits, representing a Unicode input code).
  Normally, preconv should be invoked with options `-k' and `-K' of groff.
  See the preconv man page for details.

Pic
---

o int(x) now really behaves as documented: It truncates the non-integer part
  of x, this is, it rounds towards zero and not towards the next integer
  less than or equal to x.

o Pic now supports up to 32 macro arguments (and up to 16 on EBCDIC
  platforms).

o Heinz-Jrgen rtel contributed code for two new keywords, `xslanted' and
  `yslanted', which can change the shape of boxes into arbitrary
  parallelograms.

Tbl
---

o Latest versions of DWB tbl introduced an `x' column specifier for a single
  column expanded to the line width.  GNU tbl has now been extended to
  support even multiple `x' specifiers within a table.

o To avoid collision with the new `x' specifier, a block formatting macro
  must now be selected with specifier letter `m'.

Eqn
---

o Eric S. Raymond has added a new device type to eqn, MathML.  When
  -TMathML is enabled, eqn now emits MathML formula markup rather than
  groff commands.  The new groff -Txhtml device uses this.

Chem
----

o The preprocessor `chem' was added.  `chem' is a roff language to generate
  chemical structure diagrams.  It generates `pic' output.

Grops
-----

o The PS font definition files have been regenerated with newer AFM versions
  from Adobe's 35 core fonts as present in most Level 2 PS printers.  The
  changes are minor (most notably, the addition of the `Euro' glyph and an
  extended set of kerning values).

  For backwards compatibility, the old set of font definition files is still
  available; for details please read the man page of grops.

Grotty
------

o \D'p...' is now supported if the polygon consists entirely of horizontal
   and vertical lines.

Grohtml
-------

o XHTML support has been added.

o New command line option `-V' (to be used in XHTML mode) to produce an
  XHTML validator button.

o New command line option `-y' to produce a right-justified groff signature
  at the end of the document (in combination with option `-V').

Gxditview
---------

o Support for keyboard navigation has been improved.

o Similar to other X11 applications, there are now two resource files,
  `GXditview' and `GXditview-color'.

Groffer
-------

o `groffer' version 1.* exists now in a shell and a Perl version.

Afmtodit
--------

o New option `-c' to output more font information as comments.

o New option `-k' to suppress output of kerning data.

o New option `-f NAME' to set the internal name of the groff font.

Macro Packages
--------------

o Joachim Walsdorff contributed the `hdtbl' package for the generation of
  tables, using a syntax very similar to the HTML table model.  For
  example, a table with two cells and two rows looks like this:

    .TBL cols=2
    .  TR .TD 1*1 .TD 1*2
    .  TR .TD 2*1 .TD 2*2
    .ETB

  Here the same table using a more expanded syntax:

    .TBL cols=2
    .  TR
    .    TD 1*1
    .    TD 1*2
    .  TR
    .    TD 2*1
    .    TD 2*2
    .ETB

  Tables can be nested; `hdtbl' works without a preprocessor so that the
  full capability of groff's macro engine is available.

  This package currently works with `-Tps' only.

o -mandoc now supports multiple man pages (in either man or mdoc format).

o Fabrice Mnard contributed locales support.  In particular, it is now
  possible to get French localization of the main macro packages (-ms, -mm,
  -me, and -mom, but not -man and -mdoc which are localized differently) by
  appending `-mfr' to the list of macro packages.  Example:

    groff -ms -mfr foo > foo.ps

  Note that latin-9 input encoding is used for French (to support the `oe'
  ligature).

o Swedish macro localization (with `-msv') has been added.

o German macro localization (with `-mde' and `-mden' for traditional and
  new orthography, respectively) has been added.

o Czech macro localization (with `-mcs') has been added.

  Note that latin-2 input encoding is used for Czech.

o A new macro `Dx' has been added to the mdoc package which identifies the
  DragonFly OS.

o If mdoc is used to print multiple man pages (together with the -rcR=0
  command line option), each man page now starts a new page.

o -mtrace has been considerably improved, now showing number and string
  register assignments, among other things.  See the groff_trace man page
  for details.

o The PSPIC macro now works with all devices (producing a hollow
  rectangle on devices which don't support inclusion of PS images) and
  is loaded in troffrc at start-up.

o A new auxiliary macro package `62bit' has been added which provides some
  macros for adding, multiplying, and dividing signed 62bit integers (mainly
  to handle normal groff number operations without risking overflow errors).

o For -ms, Eric S. Raymond contributed support for ancient Bell Labs
  localisms `.SC', `.UC', `.P1', and `.P2'.  The latter three are enabled
  only after .SC is called.

o A new string, `SN-STYLE', has been added to the ms macros, controlling
  the formatting of section numbers in headings defined by `.NH'.

o The new macro package `ptx' provides a template definition for the `.xx'
  macro as needed by GNU ptx (for creating permuted indices).


VERSION 1.19.2
==============

Troff
-----

o Analogously to the .ft and \f pair, two new requests `gcolor' and
  `fcolor' (which pair with \m and \M, respectively) have been added to
  set the glyph and background colours.

o A new read-only, string-valued register `.sty' returns the name of the
  current style.

o Two new conditional operators `F <name>' and `S <name>' have been added.
  `F' is true if a font <name> exists.  `S' is true if a style <name> has
  been registered.

o Cyrillic characters have been added to the `utf8' and `html' output
  devices.

Pic
---

o The `by' argument in a `for' loop can now be negative if it is additive.
  For the multiplicative case, it must be greater than zero.

Eqn
---

o The following keywords aren't new but haven't been documented previously:

    undef NAME    (to undefine a macro)
    copy  "FILE"  (a synonym for `include')
    space n       (to modify the vertical spacing before and after
                   an equation)

o The following macros aren't new but haven't been documented previously:

    Alpha, ..., Omega   (the same as `ALPHA', ..., `OMEGA')
    ldots               (three dots on the base line)
    dollar              (a dollar glyph)

o The following keywords have been extended.  Again, this isn't new but
  hasn't been documented previously:

    col n { ... }
    lcol n { ... }
    rcol n { ... }
    ccol n { ... }
    pile n { ... }
    lpile n { ... }
    rpile n { ... }
    cpile n { ... }   (set vertical spacing between rows to N)

Grohtml
-------

o This device driver has been raised to beta stage; its set of tags should
  be stable now.

o New command line option `-s' to set the base point size.

o New command line option `-S' to set the split level while generating
  multiple files.

Grotty
------

o Experimental support for zero-width and double-width characters.

Gxditview
---------

o On platforms which have the X Window System this program is now built and
  installed automatically.

Xtotroff
--------

o This program to create font definition files for xditview isn't new but
  hasn't been installed previously.

Groffer
-------

o A security problem (reported as CAN-2004-0969) has been fixed.

Gdiffmk
-------

o A new script contributed by Mike Bianchi.  It compares two groff, nroff,
  or troff documents and creates an output with added margin characters
  (using `.mc') to indicate the differences.

Pdfroff
-------

o A new wrapper script contributed by Keith Marshall to easily create PDF
  documents with groff.

Macro packages
--------------

o ms.tmac

  . Support for fractional point sizes: A value for the `PS', `VS', `FPS',
    and `VPS' register larger than or equal to 1000 is always divided by
    1000.  For example, `.nr PS 10250' sets the document's font size to
    10.25 points.

  . The `Ds' and `De' macros provided in ms since groff version 1.19 have
    been removed; the equivalent `DS' and `DE' macros should be used
    instead.  X11 documents which actually use `Ds' and `De' always load a
    specific macro file from the X11 distribution (`macros.t') which
    provides proper definitions for the two macros.

  . The following registers have been added for improving layout control:

    PORPHANS
      Defines number of lines following `LP', `PP', `QP', `IP' or `XP' which
      must be kept together, before any automatic page break.

    HORPHANS
      Sets number of lines of following paragraph which must be kept with a
      heading, defined by `NH' or `SH', before any automatic page break.

    GROWPS
      Sets the first level of heading (set with `NH') which keeps the
      same point size as body text.

    PSINCR
      Sets the point size increment for each level of heading (set with
      `NH'), below the threshold level set by `GROWPS'; e.g., if
      \n[PS] = 10, \n[GROWPS] = 3 and \n[PSINCR] = 2.0p, then `.NH 1'
      produces 14pt headings, `.NH 2' produces 12pt, and all other
      levels remain at 10pt (because \n[PS] = 10).

  . The `SH' macro now accepts a numeric argument, to make heading size
    match that of `NH' with same argument value when the `GROWPS'/`PSINCR'
    feature is enabled.

  Please refer to the documentation of the ms package for other, minor
  improvements.

o me.tmac

  The section type set with the `++' request is available in the `_M'
  register.  This isn't new but hasn't been documented before.

o www.tmac

  The `HR' macro no longer causes an empty line for non-HTML devices.

  A new macro `HEAD' has been added to directly add data to the
  <head>...</head> block.

  New macros `OLS' and `OLE' to start and end an ordered list.

  New macros `DLS' and `DLE' to start and end a definition list.

Pdfmark
-------

o A new macro package contributed by Keith Marshall which implements PDF
  marks.  This is in alpha stage currently.

Miscellaneous
-------------

o Two new keywords to the DESC file have been added which are needed for
  grohtml: `image_generator' and `unscaled_charwidths'.  The former gives
  the name of the program which creates PNG images, and the latter makes
  troff always use unscaled character widths.


VERSION 1.19.1
==============

Groff
-----

o The argument of the command line option `-I' is now also passed to troff
  and grops, specifying a directory to search for files on the command line,
  files named in `so' and `psbb' requests, and files named in \X'ps: file'
  and \X'ps: import' escapes.

o If option `-V' is used more than once, the commands are both printed
  on standard error and run.

Troff
-----

o Two new read-only, string-valued registers `.m' and `.M' return the
  name of the current drawing and background color, respectively.

o New read-only register `.U' which is set to 1 if in safer mode and set
  to 0 if in unsafe mode.

o An input encoding file for latin-5 (a.k.a. ISO 8859-9) has been added.
  Example use:

    groff -Tdvi -mlatin5 my_file > my_file.dvi

  Note that some output devices don't support all glyphs of this encoding.

o If the `return' request is called with an argument, it exits twice,
  namely the current macro and the macro one level higher.  This is
  used to define a wrapper macro for `return' in trace.tmac.

o For completeness, two new requests have been added: `dei1' and `ami1'.
  They are equivalent to `dei' and `ami', respectively, but the macros
  are executed with compatibility mode off (similar to `de1' and `am1').

o New command line option `-I' to specify a directory for files (both
  those on the command line and those named in `psbb' requests).  This is
  also handled by the groff wrapper program.

o Since version 1.19 you can say `.vs 0'.  Older versions emit a warning
  and convert this to `.vs \n[.V]'.

  This hasn't been documented properly.  Note that `.vs 0' isn't saved in a
  diversion since it doesn't result in vertical motion.

Pic
---

o Dashed and dotted ellipses have been implemented.

Tbl
---

o New specifier `x' to make tbl call a user-defined macro on a table
  cell.  Patch by Heinz-Jrgen Oertel <hj.oertel@@surfeu.de>.

Grap2graph
----------

o A new script contributed by Eric S. Raymond <esr@@thyrsus.com>.  It
  converts a grap diagram into a cropped image.  Since it uses gs and the
  PNM library, virtually all graphics formats are available for output.
  [Note that the grap program itself isn't part of the groff package;
  see the file MORE.STUFF how to obtain grap.]

Grohtml
-------

o New option `-j' to emit output split into multiple files.

Grops
-----

o New command line option `-I' to specify a directory to search for files
  on the command line and files named in \X'ps: import' and \X'ps: file'
  escapes.  This is also handled by the groff wrapper program.

o The default value for the `broken' keyword in the DESC file is now 0.

Grolj4
------

o A new man page `lj4_font(5)' documents how fonts are accessed with
  grolj4.

o The built-in fonts for LJ4 and newer PCL 5 devices have been completely
  revised, mainly to access as much glyphs as possible.  The provided
  metric files should be compatible with recent PCL 5 printers also.
  Additionally, font description files have been added for the Arial and
  Times New Roman family, the MS symbol, and Wingdings fonts.

Afmtodit
--------

o New option `-x' to prevent use of built-in Adobe Glyph List.

Hpftodit
--------

o Completely revised to handle HP TrueType metric files also.  See the
  hpftodit manual page for more details.

Groffer
-------

o This version is a rewrite of groffer in many parts, but it is kept in
  the old single script style.

  New options: --text, --mode text, --tty-viewer, --X, --mode X,
  --X-viewer, --html, --mode html, --html-view, --apropos-data,
  --apropos-devel, --apropos-progs.

  New documentation file: README_SH.

  Enhancement of the configuration files and the `apropos' handling.

Macro Packages
--------------

o www.tmac: New macro `JOBNAME' to split output into multiple files.

o In mdoc, multiple calls to `.Lb' are now supported in the LIBRARY
  section.


VERSION 1.19
============

Troff
-----

o Input encoding files for latin-9 (a.k.a. latin-0 and ISO 8859-15) and
  latin-2 (ISO 8859-2) have been added.  Example use:

    groff -Tdvi -mlatin9 my_file > my_file.dvi

  You still need proper fonts with the necessary glyphs.  Out of the box,
  the groff package supports latin-9 only for -Tps, -Tdvi, and -Tutf8,
  and latin-2 only for -Tdvi and -Tutf8.

o Composite glyphs are now supported.  To do this, a subset of the Adobe
  Glyph List (AGL) Algorithm as described in

    http://partners.adobe.com/public/developer/opentype/index_glyph.html

  is used to construct glyph names based on Unicode character codes.  The
  existing groff glyph names are frozen; no glyph names which can't be
  constructed algorithmically will be added in the future.

  The \[...] escape sequence has been extended to specify multiple glyph
  components.  Example:

    \[A ho]

  this accesses a glyph with the name `u0041_0328'.

  Some groff glyphs which are useful as composites map to `wrong' Unicode
  code points.  For example, `ho' maps to U+02DB which is a spacing
  ogonek, whereas a non-spacing ogonek U+0328 is needed for composite
  glyphs.  The new request

    .composite from to

  changes the mapping while a composite glyph name is constructed.
  To make \[A ho] yield the expected result,

    .composite ho u0328

  is needed.  [The new file `composite.tmac' loaded at start-up already
  contains proper calls to `.composite'.]

  Please refer to the info pages of groff and to the groff_char man page
  for more details.

o A new request `fschar' has been added to define font-specific fallback
  characters.  They are searched after the list of fonts declared with the
  `fspecial' request but before the list of fonts declared with `special'.

o Fallback characters defined with `fschar' can be removed with the
  new `rfschar' request.

o A new request `schar' has been added to define global fallback
  characters.  They are searched after the list of fonts declared with the
  `special' request but before the already mounted special fonts.

o In groff versions 1.18 and 1.18.1, \D'f ...' didn't move the current
  point horizontally.  Despite of being silly, this change has been
  reverted for backwards compatibility.  Consequently, the intermediate
  output command `Df' also moves the position horizontally again.

  \D'f ...' is deprecated since it depends on the horizontal resolution of
  the output device (given with the `hor' parameter in the DESC file).
  Use the new \D'Fg ...' escape instead.

o For orthogonality, new \D subcommands to change the fill color are
  available:

    \D'Fr ...' (rgb)
    \D'Fc ...' (cmy)
    \D'Fg ...' (gray)
    \D'Fk ...' (cmyk)
    \D'Fd'     (default color)

  The arguments are the same as with the `defcolor' request.  The current
  position is *not* changed.

o The values set with \H and \S are now available in number registers
  \n[.height] and \n[.slant], respectively.

o The `.pe' number register isn't new but hasn't been documented before.
  It is set to 1 during a page ejection caused by the `bp' request.

o The new glyph symbol `tno' is a textual variant of `no'.

o The new glyph symbol `+e' represents U+03F5, GREEK LUNATE EPSILON SYMBOL.
  (Well, it is not really new since it has been previously supported by
  grolj4.)  The mapping for both the dvi and lj4 symbol font has been
  changed accordingly so that Greek small letter epsilon, `*e', has the
  same glyph shape as with other devices.

Grops
-----

o The font `freeeuro.pfa' has been added to provide various default glyph
  shapes for `eu' and `Eu'.

o It is now possible to access all glyphs in a Type 1 font, not only 256
  (provided the font file created by afmtodit has proper entries).  grops
  constructs additional encoding vectors on the fly if necessary.

o The paper size is now emitted via the %%DocumentMedia and PageSize
  mechanisms so that it is no longer required to tell `gv' or `ps2pdf'
  about the paper size.  The `broken' flag value 16 omits this feature
  (the used PostScript command `setpagedevice' is a LanguageLevel 2
  extension) -- if you intend to further process grops output to get an
  encapsulated PS (EPS) file you must also use this option.

  Patch by Egil Kvaleberg <egil@@kvaleberg.no>.

o Non-slanted PostScript metrics have been changed again; they no longer
  contain negative left italic correction values.  This assures correct
  spacing with eqn.

Grodvi
------

o The font cmtex10 has been added as the special font `SC' to the DVI fonts.
  It is used as a font-specific special font for CW and CWI.

o New options -l and -p to set landscape orientation and the paper size.
  grodvi now emits a `papersize' special which is understood by DVI drivers
  like dvips.

  Consequently, the DESC file should contain a `papersize' keyword.

o The glyph shapes for \[*f] and \[*e] have been exchanged with \[+f] and
  \[+e], respectively, to be in sync with all other devices.

o Glyphs \[HE] and \[DI] have been replaced with \[u2662] and \[u2661],
  respectively, since the former two glyphs have a black (filled) shape
  which grodvi doesn't provide by default (it never has actually).

Grolj4
------

o The glyphs \[*e] and \[+e] have been exchanged to be in sync with
  all other devices.

o The glyph \[~=] is now called \[|=].  Similar to other devices, \[~=]
  is now another name for glyph \[~~].

Grotty
------

o New option `-r'.  It is similar to the -i option except it tells grotty to
  use the `reverse video' attribute to render italic fonts.

Pic
---

o New command `figname' to set the name of a picture's output box in TeX
  mode.

Refer
-----

o The environment variable `REFER' to override the name of the default
  database isn't new but hasn't been documented before.

Soelim
------

o New option `-r' to avoid emission of `.lf' lines.

o New option `-t' to emit TeX comment lines (giving current file and the
  line number) instead of `.lf' lines.

Afmtodit
--------

o Unencoded glyphs in an AFM file are output also (since grops can now emit
  multiple encoding vectors for a single font).

o New option `-m' to prevent negative left italic correction values.

o The mapping and encoding file together with file `DESC' are now searched
  in the default font directory also.  Please refer to the man page of
  afmtodit for more details.

Macro Packages
--------------

o Larry Kollar <kollar@@alltel.net> and others made the man macros more
  customizable.

  . New command line options -rFT, -rIN, and -rSN to set the vertical
    location of the footer line, the body text indentation, and the
    sub-subheading indentation.

  . New command line option -rHY (similar to the ms macros) to control
    hyphenation.

  . New macros `.PT' and `.BT' to print the header and footer strings.
    They can be replaced with a customized version in `man.local'.

  . The string `HF' now holds the typeface to print headings and
    subheadings.

  . Similar to the ms macros, the LT register now defaults to LL if not
    explicitly specified on the command line.

o troff's start-up file `troffrc' now includes `papersize.tmac' to set
  the paper size with the command line option `-dpaper=<size>'.

  Possible values for `<size>' are the same as the predefined `papersize'
  values in the DESC file (only lowercase; see the groff_font man page)
  except a7-d7.  An appended `l' (ell) character denotes landscape
  orientation.  Examples: `a4', `c3l', `letterl'.

  Most output drivers need additional command line switches `-p' and
  `-l' to override the default paper length and orientation as set in
  the driver specific DESC file.

  For example, use the following for PS output on A4 paper in landscape
  orientation:

    groff -Tps -dpaper=a4l -P-pa4 -P-l -ms foo.ms > foo.ps


VERSION 1.18.1
==============

Troff
-----

o The non-slanted PostScript font definition files have been regenerated to
  include left and right italic correction values.  Applying those to a
  glyph (this is, prepending the glyph with `\,' and appending `\/' to the
  glyph) sets the glyph width to the real value given by the horizontal
  bounding box values.  Without those escapes, the advance width for the
  particular glyph is used (which can differ considerably).

  Most users will neither need this feature nor notice a difference in
  existing documents (provided \, and \/ is used as advertised, namely for
  italic fonts only); its main goal is to improve image generation with
  grohtml.

  This is an experimental change, and feedback is welcome.

Tbl
---

o Added global option `nospaces' to ignore leading and trailing spaces in
  data items.

Grolbp
------

o The option -w (--linewidth) has been added (similar to other device
  drivers) to set the default line width.

Grn
---

o Support for b-spline and Bezier curves has been added.

Groffer
-------

o New option `--shell' to select the shell under which groffer shall run.

Macro Packages
--------------

o The string `Am' (producing an ampersand) has been added to mdoc for
  compatibility with NetBSD.

o `.IX' is now deprecated for mom; you should use `.IQ' (Indent Quit)
  instead.

o In mom, new inlines `FWD', `BCK', `UP', and `DOWN' deal with horizontal
  and vertical movements; please refer to contrib/mom/NEWS for more
  details.

o New macro ENDNOTES_HDRFTR_CENTER for mom to better control headers.

Miscellaneous
-------------

o The `papersize' keyword in the DESC file now accepts multiple arguments.
  It is scanned from left to the right, and the first valid argument is
  used. This makes it possible to provide a fallback paper size.

  Example:

    papersize /etc/papersize a4

o A local font directory has been prepended to the default font path; it
  defaults to /usr/local/share/groff/site-font.  Similar to the normal
  font searching process, files must be placed into a devXXX subdirectory,
  e.g.

    /usr/local/share/groff/site-font/devps/FOO

  for a PostScript font definition file FOO.


VERSION 1.18
============

***************************************************************************
*                                                                         *
*  PLEASE READ THE CHANGES BELOW REGARDING GROTTY, GROFF'S TTY FRONTEND.  *
*                                                                         *
***************************************************************************

Troff
-----

o Color support has been added to troff and pic (and to the device drivers
  grops, grodvi, grotty, and grohtml -- other preprocessors and drivers will
  follow).  A new function `defcolor' defines colors; the escape sequence
  `\m' sets the drawing color, the escape sequence `\M' specifies the
  background color for closed objects created with \D'...' commands.
  `\m[]' and `\M[]' switch back to the previous color.  `\m' and `\M'
  correspond to the new troff output command sets starting with `m' and
  `DF'.  The device-specific default color is called `default' and can't be
  redefined.

  Use the `color' request to toggle the usage of colors (default is on); the
  read-only register `.color' is 0 if colors are not active, and non-zero
  otherwise.

  The old `Df' output command is mapped onto `DFg'; all color output
  commands don't change the current font position (consequently, `Df'
  doesn't either).

  Outputting color can be disabled in troff and groff with the option -c
  (it is always disabled in compatibility mode).  See the section on grotty
  for the GROFF_NO_SGR environment variable also.

  For defining color components as fractions between 0 and 1, a new scaling
  indicator `f' has been introduced: 1f = 65536u.  For testing whether a
  color is defined (with .if and .ie), a new conditional operator `m' is
  available.

  More details can be found in the groff_diff.7 manual page and in
  groff.texinfo.

o Similar to \m and \M, \f[] switches back to the previous font.  \fP
  (and \f[P]) is still valid for backwards compatibility.

o The new escape \F is the same as `.fam'; \F[] switches back to previous
  family -- \F[P] selects family `P'.

o Two new glyph symbols are available: `eu' is the official Euro symbol;
  `Eu' is a font-specific glyph variant.

o The new glyph symbols `t+-', `tdi', and `tmu' are textual variants of
  `+-', `di', and `mu', respectively.

o Latin-1 character 181 (PS name `mu', Unicode name U+00B5 MICRO SIGN) has
  got the troff glyph name `mc'.

o -Tutf8 is now available on EBCDIC hosts.

o Strings can take arguments, using this syntax: \*[foo arg1 arg2 ...].
  Example:

    .ds xxx This is a \\$1 test.
    \*[xxx nice]

o It is now possible to have whitespace between the first and second dot (or
  the name of the ending macro) to end a macro definition.  Example:

    .de !
    ..
    .
    .de foo
    .  nop Hello, I'm `foo'.
    .  nop I will now define `bar'.
    .  de bar !
    .    nop Hello, I'm `bar'.
    .  !
    ..

o `.fn' is a new string-valued register which returns the (internal) real
  font name; styles and families are properly concatenated.

o Three new read/write registers `seconds', `minutes', and `hours' contain
  the current time, set at start-up of troff.  Use the `af' request to
  control their output format.

o The new request `fchar' can be used to provide fallback characters.  It
  has the same syntax as the `char' request; the only difference is that a
  character defined with `.char' hides the glyph with the same name in the
  current font, whereas a character defined with `.fchar' is checked only if
  the particular glyph isn't found in the current font.  This test happens
  before checking special fonts.

o In analogy to the `tmc' request, `.writec' is the same as `.write' but
  doesn't emit a final newline.

o The new request `itc' is a variant of `.it' for which a line interrupted
  with \c counts as one input line.

o Two new requests `ds1' and `as1' which are similar to `ds' and `as' but
  with compatibility mode disabled during expansion of strings defined by
  them.

o The syntax of the `substring' request has been changed: The first
  character in a string now has index 0, the last character has index -1.
  Note that this is an incompatible change.

o To emit strings directly to the intermediate output, a new `output'
  request has been added; it is similar to `\!' used at the top level.

o `.hpf' has been extended.  It can now handle most TeX hyphenation
  pattern files without modification.  To do that, the commands \patterns,
  \hyphenation, and \endinput are recognized.  Please refer to groff_diff.7
  for more information.

o `hpfcode' is a new request to provide an input encoding mapping for the
  `hpf' request.

o The new request `hpfa' appends hyphenation patterns (`hpf' replaces
  already existing patterns).

o A new request `ami' (append macro indirect) has been added.  The first and
  second parameter of `ami' are taken from string registers rather than
  directly; this very special request is needed to make `trace.tmac'
  independent from the escape character (which might even be disabled).

o The new request `sizes' is similar to the `sizes' command in DESC files.
  It expects the same syntax; the data must be on a single line, and the
  final `0' can be omitted.

o `trin' (translate input) is a new request which is similar to `tr' with
  the exception that the `asciify' request uses the character code (if
  any) before the character translation.  Example:

    .trin ax
    .di xxx
    a
    .br
    .di
    .xxx
    .trin aa
    .asciify xxx
    .xxx

  The result is `x a'.  Using `tr', the result would be `x x'.

o The request `pvs' isn't new, but hasn't been documented before.  It
  adds vertical space after a line has been output.  This makes it an
  alternative to the `ls' request to produce double-spaced documents.
  The read-only register `.pvs' holds the current amount of the
  post-vertical line space.

o For compatibility with plan 9's troff, multiple `pi' requests are
  supported:

    .pi foo
    .pi bar

  is now equivalent to

    .pi foo | bar

o A new escape sequence `\O' is available to disable and enable glyph
  output.  Please see groff_diff.7 and groff.texinfo for more details.

o The escapes `\%', `\&', `\)', and `\:' no longer cause an error in \X;
  they are ignored now.  Additionally `\ ' and `\~' are converted to
  single space characters.

o The default tab distance in nroff mode is now 0.8i to be compatible
  with UNIX troff.

o Using the latin-1 input character 0xAD (soft hyphen) for the `shc'
  request was a bad idea.  Instead, it is now translated to `\%', and
  the default hyphenation character is again \[hy].  Note that the glyph
  \[shc] is not useful for typographic purposes; it only exists to have
  glyph names for all latin-1 characters.

Macro Packages
--------------

o Peter Schaffter <df191@@ncf.ca> has contributed a new major macro package
  called `mom', mainly for non-scientific writers, which takes care of
  many typographic issues.  It comes with a complete reference (in HTML
  format) and some examples.  `mom' has been designed to format documents
  for PostScript output only.

o Two macros `AT' (AT&T) and `UC' (Univ. of California) have been added to
  the man macros for compatibility with older BSD releases.

o Both the man and mdoc macro packages now use the LL and LT registers for
  setting the line and title length, respectively (similar to those
  registers in the ms macro package).  If not set on the command line or
  in a macro file loaded before the macro package itself, they default to
  78n in nroff mode and 6.5i in troff mode.

o The `-xwidth' specifier in the mdoc macro package has been removed.  Its
  functionality is now integrated directly into `-width'.  Similarly,
  `-column' has been extended to provide this functionality also.

o A new macro `Ex' has been added to the mdoc macro package to document an
  exit status.

o The PSPIC macro has been extended to work with DVI output (`pspic.tmac' is
  now automatically loaded for -Tdvi), using a dvips special to load the EPS
  file.

o The trace.tmac package now traces calls to `am' also.  Additionally, it
  works in compatibility mode.

o `troff.1' has been split.  Differences to UNIX troff are now documented
  in the new man page `groff_diff.7'.

o `groff_mwww.7' has been renamed to `groff_www.7'.  The file mwww.tmac
  has been removed.

o `groff_ms.7' has been completely rewritten.  It now contains a complete
  reference to the ms macros.

o `groff_trace.7' documents the trace macro package.

o Changes in www.tmac:

    Note that HTML support is still in alpha change, so it is rather likely
    that both macro names and macro syntax will change.  Some of the macros
    mentioned below aren't really new but haven't been documented properly
    before.

    The following macros have been renamed:

        MAILTO     -> MTO
        IMAGE      -> IMG
        LINE       -> HR

    For consistency, the macros `URL', `FTL', and `MTO' now all have the
    address as the first parameter followed by the description.

    By default, grohtml generates links to all section headings at the top
    of the document.  Use the new `LK' macro to specify a different place.

    For specifying the background color and a background image, use the
    new macros `BCL' and `BGIMG', respectively.

    The macro `NHR' has been added; it suppresses the generation of top and
    bottom rules which grohtml emits by default.

    The new macro `HX' determines the cut-off point for automatic link
    generation to headings.

    The image position parameter names in `IMG' have been changed to `-L',
    `-R', and `-C'.

    New macro `PIMG' for inclusion of a PNG image (it automatically
    converts it into an EPS file if not -Thtml is used).

    New macro `MPIMG' for putting a PNG image into the left or right margin
    (it automatically converts it into an EPS file if not -Thtml is used).

    New macros `HnS', `HnE' to start and end a header line block.

    New macro `DC' to produce dropcap characters.

    New macro `HTL' to generate an HTML title line only but no H1 heading.

    New macros `ULS' and `ULE' to start and end an unordered list.  The new
    macro `LI' inserts a list item.

Groff
-----

o The new command line option `-c' disables color output (which is always
  disabled in compatibility mode).

Nroff
-----

o Two new command line options `-c' and `-C'; the former passes `-c' to
  grotty (switching to the old output scheme); the latter passes `-C' to
  groff (enabling compatibility mode).

Pic
---

o New keywords `color' (or `colour', `colored', `coloured'), `outline' (or
  `outlined'), and `shaded' are available.  `outline' sets the color of the
  outline, `shaded' the fill color, and `color' sets both.  Example:

    circle shaded "green" outline "black" ;

  Filled arrows always use the outline color for filling.

  Color support for TeX output is not implemented yet.

Pic2graph
---------

o A new script contributed by Eric S. Raymond <esr@@thyrsus.com>.  It
  converts a PIC diagram into a cropped image.  Since it uses gs and the PNM
  library, virtually all graphics formats are available for output.

Eqn2graph
---------

o A new script contributed by Eric S. Raymond <esr@@thyrsus.com>.  It
  converts an EQN diagram into a cropped image.  Since it uses gs and the PNM
  library, virtually all graphics formats are available for output.

Groffer
-------

o A new script contributed by Bernd Warken <bwarken@@mayn.de>.  It displays
  groff files and man pages on X and tty, taking care of most parameters
  automatically.

Grog
----

o Documents using the mom macro package are recognized.

Grops
-----

o Color support has been added.

o A new option `-p' is available to select the output paper size.  It has
  the same syntax as the new `papersize' keyword in the DESC file.

Grodvi
------

o By default, font sizes are now available in the range 5-10000pt, similar
  to PS fonts. If you want the old behaviour (i.e., font sizes at discrete
  values only), insert the following at the start of your document:

    .if '\*[.T]'dvi' \
    .  sizes 500 600 700 800 900 1000 1095 1200 1400 1440 1600 \
             1728 1800 2000 2074 2200 2400 2488 2800 3600

o A new font file HBI (using cmssbxo10; this is slanted sans serif bold
  extended) has been added.

o Two font families are now available: `T' and `H'.

o EC and TC fonts have been integrated.  Use `-mec' (calling the file
  ec.tmac) to switch to them.  Those fonts give a much better coverage of
  the symbols defined by groff than the CM fonts.

  Note that ec.tmac must be called before any language-specific files; it
  doesn't take care of hcode values.

o Color support has been added.  For drawing commands, colors are translated
  to gray values currently.

Grotty
------

o Color support has been added, using the SGR (ISO 6429, sometimes called
  ANSI color) escape sequences.

o SGR escape sequences are now used by default for underlining and bold
  printing also, no longer using the backspace character trick.  To revert
  to the old behaviour, use the `-c' switch.

  Note that you have to use the `-R' option of `less' to make SGR escapes
  display correctly.  On the other hand, terminal programs and consoles like
  `xterm' which support SGR sequences natively can directly display the
  output of grotty.  Consequently, the options `-b', `-B', `-u', and `-U'
  work only in combination with `-c' and are ignored silently otherwise.

  For the `man' program, it may be necessary to add the `-R' option of
  `less' to the $PAGER environment variable (or $MANPAGER, depending on the
  used `man' program); alternatively, you can use `man's `-P' option (or
  adapt its configuration file accordingly).  See man(1) for more details.

o If the environment variable GROFF_NO_SGR is set, SGR output is disabled,
  reverting to the old behaviour.

o A new special \X'tty: sgr n' has been added; if n is non-zero or missing,
  enable SGR output (the default).

o If the new option `-i' is used (only in SGR mode), grotty sends escape
  sequences to set the italic font attribute instead of the underline
  attribute for italic fonts.  Note that many terminals don't have support
  for this (including xterm).

Grohtml
-------

o Color support for glyphs has been added.

o New option `-h' to select the style of headings in HTML output.

o New option `-b' to set the background colour to white.

o New options `-a' and `-g' to control the number of bits for anti-aliasing
  used for text and graphics, respectively.  Default value is 4; 0 means
  no anti-aliasing.

o groff character/glyph entities now map onto HTML 4 character entities.

Grolbp
------

o Valid paper sizes are now specified as with the new `papersize' keyword
  in the DESC file.  Specifically, the old custom paper type format
  `custAAAxBBB' is no longer supported.

Miscellaneous
-------------

o A new manual page `ditroff.7' is available.

o The groff texinfo manual is installed now, together with a bunch
  of examples.

o A new keyword `papersize' has been added to the DESC file format.  Its
  argument is either

  . a predefined paper format (e.g. `A4' or `letter')

  . a file name pointing to a file which must contain a paper size
    specification in its first line (e.g. `/etc/papersize')

  . a custom paper size definition like `35c,4i'

  See groff_font(5) for more details.  This keyword only affects the
  physical dimensions of the output medium; grops, grolj4, and grolbp use it
  currently.  troff completely ignores it.


VERSION 1.17.2
==============

This is major bug-fixing release which should replace 1.17.1.

Troff
-----

o The `IMAGE' macro in www.tmac has changed: Now the optional 2nd parameter
  gives the horizontal image location (left, centered, or right), and the
  optional 3rd and 4th parameter the image dimensions.


VERSION 1.17.1
==============

This is mainly a bug-fixing release.

Troff
-----

o Two new requests `de1' and `am1' which are similar to `de' and `am' but
  with compatibility mode disabled during expansion of macros defined by
  them.

o Added request `brp'.  This is the same as `\p'.

o Similar to other versions of troff, the `ns' request now works in all
  diversions, not only in the top-level one.

o New read-only number register `.ns'.  Returns 1 if in no-space mode,
  0 otherwise.

Nroff
-----

o Options -p (pic) and -t (tbl) added.

o The environment variable GROFF_BIN_PATH is now checked before PATH for
  finding groff.

Grohtml
-------

o New option `-D dir' to specify a directory in which all images are placed.

o New option `-I stem' to specify an image name stame.  If not given,
  `grohtml-XXX' is used (`XXX' is the process ID).


VERSION 1.17
============

Groff
-----

o `-mFOO' now searches first for `FOO.tmac' and then for `tmac.FOO'.  The
  old behaviour has been changed to overcome problems with platforms which
  have an 8+3 file name limit, and platforms which have other versions of
  troff installed also.  Additionally, all macro files have been renamed
  using the latter scheme to avoid 8+3 name clashes.

o The new environment variable GROFF_BIN_PATH is checked for programs groff
  is calling (preprocessors, troff, and output devices) before PATH.  If not
  set, it defaults to the directory where the groff binary is located.
  Previously, it was PATH only.  The nroff script only uses GROFF_BIN_PATH
  to find the groff binary but passes both the GROFF_BIN_PATH and PATH
  environment variables to groff.

Troff
-----

o The mdoc package has been completely rewritten, using the full power of
  GNU troff to remove limitations of Unix troff (which is no longer
  supported).  Most important changes are:

  . No argument limit
  . Almost all macros are parsed and callable (if it makes sense)
  . `.Lb': prints library names
  . `.Nm <punctuation>' now works as expected; `.Nm "" <punctuation>' has
    been withdrawn
  . Updated `.St' command
  . `.Fx': prints FreeBSD
  . `.Ox': prints OpenBSD
  . `.Bsx': prints BSD/OS
  . `.Brq', `.Bro', `.Brc': brace enclosure macros
  . `.Bd -centered': center lines
  . `.Bl -xwidth <string>': interpret <string> and use the resulting width
  . Support for double-sided printing (-rD1 command line switch)
  . Support for 11pt and 12pt document sizes (-rS11, -rS12 command line
    switches)

  `groff_mdoc.7' replaces `groff_mdoc.samples.7'; it now completely
  documents the mdoc package.

  Great care has been taken to assure backwards compatibility.  If you
  encounter any abnormal results, please report them to bug-groff@@gnu.org.

o A new command line option for the `man' macros (similar to the `mdoc'
  package) has been implemented: `-rcR=1' (now the default in nroff mode)
  produces one single, very long page instead of multiple pages.  `-rcR=0'
  deactivates it.

o The `return' request has been added to return immediately from a macro.

o A new request `nop' (no operation) has been added which is similar to
  `if 1'.  For example,

    .if t \{\
    Hallo!
    .\}

  can now be written as

    .if t \{\
    .  nop Hallo!
    .\}

o `box' and `boxa' are two new requests which behave similarly to `di' and
  `da' but don't include a partially filled line (which is restored after
  ending the diversion).

o The `asciify' request has been extended to `unformat' space characters
  and some other escape sequences also.

  `\ ' is no longer unformatted as a space but remains an unpaddable,
  unbreakable space character.

o The new `unformat' request is similar to `asciify' but only handles space
  characters and tabs specially if the diversion is reread, retaining font
  information.  This makes it possible to reformat diversions; for example
  the following

    .ll 3i
    .
    a01 a02 a03 a04 a05 a06 a07 a08 a09 a10.
    .
    .box box1
    .ev 1
    .nf
    \f[B]b01 b02 b03 b04 b05 b06 b07 b08 b09 b10.\f[P]
    .br
    .ev
    .box
    .
    c01 c02 c03 c04 c05 c06 c07 c08 c09 c10.
    .
    .unformat box1
    .box1

  gives

    a01  a02  a03  a04 a05 a06 a07
    a08 a09 a10.  c01 c02 c03  c04
    c05  c06 c07 c08 c09 c10.  b01
    b02 b03 b04 b05  b06  b07  b08
    b09 b10.

  Without the `unformat' request, space characters are converted to word
  space nodes which are no longer stretchable, and the result would be

    a01  a02  a03  a04 a05 a06 a07
    a08 a09 a10.  c01 c02 c03  c04
    c05  c06 c07 c08 c09 c10.  b01
    b02 b03 b04 b05 b06 b07 b08
    b09 b10.

o The new request `linetabs' controls the `line-tabs' mode.  In line-tabs
  mode, tab distances are computed relative to the (current) output line.
  Otherwise they are taken relative to the input line.  For example, the
  following

    .ds x a\t\c
    .ds y b\t\c
    .ds z c
    .ta 1i 3i
    \*x
    \*y
    \*z

  yields

    a         b         c

  In line-tabs mode, the same code gives

    a         b                   c

  The new read-only number register `.linetabs' returns 1 if in line-tabs
  mode, and 0 otherwise.

o Two new requests `tm1' and `tmc' have been added to improve writing
  messages to the terminal.  `tm1' is similar to `tm' but allows leading
  whitespace.  `tmc' is similar to `tm1' but doesn't emit a final newline.

o For compatibility with sqtroff, the request `output' has been added.
  The behaviour is similar to `\!' at the top-level, that is, it directly
  inserts its argument into the intermediate output format.  The syntax
  is similar to .tm1, allowing leading whitespace.

o The new `spreadwarn' request makes troff warn if spaces in an output
  line are widened by a given limit or more.

o Use `warnscale' to change the scaling indicator troff uses for
  warning messages.

o A new request `dei' (define indirect) has been added.  The first and
  second parameter of `dei' are taken from string registers rather than
  directly; this very special request is needed to make `trace.tmac'
  independent from the escape character (which might even be disabled).

o It is now possible to save and restore the escape character with two new
  requests `ecs' and `ecr'.

o The new escape sequence \B'...' is an analogon to `\A': If the string
  within the delimiters is a valid numeric expression, return character `1',
  and `0' otherwise.

o The new escape sequence `\:' inserts a zero-width break point.  This is
  similar to `\%' but without a soft hyphen character.

o The `tr' request can now map characters onto `\~'.

o Calling the `fam' request without an argument switches back to the
  previous font family.

o The new read-only register `.int' is set to a positive value if the last
  output line is interrupted (i.e., if the input line contains `\c').

o The `writem' request is not new, but hasn't been documented before.  This
  is similar to `write' but instead of a string the contents of a given
  macro or string is written to a stream.

o The read/write number register `hp' to get/set the current horizontal
  position relative to the input line isn't new but hasn't been documented
  properly before.

o `\X' and `\Y' are now transparent for end-of-sentence recognition.

o The `cu' request in nroff mode now works as documented (i.e., it
  underlines spaces also).

Grog
----

o The grog script now works in non-compatibility mode also (which is the
  default).  As usual, use the `-C' option to activate compatibility mode.

Grops
-----

o A new option `-P' resp. a new environment variable `GROPS_PROLOGUE' has
  been added to select a different prologue file.

o The effect of the former `-mpsnew' option to access more Type 1 characters
  is now the default and no longer available.  To get the old behaviour
  (i.e., emulation of some glyphs by composition) use `-mpsold'.

Miscellaneous
-------------

o For security reasons the following changes have been done:

  . The tmac.safer file has been replaced with a built-in solution; .open,
    .opena, .pso, .sy, and .pi are completely disabled in safer mode (which
    is the default); to enable these requests the `-U' command line flag
    must be used.

  . Files specified with the .mso request or given with the `-m' command
    line option, and hyphenation patterns loaded with `.hpf' are no longer
    searched in the current directory by default (besides the usual tmac
    path).  Instead, the home directory is used.  To add the current
    directory, either use the `-U' or `-M' command line option or set the
    GROFF_TMAC_PATH environment variable to an appropriate value.

  . troffrc, troffrc-end, and eqnrc are neither searched in the current nor
    in the home directory (even if -U is given).  Use -M or GROFF_TMAC_PATH
    to change that.

  . Similarly, the current directory is no longer part of the font path.
    Use the `-F' command line option or the GROFF_FONT_PATH environment
    variable if you really need the current directory.

o groff now installs its data files into /usr/local/share/groff/<version> by
  default, following the GNU standard.  Additionally, a local tmac directory
  (by default /usr/local/share/groff/site-tmac) is scanned before the
  standard tmac directory.  Wrapper files for system-specific macro packages
  (if necessary) are put into /usr/local/lib/groff/site-tmac; this directory
  is searched before the local tmac directory.

o All programs now have option `-v' to show the version number; they exit
  immediately afterwards, following the GNU standards.  Additionally,
  `--version' and `--help' have been added, doing the obvious actions.


VERSION 1.16.1
==============

Bug fixes only; no user-visible changes.


VERSION 1.16
============

Groff
-----

The anachronism of calling the man macro package with `-man' has been fixed;
now you can say `-m man' also. The same is true for `ms', `me', `markup',
`mandoc', and `mdoc'.

A new switch `-g' for calling `grn' is available.

A new switch `-G' for calling `grap' is available.

EBCDIC support for tty devices has been added.  On such hosts, IBM code page
1047 is available with -Tcp1047 instead of -Tascii and -Tlatin1 (and, for
the moment, -Tutf8).  Note that non-tty devices are not yet supported (but
installed).

Troff
-----

A new command line option to the `man' macros is available: `-rSxx' (with
`xx' either 10, 11, or 12) to set the base document font size to `xx'
points.  Additionally, `.SH' now produces larger headings than `.SS'.

To solve a problem with the .PSPIC macro which needs the `-U' switch of
troff to access an external program (psbb), a new request .psbb is now
available to get the bounding box of a PostScript image file.  The values
(in PostScript units) are returned in the new read-only number registers
`llx', `lly', `urx', and `ury'.  Consequently, .PSPIC has been adapted to
use the new request, and the psbb program has been removed.

A new predefined writable number register, `year', has been added.  It
contains the current year.

A new read-only register, `.Y', has been added.  It contains the revision
number of the groff package.

`\fP' now behaves as expected in situations like the following where the
font `foo' is undefined:

  .B bold text
  normal text \f[foo]bar\fP normal text

Previously, the text after \fP appeared as bold.

The `substring' request is not new, but hasn't been documented before.

The predefined `.T' string register (which holds the current output device)
is not new, but hasn't been documented before.

A new request `length' computes the length of a string and returns it in
a number register.

The macro files `tmac.a4' (for specifying A4 paper format) and `tmac.trace'
(a debugging aid) are now installed also.

A new resource file, `troffrc-end', is now available.  It is invoked after
all user-specified macros.  Currently used by the html device to include
tmac.html; thus no need for users to specify -mhtml anymore.

The soft hyphen character now has a glyph name: `shc'.

The latin-1 character 173 (PS name `periodcentered') has got the troff glyph
name `pc' and is no longer intermixed with the symbol character `md' (PS
name `mathdot').

ASCII character 34 (PS name `quotedbl') has got the troff glyph name `dq'
(which is an alias to character `"').

ASCII character 39 (PS name `quoteright') has got the troff glyph name `cq'
(which is an alias to character "'").

Some additions to the font description files have been implemented for
better support of HTML output:

  The new format of lines in the `charset' subsection of font description
  files is

     name metrics type code [entity_name] [-- comment]

  Currently, only the font description files in devhtml use the optional
  entity_name string to define glyph entities in HTML.  Everything after the
  entity_name field is ignored; in case this field isn't used, two hyphen
  characters are now necessary to start a comment.

  Two new requests are available in DESC files (currently used only with
  grohtml):

    use_charnames_in_special
      This command indicates that troff should encode named characters
      inside special commands.

    pass_filenames
      requests that troff tells the driver the source file name being
      processed.  This is achieved by another tcommand: `F filename'.

Grotty
------

Bruno Haible <haible@@clisp.cons.org> contributed support for UTF8 output.

Grohtml
-------

Added .LINE macro to tmac.arkup.

The obsolete `.LINK' macro has been removed.

.URL, .FTP, and .MAILTO macros now accept an optional third argument which
is immediately appended to the second argument (to be used with
punctuation, for example).

Grodvi
------

The font size 11pt has been changed to 10.95pt (as used in LaTeX 2e).

A new font file CWI (using cmitt10; this is typewriter italic) has been
added.

Grolbp
------

A new driver for Canon CAPSL printers (LBP-4 and LBP-8 series laser
printers).  This code has been contributed by Francisco Andres Verdu
<pandres@@dragonet.es>.

Grn
---

A new preprocessor to process gremlin pictures.  It is based on the
original Berkeley implementation of grn, written by David Slattengren
and Barry Roitblat, and has been adapted to groff by Daniel Senderowicz
<daniel@@synchrods.com> and Werner Lemberg <wl@@gnu.org>.

Pic
---

Added the `srand' command to set the seed for a new sequence of
pseudo-random numbers to be returned by `rand'.

Gxditview
---------

Simplified installation: The Imakefile is now configured (by groff's
configure script).

Documentation
-------------

Three new man pages are available: groff_tmac.5 (documenting how troff macros
are accessed and where they are found), groff.7 (a short reference of the GNU
roff language), and roff.7 (a general survey on GNU troff).

Miscellaneous
-------------

A partial port to win32 (for use with Microsoft Visual C++ 6.0) is now part
of the distribution.  It has been contributed by Blake McBride
<blake@@florida-software.com>.

More information about programs, macros, documentation, etc., which is
related to groff has been collected in the file `MORE.STUFF'.


VERSION 1.13, 1.14, 1.15
========================

Bug fixes only; no user-visible changes.


VERSION 1.12
============

Finally, there are new maintainers for groff.  Mailing lists and a CVS
repository are available also. See the file README for details.  Not all
reported bugs could be fixed, so please send mails again if something is
still not working.

Most of the installation problems should have vanished now (most
notably the $(tmac_wrap) bug).

There is now a man page called groff_man.7 which documents the basics of the
-man macros.  It has been originally written by Susan G. Kleinmann
<sgk@@debian.org>.

A (still incomplete) groff reference manual in texinfo format originally
contributed by Trent A. Fisher <trent@@gnurd.portland.or.us>.

me.man and msafer.man have been renamed to groff_me.man
resp. groff_msafer.man for consistency.

Default strings for macros in doc-common resp. tmac.an no longer contain the
word `UNIX'.

groff should now be Y2k safe (fixes contributed by Paul Eggert
<eggert@@twinsun.com>).

Following the GNU standards, groff now uses the prefix `/usr/local/' as
the default instead of replacing an existent groff binary.

groff, troff, nroff, and pic now support the -U flag to activate unsafe
behaviour (without -msafer); the -S flag for using the -msafer macros is now
the default.

Grohtml
-------

This is a new output device for producing HTML output contributed by Gaius
Mulley <gaius@@glam.ac.uk>.  It is still very alpha but has been included
into the distribution so that a lot of people have a chance to test it.  Bug
reports are highly welcome.

Grolj4
------

Duplex printing support has been contributed by Jeffrey Copeland
<jeff@@opennt.com>.

Soelim
------

Added -I option for defining include paths (patch contributed by Peter
Miller <peterm@@jna.com.au>).

Gxditview
---------

Fallback resources added (patch contributed by Larry Jones
<larry.jones@@sdrc.com>).

Will now support 8 gray levels.

mm
--

New version 1.32 (contributed by Joergen Haegg <jh@@axis.com>).


VERSION 1.11
============

Complete documentation for pic is now in the file doc/pic.ms.  It was
contributed by Eric S. Raymond, <esr@@thyrsus.com>, who is emphatically
*not* volunteering to take over groff as he is way overworked with
half a dozen other projects.


VERSION 1.10
============

The directory where data files are installed has been changed from
/usr/local/lib/groff to /usr/local/share/groff to comply with the
latest GNU coding standards.

By default groff programs with Unix equivalents are installed with a
"g" prefix unless there is an existing (non-groff) troff installation.

A new approach is used to make system macro packages available to
groff.  Instead of simply including /usr/lib/tmac in the list of
directories searched by groff, the installation process creates for
each system macro package a wrapper macro package in the groff macro
directory that references the system macro package.  The groff macro
packages are now installed with a leading "g" prefix if there is a
system version of the same macro package, and otherwise without the
"g" prefix, with the exception that the groff version of -me which is
always installed as -me.

There is a new device, lj4, for the HP LaserJet 4 (and PCL5
compatibles).

Groff
-----

groff has a -S option that prevents the use of unsafe features in pic
and troff.  This uses a new -S option of pic and the -msafer macros
for troff.

Troff
-----

The `blm' request specifies a macro to be invoked when a blank line is
encountered.

Pic
---

A -S (safer) option disables the sh command.

Grops
-----

The -m option enables manual feed.


VERSION 1.09
============

\(rn now produces a character that has the traditional metrics,
and form corners with \(ul and \(br.  This means that it does not
align properly with \(sr.  Instead there's a new character
\[radicalex] which aligns with \(sr; this is used by eqn for doing
square roots.

Troff
-----

The `pso' request allows you to read from the standard output of a
command.

Grops
-----

The PSPIC macro has options to allow the horizontal alignment of the
graphic to be specified.


VERSION 1.08
============

Troff
-----

The escape sequence \V[xxx] interpolates the value of the
environment variable xxx.

Tbl
---

The decimalpoint option can be used to specify the character to be
recognized as the decimal point character in place of the default
period.


VERSION 1.07
============

Groff
-----

The environment variable GROFF_COMMAND_PREFIX can be used to control
whether groff looks for `gtroff' or `troff' (similarily for the
preprocessors.)

Troff
-----

Multilingual hyphenation is supported by new `hpf' and `hla' requests,
and by a `\n[.hla]' number register.  The -H option has been removed.
Files of hyphenation patterns can have comments.

When a font cannot be found, troff gives a warning (of type `font',
enabled by default) instead of an error.

There's a new request `trnt' that's like `tr' except that it doesn't
apply to text transparently throughput into a diversion with \!.

Tbl
---

There is a `nokeep' option which tells tbl not to use diversions to
try to keep the table on one page.

Eqn
---

Setting the parameter `nroff' to a non-zero value causes `ndefine' to
behave like `define' and `tdefine' to be ignored.  This is done by
eqnrc when the current device is ascii or latin1.  There's a `neqn'
script that just does `eqn -Tascii'.

Grotty
------

grotty uses whatever page length was specified using the `pl' request
rather than using the paperlength command in the DESC file.  The
paperwidth command in the DESC file is also ignored.


VERSION 1.06
============

The programs in groff that have Unix counterparts can now be installed
without a leading `g' prefix.  See the `g' variable in the Makefile.

The g?nroff script simulates the nroff command using groff.

New special characters \(+h, \(+f, \(+p, \(Fn, \(Bq, \(bq, \(aq, \(lz,
\(an.  See groff_char(7).

^L is now a valid input character.

Groff
-----

The Xps pseudo-device has disappeared.  Instead there is a new -X
option that tells groff to use gxditview instead of the usual
postprocessor. (So instead of -TXps, use -XTps or just -X if your
default device is ps.)

The postprocessor to be used for a particular device is now specified
by a `postpro' command in the DESC file rather than being compiled
into groff.  Similarly the command to be used for printing (with the
-l option) is now specified by a `print' command in the DESC file.

The groff command no longer specifies eqnchar as an input file for
eqn.  Instead eqn automatically loads a file `eqnrc'.  The groff
command no longer passes the -D option to eqn.  Instead eqnrc sets the
draw_lines parameter.

The groff command no longer tells troff to load a device-specific
macro file.  This is handled instead by the `troffrc' file, which is
always loaded by troff.

The shell script version of groff has been removed.

Troff
-----

The `rchar' request removes a character definition established with `char'.

Compatibility mode is disabled and the escape character is set to `\'
while a character definition is being processed.

The `\#' escape sequence is like `\"' except that the terminating
newline is ignored.

The `shc' request tells troff which character to insert (instead of
the default \(hy) when a word is hyphenated at a line break.

A font name of 0 (zero) in the DESC file causes no font to be
mounted on the corresponding font position.  This is useful for
arranging that special fonts are mounted on positions on which users
are not likely explicitly to mount fonts.  All groff devices now avoid
initially mounting fonts on positions 5-9.

The `do' request allows a single request or macro to be interpreted
with compatibility mode disabled.

troff automatically loads a file `troffrc' before any other input file.
This can be prevented with the -R option.  This file is responsible
for loading the device-specific macros.

Pic
---

The -x option has been removed and a -n option has been added.  By
default, pic now assumes that the postprocessor supports groff
extensions.  The -n option tells pic to generate output that works
with ditroff drivers.  The -z option now applies only to TeX mode.

The -p option has been removed. Instead if the -n option is not
specified, pic generates output that uses \X'ps: ...' if the \n(0p
register is non-zero and tmac.ps sets this register to 1.

In places where you could 1st or 5th you can now say `i'th or `i+1'th
(the quotes are required).

Eqn
---

Eqn now automatically reads a file `eqnrc' from the macro directory.
This performs the same role that the eqnchar files used to.  This can
be prevented by the -R option.

Setting the draw_lines parameter to a non-zero value causes lines to
be drawn using \D rather than \l.  The -D option is now obsolete.

`uparrow', `downarrow' and `updownarrow' can be used with `left' and
`right'.

The amount of extra space added before and after lines containing
equations can be controlled using the `body_height' and `body_depth'
parameters.

Grops
-----

Font description files have been regenerated from newer AFM files.
You can get access to the additional characters present in the text
fonts in newer PostScript printers by using -mpsnew.

The default value of the -b option is specified by a `broken' command
in the DESC file.

With the -g option, grops generates PostScript code that guesses
the page height.  This allows documents to be printed on both letter
(8.5x11) and A4 paper without change.

Grodvi
------

ISO Latin-1 characters are available with -Tdvi.  Format groff_char(7)
with groff -Tdvi for more information.

Grotty
------

The -mtty-char macros contain additional character definitions for
use with grotty.

Macros
------

In previous releases the groff -me macros treated the $r and $R number
registers in a way that was incompatible with the BSD -me macros.  The
reason for this was that the approach used by the BSD -me macros does
not work with low resolution devices such as -TX75 and -TX100.
However, this caused problems with existing -me documents.  In this
release, the vertical spacing is controlled by the $v and $V registers
which have the same meaning as $r and $R in earlier groff releases.
In addition, if the $r or $R register is set to a value that would be
correct for for the BSD -me macros and a low resolution device is not
being used, then an appropriate value for the $v or $V register
is derived from the $r or $R register.

The groff -me macros work with -C and (I think) with Unix troff.

For backward compatibility with BSD -me, the \*{ and \*} strings are
also available as \*[ and \*].  Of course, \*[ is only usable
with -C.

The \*T string has been deleted.  Use \*(Tm instead.

Xditview
--------

The `n', Space and Return keys are bound to the Next Page action.  The
`p', BackSpace and Delete keys are bound to the Previous Page action.
The `q' key is bound to the Quit action.

The `r' key is bound to a rerasterize action that reruns groff, and
redisplays the current page.


VERSION 1.05
============

Pic
---

There is a alternative assignment operator `:=' which interacts
differently with blocks.

There is a new command `command', which allows the values of variables
to be passed through to troff or TeX.

The `print' command now accepts multiple arguments.

String comparison expressions (using `==' or `!=') are allowed in more
contexts.

Grotty
------

Horizontal and vertical lines drawn with \D'l ...' are rendered
using -, | and + characters.  This is intended to give reasonable
results with boxed tables.  It won't work well with pic.

Macros
------

The -mdoc macros have been upgraded to the version in the second
Berkeley networking release.  This version is not completely
compatible with earlier versions; the old version is still available
as -mdoc.old.  The grog script has been enhanced so that it can
usually determine whether a document requires the old or new versions.

With -TX75, -TX100 and -TXps, the PSPIC macro produces a box
around where the picture would appear with -Tps.


VERSION 1.04
============

An implementation of the -mm macros is included.

The directory in which temporary files are created can be controlled
by setting the GROFF_TMPDIR or TMPDIR environment variables.

Pic
---

Some MS-DOS support (see pic/make-dos-dist).

Grops
-----

There are two new \X commands (\X'ps: invis' and \X'ps: endinvis')
which make it possible to have substitute characters that are
displayed when previewing with -TXps but ignored when printing with
grops.

Xditview
--------

Support for scalable fonts.


VERSION 1.03
============

No changes other than bug fixes.


VERSION 1.02
============

There is an implementation of refer and associated programs.  groff -R
preprocesses with grefer; no mechanism is provided for passing
arguments to grefer because most grefer options have equivalent
commands which can be included in the file.  grog also supports refer.

There is an alternative perl implementation of the grog script.

The code field in lines in the charset section of font description
files is now allowed to contain an arbitrary integer (previously it
was required to lie between 0 and 255).  Currently grops and grodvi
use only the low order 8 bits of the value.  Grodvi uses the
complete value; however, this is unlikely to be useful with
traditional TeX tools (.tfm files only allow 8 bit character codes.)

Left and right double quotes can be obtained with \(lq and \(rq
respectively.

There is a new program called pfbtops which translates PostScript
fonts in pfb format to ASCII.

A slightly modified version of the Berkeley tmac.doc is included.

Troff
-----

In long escape names the closing ] is now required to be at the same
input level as the opening [.

The \A'S' escape sequence returns 1 or 0 according as S is or is not
suitable for use as a name.

\~ produces an unbreakable space that can be stretched when the line
is adjusted.

The `mso' request is like the `so' request except that it searches for
the file in the same directories in which tmac.X is searched for when
the -mX option is given.

The escape sequence `\R' is similar to the `nr' request.

Eqn
---

A new `special' primitive allows you to add new types of unary
constructs by writing a troff macro.

Pic
---

The implementation no longer uses gperf.

Grops
-----

The compile-time -DBROKEN_SPOOLER option has been replaced by a
BROKEN_SPOOLER_FLAGS option.  This allows more precise control over
how grops should workaround broken spoolers and previewers.  There is
a new -b option that can change this at run-time.

Grops now generates PostScript that complies with version 3.0 of the
Document Structuring Convention.

The resource management component of grops (the part that deals with
imported documents and downloadable fonts) has been rewritten and now
supports version 3.0 of the Document Structuring Conventions.  The
%%DocumentFonts comment is no longer supported; you must use the
%%Document{Needed,Supplied}{Fonts,Resources} comments instead
(or as well.)

tmac.psatk contains some macros that support the mechanism used by the
Andrew Toolkit for including PostScript graphics in troff documents.

Xditview
--------

Parts of xditview have been rewritten so that it can be used with the
output of gtroff -Tps.  groff -TXps runs gtroff -Tps with
gxditview.

There is a new menu entry `Print' which brings up a dialog box for
specifying a command with which the file being previewed should be
printed.

Xditview now uses imake.


VERSION 1.01
============

The groff command now understands the gtroff `-a' and `-i' options.

With the `m' and `n' scale indicators, the scale factor is rounded
horizontally before being applied.  This makes (almost) no difference
for devices with `hor' equal to 1, but it makes groff with -Tascii or
-Tlatin1 behave more like nroff in its treatment of these scale
indicators.  Accordingly tmac.tty now calls the `nroff' request so
that the `n' condition is true.

The device-specific macros (tmac.ps, tmac.dvi, tmac.tty and tmac.X)
have been made to work at least somewhat with -C.  In particular the
special characters defined by these macros now work with -C.

groff -Tdvi -p now passes pic the -x flag; this enables filling
of arrowheads and boxes, provided that your dvi driver supports the
latest version of the tpic specials.

Eqn
---

There is a new `-N' option that tells eqn not to allow newlines in
delimiters.  This allows eqn to recover better from missing closing
delimiters.  The groff command passes on a `-N' option to eqn.

Grops
-----

You can now use psfig with grops.  See the file ps/psfig.diff.  I do
not recommend using psfig for new documents.

The command \X'ps: file F' is similar to \X'ps: exec ...' except that
the PostScript code is read from the file F instead of being contained
within the \X command.  This was added to support psfig.

Grodvi
------

There are font files HB and HI corresponding to cmsssbx10 and cmssi10.

Macros
------

The groff -me macros now work with the -C option.  As a result, they
may also work with Unix nroff/troff.

In -me, the $r and $R number registers now contain the line spacing as
a percentage of the pointsize expressed in units (normally about 120).
The previous definition was useless with low resolution devices such
as X75 and X100.


VERSION 1.00
============

A -ms-like macro-package is now included.

The name for the Icelandic lowercase eth character has been changed
from \(-d to \(Sd.

Troff
-----

There is a new request `nroff', which makes the `n' built-in condition
true and the `t' built-in condition false; also a new request `troff'
which undoes the effect of the `nroff' request.  This is intended only
for backward compatibility: it is usually better to test \n(.H or
\n(.V or to use the `c' built-in condition.

The \R escape sequence has been deleted.  Use \E instead.

There are `break' and `continue' requests for use with the `while'
request.

There is a request `hym' that can ensure that when the current
adjustment mode is not `b' a line is not hyphenated if it is no
more than a given amount short, and a request `hys' that can ensure
that when the current adjustment mode is `b' a line is not
hyphenated if it can be justified by adding no more than a given
amount of extra space to each word space.

There is a request `rj' similar to `ce' that right justifies lines.

A warning of type `space' is given when a call is made to an
undefined request or macro with a name longer than two characters, and
the first two characters of the name make a name that is defined.
This is intended to find places where a space has been omitted been a
request or macro and its argument.  This type of warning is enabled by
default.

Pic
---

A comma is permitted between the arguments to the `reset' command.

For use with TeX, there is a new `-c' option that makes gpic treat
lines beginning with `.' in a way that is more compatible with tpic
(but ugly).

Eqn
---

It is no longer necessary to add `space 0' at the beginning of
complicated equations inside pictures.

`prime' is now treated as an ordinary character, as in Unix eqn.  The
previous behaviour of `prime' as an operator can now be obtained using
`opprime'.

Xditview
--------

There are two new devices X75-12 and X100-12 which are the same as X75
and X100 except that they are optimized for documents that use mostly
12 point text.


VERSION 0.6
===========

The installation process has been refined to make it easy for you to
share groff with someone who has the same type of machine as you but
does not have a C++ compiler.  See the end of the INSTALL file for
details.

There is a man page for the tfmtodit program which explains how to use
your own fonts with groff -Tdvi.

There is a man page for afmtodit which explains how to use your own
PostScript fonts with groff -Tps.

The \N escape sequence is now fully supported.  It can now be used to
access any character in a font by its output code, even if it doesn't
have a groff name.  This is made possible by a convention in the font
files that a character name of `---' refers to an unnamed character.
The drivers now all support the `N' command required for this.  The font
description files have been updated to include unnamed characters.

The `x' command in font description files has been removed: instead
any unknown commands are automatically made available to the drivers.
If you constructed your own font files with an earlier version of
tfmtodit or afmtodit, you must construct them again using the current
version.

Characters between 0200 and 0237 octal are no longer valid input
characters.  Note that these are not used in ISO 8859.

A command called `grog' has been added, similar to the `doctype'
command described in Kernighan and Pike.

Groff
-----

The groff command has some new options: -V prints the pipeline
instead of executing it; -P passes an argument to the postprocessor,
-L passes an argument to the spooler.

There is a C++ implementation of the groff command.  This handles some
things slightly better than the shell script.  In particular, it can
correctly handle arguments containing characters that have a special
meaning to the shell; it can give an error message when child
processes other than the last in the pipeline terminate abnormally;
its exit status can take account of the exit statuses of all its child
processes; it is a little more efficient; when geqn is used, it
searches for the eqnchar file in the same way that font metric files
are searched for, rather than expecting to find it in one particular
directory.

Gtroff
------

There is font translation feature: For example, you can tell gtroff to
use font `HR' whenever font `H' is requested with the line
  .ftr H HR
This would be useful for a document that uses `H' to refer to
Helvetica.

There are some new number registers: `.kern' contains the current kern
mode, `.lg' the current ligature mode, `.x' the major version number,
`.y' the minor version number, `.ce' the number of lines to be
centered in the current environment, `.trunc' the amount of vertical
space truncated by the most recently sprung vertical position trap,
`.ne' the amount of vertical space needed in the last `ne' request
that caused a vertical position trap to be sprung.

The `cf' request now behaves sensibly in a diversion.  If used in a
diversion, it now arranges for the file to be copied to the output
when the diversion is reread.

There is a new request `trf' (transparent file) similar to `cf', but
more like `\!'.

There is a new escape sequence `\Y[xxx]', roughly equivalent to
`\X'\*[xxx]'', except that the contents of string or macro xxx are not
interpreted, and xxx may contain newlines.  This requires an output
format extension; the drivers have been modified to understand this.
Grops has also been modified to cope with newlines in the arguments to
\X commands; grops has a new \X command mdef, which is like def except
that it has a first argument giving the number of definitions.

There is a new warning category `escape' which warns about unknown
escape sequences.

The `fp' request now takes an optional third argument giving the external
name of the font.

The `\_' character is now automatically translated to `\(ul' as in troff.

The environment variable `GROFF_HYPHEN' gives the name of the file
containing the hyphenation patterns.

There is a `\C'xxx'' escape sequence equivalent to `\[xxx]'.

Characters ", ', ), ], *, \(dg are now initially transparent for the purposes
of end of sentence recognition.

There is an anti-recursion feature in the `char' request, so you can
say `.char \(bu \s+2\(bu\s-2'.

The limit on the number of font positions has been removed.
Accordingly `\n[.fp]' never returns 0.

The restriction on the number of numbered environments has been removed.

There is a new escape sequence `\E' that makes it possible to
guarantee that an escape sequence won't get interpreted in copy-mode.
The `\R' escape sequence is accordingly now deprecated.

Gpic
----

Arguments of the form `X anything X' (in the `copy thru', `sh', `for',
`if' and `define' constructs) can now be of the form `{ anything }'.

If the `linethick' variable is negative (as it now is initially),
lines are drawn with a thickness proportional to the current point
size.

The `rand' function now takes no arguments and returns a number between
0 and 1.  The old syntax is still supported.

`^' can be used in expressions to indicate exponentiation.

In the `for' construct the argument to the by clause can be prefixed
by `*' to indicate that the increment is multiplicative.

A bare expression may be used as an attribute.  If the current
direction is `dir', then an attribute `expr' is equivalent to
`dir expr'

There is a `sprintf' construct that allows numbers to be formatted and used
wherever a quoted string can be used.

The height of a text object without an explicit height attribute is
the number of text strings associated with the object times the value
of the `textht' variable.

The maximum height and width of a picture is controlled by the
`maxpswid' and `maxpsht' variables.

Gtbl
----

Gtbl can now handle gracefully the situation where the `ce' request
has been applied to a table.

Geqn
----

The `ifdef' primitive has been generalized.

A tilde accent can be put underneath a box using `utilde'.  This
defined using a general `uaccent' primitive.

Grops
-----

There is a new PostScript font downloading scheme which handles font
downloading for imported illustrations.  Previously, the name of the
file containing the font was given in the `x download' line in the
groff font metric file.  Now, there is a `download' file which says
for each PostScript font name which file contains that font.  Grops
can also now handle inter-font dependencies, where one downloadable
font depends on some other (possibly downloadable) font.

The `T' font has been removed.  The characters it used to provide are
now provided by `char' definitions in tmac.ps. TSymbol.ps has also
been removed, and the tweaks it provided are now provided by `char'
definitions.

Local Variables:
version-control: never
coding: latin-1
End:
@


1.257
log
@

Implement a leading spaces macro request, `lsm', in analogy to
`blm'.
Implement two new number registers, \n[lsn] and \n[lss], which hold
the number of spaces and the horizontal space, respectively, which
would be inserted if the macro registered by `lsm' wasn't called.

* src/roff/troff/input.cpp (leading_spaces_macro_name,
leading_spaces_number, leading_spaces_space): New global
variables.
(leading_spaces_macro): New function.
(process_input_stack) <token::TOKEN_SPACE>: Handle `lsm'.
(init_input_requests): Register `lsm', \n[lsn], and \n[lss].

* NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo
(Leading Spaces Traps): Document new requests and registers.
@
text
@d23 4
@


1.256
log
@

Version 1.20.1 released
=======================

`gnu.png' isn't needed any more.

* doc/Makefile.in: Don't handle or create `gnu.png'.
Update all affected targets.

* doc/Makefile.sub: Don't handle or create `gnu.png'.
Update alll affected targets.


`gnu.eps' was missing in the tarball.
Problem reported by Patrik Gräser.

(PROCESSEDEXAMPLEFILES): Remove `gnu.eps'.
(MOSTLYCLEANNOTSRCDIRADD): Fix names of info files.
(install_data): Handle `gnu.eps' specially.

* MORE.STUFF: Mention texi2html's troff backend.
Mention http://groff.ffii.org/groff/contrib.

* README: Mention `MORE.STUFF'.

* NEWS, doc/webpage.ms, doc/groff.texinfo: Updated.
@
text
@d12 12
@


1.255
log
@

* NEWS, groff.texinfo, font/devps/*, VERSION, REVISION: Prepare for
version 1.20.
@
text
@d12 7
@


1.254
log
@

* NEWS: Mention hdtbl.
@
text
@d12 2
a13 2
VERSION 1.19.3
==============
@


1.253
log
@

* tmac/ptx.tmac: New file.

* NEWS, man/groff_tmac: man: Document it.
@
text
@d192 25
@


1.252
log
@* NEWS: Mention `preconv'.
@
text
@d1 2
a2 1
    Copyright (C) 1989-2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
d238 3
@


1.251
log
@

Implement `x' specifier for expanded columns.  Contrary to old DWB
tbl, more than a single `x' specifier can be used.  At the same
time, remove most of the code from change 2007-02-09 which collides
with the new implementation.

* src/preproc/tbl/main.cpp (format): Add `expand' array.
(format::format, format::~format): Updated.
(input_entry_format): Add `expand' field.
(input_entry_format::input_entry_format): Updated.
(input_entry_format::debug_print): Handle `expand'.
(process_format): Handle `x' specifier.
(process_data): Updated.

* src/preproc/tbl/table.cpp (AVAILABLE_REG, COLCOUNT_REG): Remove.
(EXPAND_REG): New macro.
(table_entry::divert, block_entry::divert,
alphabetic_block_entry::divert): Add parameter to control whether
expanded columns shall be handled.
(block_entry::do_width): Remove.
(block_entry::do_divert): Add parameter to control whether expanded
columns shall be handled.
Treat expanded columns like columns with a minimum width.
Remove `experimental' code.
(table::table, table::~table, table::allocate): Updated.
(table::set_expand_column): New function.
(table::count_block_columns): Replace with...
(table::count_expand_columns): This function.
(table::divide_span): Handle expanded columns the same as equal
columns.
(table::sum_columns): Add parameter to control whether expanded
columns shall be handled.
(table::compute_available_block_width): Replace with...
(table::compute_expand_width): This function.
(table::compute_total_separation): New function, taking code from
`compute_separation_factor'.
(table::compute_separation_factor): Simpler code.  The check for the
`EXPAND' flag has been moved to the caller.
(table::compute_widths): Add `top-level' changes to handle expanded
blocks.

* src/preproc/tbl/table.h (table): New field `total_separation'.
Remove `blockflag' array.
Add `expand' array.
Update member function declarations.

* src/preproc/tbl/tbl.man: Document `x' specifier.
Expand documentation to cover all aspects of Lesk's tbl reference.

* NEWS: Document `x' specifier.
@
text
@d24 7
d92 9
d147 1
a147 1
  available; for details please read the man page of `grops(1)'.
@


1.250
log
@

* tmac/doc-common (Dt): Start a new page if necessary and set up
headers.

* tmac/andoc.tmac (reload-doc): Simplify due to change in
doc-common.

* NEWS: Document it.
@
text
@d99 10
d453 1
a453 1
o New key character `x' to make tbl call a user-defined macro on a table
@


1.249
log
@

* tmac/andoc.tmac: Rewritten, based on a preliminary version from
Tadziu Hoffmann.  It can now process multiple man pages with both
man and mdoc formats intermixed.

* NEWS, tmaca/groff_man.man, tmac/groff_mdoc.man,
man/groff_tmac.man: Document it.
@
text
@a78 1
  
d102 1
a102 1
o Eric S. Raymond has added a new device type to eqn, MathML.  When 
d189 3
d281 1
a281 1
  
@


1.248
log
@

* tmac/trace.tmac: Much improved.
(trace-full): New register to be set on the command line; it
controls whether number and string register assignments get traced
also.
(!!c): New macro for comments.
(rm): New traced macro.
(de, de1, am, am1): Use \\[xxx]\\ calling method to pass \$0 to
`!!xxx'; this makes doc.tmac completely traceable.
Trace call of .de and friends also.

* tmac/groff_tmac.man, NEWS: Update.
@
text
@d166 2
@


1.247
log
@

New options -f and -k for afmtodit.

* src/afmtodit/afmtodit.pl: New options `-f NAME' sets the internal
name of the groff font.
New option `-k' disables output of kerning data.
* src/afmtodit/afmtodit.man, NEWS: Document new options.
@
text
@d189 2
a190 1
  register assignments, among other things.
@


1.246
log
@

* src/libs/libgroff/font.cpp (font::contains, font::get_code):
Handle single-letter names correctly.

* doc/groff.texinfo, man/groff_diff.man: Extend documentation of \^
and \|.
* NEWS: Updated.
@
text
@d159 4
@


1.245
log
@

* NEWS: Updated.

* src/roff/nroff/nroff.sh: Add options -w and -W.
* src/roff/nroff/nroff.man: Document them.


* tmac/hyphenex.pl: Update header output.
@
text
@d1 1
a1 1
    Copyright (C) 1989-2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
d71 8
@


1.244
log
@

* 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.
@
text
@d72 6
@


1.243
log
@

* tmac/cs.tmac: New file holding Czech strings, contributed by
Marcela Maslanova <mmaslano@@redhat.com>.
* tmac/hyphen.cs, tmac/hyphenex.cs: New hyphenation pattern files
for Czech, taken from CTAN.
* LICENSES: Updated.
* tmac/Makefile (NORMALFILES): Add Czech stuff.
* doc/groff_tmac.man: Mention cs.tmac.
@
text
@d82 4
@


1.242
log
@

* doc/groff.texinfo: Document new .O register and add cross
reference entries.

* NEWS: Updated.

* src/devices/grohtml/grohtml.man: Document new -V and -y options.

* src/devices/grohtml/html-table.cpp: Add support for XHTML 1.1.
(html_table:: emit_colspan, html_table::emit_td): New methods.
(html_table::emit_col):  Use html_table::emit_td.
(html_table::emit_table_header): Use html_table::emit_colspan if
dialect xhtml is specified.
(html_table::finish_row): Updated.

* src/devices/grohtml/html-table.h (html_table): Declare
emit_colspan, emit_td.

* src/devices/grohtml/html-text.cpp: Modified tags to comply with
xhtml if this dialect was requested.

* src/devices/grohtml/html-text.h (html_dialect): New enumeration.
(html_text): Add new variable `dialect'.

* src/devices/grohtml/post-html.cpp: Modify header tags to be XHTML
compliant.
(valid_flag, groff_sig, dialect): New global variables.
(html_printer::handle_valid_flag, html_printer::do_math,
html_printer::write_html_anchor, html_printer::write_xhtml_anchor,
html_printer::do_math, html_printer::handle_valid_flag): New
methods.
(html_printer::emit_line, html_printer::emit_raw,
html_printer::do_check_center, html_printer::write_title,
write_rule, html_printer::writeHeadMetaStyle, generate_img_src,
html_printer::begin_page): Altered to be XHTML compliant.
(html_printer::write_header): Updated.
(html_printer::troff_tag): Call do_math.
(html_printer::insert_split_file, html_printer::do_file_components,
html_printer::write_navigation): Create XHTML file components if
necessary and also produces a groff signature if requested.
(~html_printer): Call writeHeadMetaStyle at appropriate places
depending upon html_dialect.
(html_printer::special): Handle new tags `html<?p>' and `math<?p>'.
(main): Added options -x, -V, and -y.
(usage): Updated.

* src/preproc/eqn/box.cpp: Create a distinction between
the MathML device and the XHTML device.
(do_text): Issue a newline at the end of the equation if XHTML was
specified.
(box::top_level): Prefix the output of an equation by the .MATHML
macro.
(output_string): Suppress \n if XHTML was specified.

* src/preproc/eqn/main.cpp (xhtml): New global flag.
(inline_equation): Skip leading spaces after inline equation for
XHTML device.
(main): Set `xhtml' flag if `-Tmathml:xhtml' is specified.

* src/preproc/eqn/eqn.h (xhtml): New external flag.

* src/preproc/eqn/text.cpp (entity_table): Fix typo.

* src/preproc/html/pre-html.cpp (html_dialect): New enumeration.
(dialect, eqn_flag): New global variables.
(html_system): Improve debugging support.
(alterDeviceTo): Test for -Txhtml when altering device to the image
device and reset to -Txhtml.
(addZ): Renamed to...
(addArg): This.
Introducea a general parameter.
(print_args): New debugging function.
(char_buffer::run_output_filter): Use print_args and addArg rather
than addZ.
(char_buffer::do_html, char_buffer::do_image): Add -rxhtml=1 command
line parameter as an argument to the html generation of text when
xhtml is needed.  Include -e on the command line if mathml is
required.
(scanArguments): Allow -e, -V, -y and -x options.
-V, -y are handled by the back end.  -e sets `eqn_flag'.
-x determines HTML dialect.

* src/roff/groff/groff.cpp (possible_command): New method
`clear_name'.
(main):  Set eflag if -e is present on command line.
Set is_xhtml if -Txhtml is present.
Pass `-x x' to the HTML pre and post processors.
Pass `-e' to the HTML pre processor if required.
Pass `-Tmathml:xhtml' to eqn if XHTML is requested.

* src/roff/troff/input.cpp (init_input_requests): Introduce new
number register `\n[.O]'.

* tmac/s.tmac: (LP): Use .nop for semantic sugar.
(cov*ab-init) reformat.
(@@EQ): Use EQN-HTML-IMAGE and friends rather than HTML-IMAGE.
(CHECK-FOOTER-AND-KEEP): Define FS, FE such that they use
<cite></cite> for the html device rather than generate images for
footnotes.

* tmac/troffrc-end: Define EQN-HTML-IMAGE,
EQN-HTML-IMAGE-END, EQN-HTML-IMAGE-RIGHT,
EQN-HTML-IMAGE-LEFT, EQN-HTML-IMAGE-INLINE,
EQN-HTML-DO-IMAGE, EQN-HTML-IMAGE-END as null strings.

* tmac/www.tmac: (HTML<?p>): New macro.
(MATH<?p>): New macro.
(IMG, PIMG, MPIMG, HR): Use XHTML compliant syntax.
(www-emit-ltag): New macro.
(www-push-li): Updated.
(ULS): Ensure that tags are balanced in order by use of
www-emit-ltag.
(ULE): Likewise: Use www-emit-ltag and shut down paragraphs in
order.
(OLS, OLE, DLS, DLE): Ditto.
<global>: Define EQ and EN to EQN-HTML-IMAGE and EQN-HTML-IMAGE-END
respectively.
(www-li-ul, www-li-ol, www-li-dl): Updated.
(EQN-HTML-IMAGE, EQN-HTML-IMAGE-RIGHT, EQN-HTML-IMAGE-LEFT,
EQN-HTML-IMAGE-INLINE, EQN-HTML-DO-IMAGE, EQN-HTML-IMAGE-END,
MATHML): New macros.
@
text
@d19 1
a19 1
  eqn and combine the outputs of both in the final XHTML file.
d21 1
a21 1
  in groff.  This has the effect of creating an XHTML' validator
a68 8
o The PS font definition files have been regenerated with newer AFM versions
  from Adobe's 35 core fonts as present in most Level 2 PS printers.  The
  changes are minor (most notably, the addition of the `Euro' glyph and an
  extended set of kerning values).

  For backwards compatibility, the old set of font definition files is still
  available; for details please read the man page of `grops(1)'.

d95 11
a122 1

d159 4
@


1.241
log
@

Add copyrights and/or normalize them.
@
text
@d17 10
d76 3
d95 1
a95 1
  groff commands.
d109 12
@


1.240
log
@

whitespace
@
text
@d1 7
@


1.239
log
@

* src/devices/xditview/TODO, NEWS: Updated.
* src/devices/xditview/Makefile.sub (install_data, uninstall_sub):
Handle `GXditview-color'.
* src/devices/xditview/gxditview.man: Updated.

* m4/groff.m4 (GROFF_APPRESDIR_CHECK): Updated.
* m4/codeset.m4, m4/glibc21.m4, m4/iconv.m4, m4/lib-link.m4: Updated
from `gnulib' git repository.

* configure.ac: Updated.
* configure: Regenerated (using autoconf 2.61).

* config.guess, config.sub: Updated from `config' CVS repository.
* config.rpath, install-sh, mkinstalldirs: Updated from `gnulib' git
repository.
@
text
@a96 1

d1181 1
d1194 1
d1231 1
d1476 1
d1482 1
d1649 1
d1655 1
d1723 1
d1732 1
d1779 1
d1801 1
d1818 1
d1863 1
d2019 1
d2056 1
d2083 1
d2089 1
d2178 1
d2232 1
d2297 1
@


1.238
log
@	* tmac/s.tmac (SN): Define unconditionally.
	(SN-STYLE): New string; define.

	* NEWS, tmac/groff_ms.man, doc/groff.texinfo (SN-STYLE): Document it.
@
text
@a9 15
o Fabrice Mnard contributed locales support.  In particular, it is now
  possible to get French localization of the main macro packages (-ms, -mm,
  -me, and -mom, but not -man and -mdoc which are localized differently) by
  appending `-mfr' to the list of macro packages.  Example:

    groff -ms -mfr foo > foo.ps

  Note that latin-9 input encoding is used for French (to support the `oe'
  ligature).

o Swedish macro localization (with `-msv') has been added.

o German macro localization (with `-mde' and `-mden' for traditional and
  new orthography, respectively) has been added.

d89 9
d111 15
@


1.237
log
@The -TMathML option for eqn.
@
text
@d135 3
@


1.236
log
@The other Bell Labs localisms are now enabled when you call .SC.
It is no longer necessary to specift "-r bell=1" on the command line.
@
text
@d85 7
@


1.235
log
@

Add some Bell labs extensions to the -ms macros.

* tmac/s.tmac (.SC, .UC, .P1, .P2) [bell]: New macros.

* tmac/groff_ms.man, doc/groff.texinfo, NEWS: Document `-r bell'.
@
text
@d125 2
a126 2
  localisms `.SC', `.UC', `.P1', and `.P2' when the command-line switch
  `-r bell=1' is given.
@


1.234
log
@

typo
@
text
@d124 4
@


1.233
log
@

* src/preproc/tbl/tbl.man: Document .T#.

Revert last NEWS change.
@
text
@d67 4
a70 4
o The PS font definition files have been regenerated with the newer AFM
  versions from Adobe's 35 core fonts as present in most Level 2 PS
  printers.  The changes are minor (most notably, the addition of the
  `Euro' glyph and an extended set of kerning values).
@


1.232
log
@

* src/preproc/tbl/tbl.man, NEWS: Document \n[TW].
@
text
@a84 6
Tbl
---

o The number register `TW' holds the width of the last table.  This GNU
  extension isn't new but hasn't been documented before.

@


1.231
log
@

* Makefile.in (oldfontdir): New variable.
(MDEFINES): Add $(oldfontdir).
(uninstall_dirs): Remove `current' link.
Remove $(oldfontdir).

* Makefile.comm (oldfontsubdir): New variable.
(install_dev): Install files collected in $(OLDDEVFILES) into
$(oldfontsubdir).
(uninstall_dev): Remove data in $(oldfontsubdir).
(.man.n): Handle @@OLDFONTDIR@@.

* src/devices/grodvi/grodvi.man, src/devices/grohtml/grohtml.man,
src/devices/grolbp/grolbp.man, src/devices/grolj4/grolj4.man,
src/devices/grotty/grotty.man, src/devices/xditview/gxditview.man:
Document GROFF_FONT_PATH.

* src/devices/grops/grops.man: Document GROFF_FONT_PATH and
old font description files.

* font/devps/Makefile.sub (OLDDISTFILES, OLDDEVFILES): New
variables.

* font/devps/old/*: New directory, holding the previous version
of the 35 Adobe core font description files.

* font/devps/*: Regenerated the 35 Adobe core fonts, using the
Adobe-Core35_AFMs-229.tar.bz2 bundle from ftp.dante.de.

* NEWS: Document font update.
@
text
@a74 1

d85 6
@


1.230
log
@

Add support for German.  For activation, simply use -mde or -mden
(for traditional and new orthgraphy, respectively) as the last
macro package.

* tmac/de.tmac, tmac/den.tmac, tmac/hyphen.det, tmac/hyphen.den,
tmac/hyphenex.det: New files, partly taken from CTAN.
* LICENSES: Updated list of hyphenation patterns.
* man/groff_tmac.man: Mention de.tmac and den.tmac.
* NEWS: Updated.
@
text
@d67 4
a70 1
o `groffer' version 1.* exists now in a shell and a Perl version.
d72 3
d98 5
@


1.229
log
@

Support up to 32 macro arguments in pic (and up to 16 on EBCDIC
hosts).

* src/preproc/pic/lex.cpp (ARG1): Redefine.  Update all users.
(MAX_ARG): New macro.  Use it everywhere to replace hard-coded
limit of 9 arguments.
(process_body): Handle argument numbers with more than a single
digit.
(interpolate_macro_with_args): Protect against exceeding number of
arguments.

* NEWS, src/preproc/pic/pic.man, doc/pic.ms: Document it.
@
text
@d20 4
a23 1
o Swedish macro localization (with `-msv') has been added also.
@


1.228
log
@

During installation, create soft link from <version> to `current' in
<datadir>/groff.

* Makefile.comm (install): Renamed to...
(do_install): This.
(prefix_must_exist): Removed.  Code moved to Makefile.in.

* Makefile.in (TARGETS): Remove `install'.

(install): New target which first creates the directory given by
--prefix, then calling `make' to do the installation, and finishing
with the creation of the soft link.
@
text
@d74 3
@


1.227
log
@

* man/roff.man, doc/groff.texinfo: Improve history of roff, based on
information from Tom Van Vleck <thvv@@multicians.org>.


* tmac/62bit.tmac: New macro package.
* tmac/Makefile.sub (NORMALFILES): Add it.
* NEWS: Document it.

* tmac/trace.tmac: Protect against being loaded again.
(nr): Always show result.

* doc/groff.texinfo (Input Encodings): Document latin-5.

* man/grof_tmac.man: Document sv, latinX, cp1047, 60bit, ec.
@
text
@a65 1
o Rewrite of `grog'.
d74 3
@


1.226
log
@Rewrite of grog.
@
text
@d102 4
@


1.225
log
@

* tmac/trace.tmac: Improve tracing of `.nr'.
Trace `.substring' also.

* NEWS: Updated.
@
text
@d66 2
@


1.224
log
@* man/roff.man, src/roff/groff/groff.man: Add `chem', fix position
of groff development site, fix fonts.

* News: Add information on `groffer'.
@
text
@d93 2
a94 2
o -mtrace now shows whether a macro has been called as .foo or as 'foo.
  It also traces calls to the `nr', `ds', `ds1', `as', and `as1' requests.
@


1.223
log
@Update NEWS.
@
text
@d64 2
@


1.222
log
@

Add `\%^' escape to handle the parameters to a macro as a string
argument.

* src/roff/troff/input.h (DOUBLE_QUOTE): New special character.

* src/roff/troff/input.cpp (input_iterator, input_stack,
macro_iterator): Add `space_follows_arg' member function.
(macro_iterator::add_arg): Add parameter to set the `space_follows'
flag.
(arg_list): Add member `space_follows'.
Update constructor and all callers.
(decode_args): Store discarded double quotes.
(interpolate_args): Handle DOUBLE_QUOTE.
Add `\%^' escape.
(get_copy, token::next, composite_glyph_name): Handle DOUBLE_QUOTE.

* tmac/trace.tmac: Trace .nr, .ds, .ds1, .as, .as1.

* docs/groff.texinfo (Parameters), man/groff.man,
man/groff_diff.man, NEWS: Document it.
@
text
@d71 3
@


1.221
log
@

Add a request `pev' to print environment information (similar to
`pnr' and `ptr' to print number registers and traps).

* src/roff/troff/env.h (environment): Add member function print_env.

* src/roff/troff/env.cpp: (environment::print_env): New function to
print a given environment state.
(print_env): New global function to iterate through the
environments, printing each one.
(init_env_requests): Register `pev'.

* doc/groff.texinfo (Debugging), man/groff.man, man/groff_diff.man,
NEWS: Document `pev' request.
@
text
@d60 4
a81 1

d89 1
@


1.220
log
@

Add new flag to .cflags to enable hyphenation without looking at
hcode values.

* src/roff/troff/charinfo.h (charinfo): New enumeration value
`IGNORE_HCODES'.
New member function `ignore_hcodes'.

* src/roff/troff/node.cpp (break_char_node::add_self,
node::add_char): Updated.

* doc/groff.texinfo, man/groff_diff.man, NEWS: Document it.
@
text
@d55 5
@


1.219
log
@

typos, grammar fixes
@
text
@d50 5
@


1.218
log
@

Add a request `.fzoom' and a number register `.zoom' to magnify
fonts.

* src/include/font.h (font): Add member variable `zoom'.
Add member functions `set_zoom' and `get_zoom'.
Remove `static' attribute from `scale' member function.

* src/libs/libgroff/font.cpp (font::font): Updated.
(scale_round): New version with three parameters to handle zoom
factor.
(font::scale, font::get_width): Handle zoom factor.
(font::set_zoom, font::get_zoom): New functions.
(font::load): Handle `zoom' while computing `space_width'.

* src/roff/troff/env.h: Declare `env_get_zoom'.
(environment): Add member function `get_zoom'.

* src/roff/troff/env.cpp (environment::get_zoom): New function.
(init_env_requests): Initialize `.zoom' register.

* src/roff/troff/node.cpp (font_info): New member functions
`set_zoom' and `get_zoom'.
(tfont): New member function `get_zoom'.
(env_get_zoom): New function.
(troff_output_file::set_font): Handle zoom factor.
(font_zoom_request): New function.
(init_node_requests): Initialize `fzoom' request.

* docs/groff.texinfo (Changing Fonts), man/groff.man,
man/groff_diff.man, NEWS: Document `fzoom' request and `.zoom'
register.

* src/roff/troff/TODO: Updated.
@
text
@d72 2
a73 1
o A new macro `Dx' has been added which identifies the DragonFly OS.
d328 1
a328 1
o New option `-j' to emit output splitted into multiple files.
@


1.217
log
@

* tmac/pspic.tmac: Make .PSPIC work for all devices.
Print image file name for devices which don't support PS image
inclusion.
Handle multiple inclusions.
Add lots of comments.

* tmac/dvi.tmac, tmac/html.tmac, tmac/ps.tmac: Don't load
pspic.tmac.

* tmac/troffrc: Load pspic.tmac.

* man/groff_tmac.man: Update .PSPIC documentation.

* NEWS: Updated.
@
text
@d20 1
a20 1
o Swedish macro localization has been added also.
d37 13
@


1.216
log
@

Add support for \D'p...' to grotty.

* src/devices/grotty/grotty.cpp (tty_printer::draw): Move most of
its code to...
(tty_printer::line): This function.
(tty_printer::draw): Rewritten; just call either draw_line or
draw_polygon.
(tty_printer::draw_line, tty_printer::draw_polygon): New functions.

* src/devices/grotty/grotty.man, NEWS: Document it.
@
text
@d63 4
@


1.215
log
@

* src/utils/afmtodit/afmtodit.pl: New option `-c' to add font
information as a comment in output.
* src/utils/afmtodit/afmtodit.man, NEWS: Document it.
@
text
@d44 6
@


1.214
log
@

Implement new number register `.br' which is set to 1 if a macro has
been called as .foo and to 0 if called as 'bar.  This is useful for
-mtrace so that requests can be reliably traced too.

* src/roff/troff/input.cpp (input_iterator): Add virtual function
`get_break_flag'.
(macro_iterator): Add `with_break' member and `get_break_flag'
function.
Update constructors.
(input_stack): Add function `get_break_flag'.
(break_flag_reg): New number register class.
(input_init_requests): Register `.br'.

* src/roff/troff/TODO: Updated.

* tmac/trace.tmac: s/!!sp/!!!sp/.
Modify definitions of `de', `de1', `am', and `am1' to use \n[.br].

* docs/groff.texinfo, man/groff.man, man/groff_diff.man, NEWS:
Document it.
@
text
@d44 6
@


1.213
log
@

Add two request `.device' and `.devicem' which are equivalent to
`\X' and `\Y', respectively.

* src/roff/troff/input.cpp (device_request, device_macro_request):
New functions.
(init_input_requests): Register them.

* doc/groff.texinfo, man/groff_diff.man, man/groff.man, NEWS:
Document them.
@
text
@d25 12
d49 2
@


1.212
log
@

* tmac/doc-syms (Dx): New macro to identify DragonFly.
(doc-str-St--ieee1275-94, doc-str-St--isoC-amd1,
doc-str-St--isoC-tcor1, doc-str-St--isoC-tcor2): New standard
strings.
(doc-operating-system-FreeBSD-5.5, doc-operating-system-FreeBSD-7.0,
doc-operating-system-NetBSD-1.6.3, doc-operating-system-NetBSD-4.0
doc-operating-system-DragonFly-*): New operating system strings.

* tmac/groff_mdoc.man, NEWS: Document `Dx'.
@
text
@d20 5
d2341 5
@


1.211
log
@

* doc/pic.ms: With permission of Eric Raymond, put it under the
GPL.

* NEWS: Updated.
@
text
@d27 5
@


1.210
log
@

Fix URLs for Adobe's documentation files.
@
text
@d20 7
d252 1
a252 1
___
@


1.209
log
@

* src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list): Use entry
for \-.
Remove commented out entries for \' and \` (there are no such glyph
names).

* src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list): Remove
commented out entries for \' and \`.


* */*: s/legal/valid/ where appropriate.
@
text
@d342 1
a342 1
    http://partners.adobe.com/asn/tech/type/unicodegn.jsp
@


1.208
log
@

Add framework for simple adaptation of the main macro packages (mm,
me, ms, mom) to different locales.  In particular, add support for
French.  For activation, simply use `-mfr' as the last macro
package.  This feature has been contributed by Fabrice Mnard
<menard.fabrice@@wanadoo.fr>.

* tmac/fr.tmac, tmac/trans.tmac, tmac/hyphen.fr: New files.
* tmac/README: Mention hyphen.fr.
* NEWS: Updated.
@
text
@d1736 1
a1736 1
^L is now a legal input character.
d2179 1
a2179 1
Characters between 0200 and 0237 octal are no longer legal input
@


1.207
log
@

Don't use future tense.
@
text
@d4 17
@


1.206
log
@

Mention $MANPAGER variable used with some `man' systems.

* doc/webpage.ms, src/devices/grotty/grotty.man, NEWS: Updated.
@
text
@d131 1
a131 1
      Sets the first level of heading (set with `NH') which will keep the
d137 3
a139 3
      \n[PS] = 10, \n[GROWPS] = 3 and \n[PSINCR] = 2.0p, then `.NH 1' will
      produce 14pt headings, `.NH 2' will produce 12pt, and all other levels
      will remain at 10pt (because \n[PS] = 10).
d190 1
a190 1
o If option `-V' is used more than once, the commands will be both printed
d345 1
a345 1
  will change the mapping while a composite glyph name is constructed.
d740 1
a740 1
  the exception that the `asciify' request will use the character code (if
d861 2
a862 2
    New macro `PIMG' for inclusion of a PNG image (it will automatically
    convert it into an EPS file if not -Thtml is used).
d865 1
a865 2
    (it will automatically convert it into an EPS file if not
    -Thtml is used).
d1021 1
a1021 1
o The groff texinfo manual will now be installed, together with a bunch
d1236 1
a1236 1
o The new `spreadwarn' request will make troff warn if spaces in an output
d1239 1
a1239 1
o Use `warnscale' to change the scaling indicator troff will use for
d1446 1
a1446 1
will be immediately appended to the second argument (to be used with
d1481 1
a1481 1
Simplified installation: The Imakefile will now be configured (by groff's
d1533 1
a1533 1
Following the GNU standards, groff will now use the prefix `/usr/local/' as
d1630 2
a1631 2
\(rn will now produce a character that has the traditional metrics,
and will form corners with \(ul and \(br.  This means that it will not
d1654 1
a1654 1
The escape sequence \V[xxx] will interpolate the value of the
d1759 1
a1759 1
A font name of 0 (zero) in the DESC file will cause no font to be
d1814 1
a1814 1
With the -g option, grops will generate PostScript code that guesses
d1842 2
a1843 2
being used, then an appropriate value for the $v or $V register will
be derived from the $r or $R register.
d1848 1
a1848 1
also available as \*[ and \*].  Of course, \*[ will only be usable
d1883 1
a1883 1
Horizontal and vertical lines drawn with \D'l ...' will be rendered
d1896 1
a1896 1
With -TX75, -TX100 and -TXps, the PSPIC macro will produce a box
d1943 1
a1943 1
use only the low order 8 bits of the value.  Grodvi will use the
d2009 1
a2009 1
output of gtroff -Tps.  groff -TXps will run gtroff -Tps with
d2028 1
a2028 1
that the `n' condition will be true.
d2034 1
a2034 1
groff -Tdvi -p will now pass pic the -x flag; this will enable filling
d2043 1
a2043 1
delimiters.  The groff command will pass on a `-N' option to eqn.
d2094 1
a2094 1
adjustment mode is not `b' a line will not be hyphenated if it is no
d2096 1
a2096 1
that when the current adjustment mode is `b' a line will not be
d2102 1
a2102 1
A warning of type `space' will be given when a call is made to an
d2204 1
a2204 1
diversion, it will now arrange for the file to be copied to the output
d2253 1
a2253 1
lines will be drawn with a thickness proportional to the current point
@


1.205
log
@

* tmac/groff_ms.man, doc/groff.texinfo: Synchronize.

* tmac/groff_ms.man: Document `PO' better.

* NEWS: Document grotty changes.
@
text
@d980 3
a982 3
  `less' to the $PAGER environment variable; alternatively, you can use
  `man's `-P' option (or adapt its configuration file accordingly).  See
  man(1) for more details.
@


1.204
log
@

Add numbered and definition lists to www.tmac.

* tmac/www.tmac (www-ul-level1, www-ul-level2, www-ul-level3,
www-ol-level1, www-ol-level2, www-ol-level3, www-ol-tmp): New
auxiliary string registers.
(www-ul-level, www-ol-level, www-dl-level, www-ol-ctr1, www-ol-ctr2,
www-ol-ctr3, www-dl-shift): New auxiliary number registers.
(www-level): Removed.
(www-level1, www-level2, www-level3): Initialize to empty.
(www-level0, www-level4, www-level5, www-level6, www-level7,
www-level8, www-level9): New string registers.
(www-push-li, www-pop-li): New macros.
(www-push-level, www-pop-level): Renamed to...
(www-push-ul-level, www-pop-ul-level): This.
Updated.
(www-push-ol-level, www-pop-ol-level): New macros.
(ULS, ULE): Updated.
(OLS, OLE, DLS, DLE): New user macros.
(LI): Removed.  It is aliased to one of...
(www-li-ul, www-li-ol, www-li-dl): New macros.

* tmac/groff_www.man: Document new macros.

* NEWS: Updated.
@
text
@d68 5
@


1.203
log
@

Add Cyrillic to devhtml.
@
text
@d155 4
@


1.202
log
@

Updated.
@
text
@d21 2
a22 1
o Cyrillic characters have been added to the `utf8' output device.
@


1.201
log
@

* src/roff/troff/input.cpp (string_iterator::fill): Protect against
null pointer.

* tmac/papersize.tmac: Convert `paper' string contents to lowercase.

* configure: Regenerated.

* NEWS: Updated.


Integrate `pdfmark' into normal groff build system;
install macro `pdfmark' packages, build and install `pdfroff',
and PDF format documentation.

* Makefile.comm: Add PDFDOCDIR.

* Makefile.in: (MDEFINES) ALT_AWK_PROGS, ALT_GHOSTSCRIPT_PROGS,
pdfdocdir, make_pdfdoc, make_install_pdfdoc: New variables.
(unstall_dirs): Add pdfdocdir.

* aclocal.m4: (GROFF_APPRESDIR_OPTION): use AC_HELP_STRING instead
of AS_HELP_STRING.
(GROFF_GHOSTSCRIPT_PREFS): New function; support `--with-alt-gs'
option, set ALT_GHOSTSCRIPT_PROGS.
(GROFF_GHOSTSCRIPT_PATH): Support `--with-gs' option, force use of
GROFF_GHOSTSCRIPT_PREFS, set GHOSTSCRIPT.
(GROFF_HTML_PROGRAMS): Force use of GROFF_GHOSTSCRIPT_PATH; tidy up.
(GROFF_AWK_PREFS): New function; support `--with-alt-awk' option,
set ALT_AWK_PROGS.
(GROFF_AWK_PATH): New function; support `--with-awk' option, force
use of GROFF_AWK_PREFS.
(GROFF_PDFDOC_PROGRAMS): New function; force use of GROFF_AWK_PATH
and GROFF_GHOSTSCRIPT_PATH, set make_pdfdoc and make_install_pdfdoc.

* configure.ac: Add AC_PREREQ(2.56), GROFF_PDFDOC_PROGRAMS.
Remove GROFF_GHOSTSCRIPT_PATH, (forced by GROFF_PDFDOC_PROGRAMS, and
also by modified GROFF_HTML_PROGRAMS).
@
text
@d21 2
@


1.200
log
@

* src/preproc/eqn/eqn.man, NEWS: Document various extensions of
eqn.
@
text
@d90 6
d155 2
a156 2
o A new macro package (together with a build script) contributed by Keith
  Marshall which implements PDF marks.  This is in alpha stage currently.
@


1.199
log
@

Import Mike's `gdiffmk' package.

* contrib/gdiffmk/*: New files.
* Makefile.in (OTHERDIRS): Add contrib/gdiffmk.
* NEWS: Updated.
@
text
@d27 28
@


1.198
log
@

Import Keith's `pdfmark' package.  Integration is very preliminary.

* contrib/pdfmark/*: New files.
* Makefile.in (OTHERDIRS): Add contrib/pdfmark.
* NEWS: Updated.
@
text
@d55 7
@


1.197
log
@

Add option -S grohtml to determine the file split level.

* src/devices/grohtml/post-html.cpp (split_level): New global
variable.
(html_header::determine_header_level): Use split_level.
(main): Handle `-S' command line option.
Sort options.

* src/preproc/html/pre-html.cpp (scanArguments): Updated.

* src/devices/grohtml/grohtml.man: Document it.
Sort options.

* NEWS: Document it.
@
text
@d111 6
@


1.196
log
@

* src/devices/grohtml/html-table.cpp
(html_table::emit_table_header): Don't emit `cols' attribute which
doesn't exist in HTML 4.0 and is thus invalid.
@
text
@d34 3
@


1.195
log
@

* tmac/www.tmac (HTML-NS, HTML-TAG-NS, HTML-TAG-NEXT): Simplified.
(HTML</p>): Minor clean-up.

* tmac/groff_www.man: Updated.

* src/devices/grohtml/grohtml.man: Revised and updated.

* NEWS: Updated.

* src/devices/grohtml/post-html.cpp (html_printer::do_heading):
Fix space insertion.
(html_printer::do_links): Fix rules generation around automatic
heading links.

* tmac/www.tmac (LK): Use HTML-TAG-NS.
(HR): Simplify.
No longer emit empty line for non-HTML devices.
@
text
@d55 1
a55 36
o The ms macros now support fractional point sizes: A value for the PS, VS,
  FPS, and VPS register larger than or equal to 1000 is always divided by
  1000.  For example, `.nr PS 10250' sets the document's font size to
  10.25 points.

o The `Ds' and `De' macros provided in ms since groff version 1.19 have been
  removed; the equivalent `DS' and `DE' macros should be used instead.  X11
  documents which actually use `Ds' and `De' always load a specific macro
  file from the X11 distribution (macros.t) which provides proper
  definitions for the two macros.

o The following registers have been added to the ms macros for improving
  layout control:

  PORPHANS
    Defines number of lines following LP, PP, QP, IP or XP which must be
    kept together, before any automatic page break.

  HORPHANS
    Sets number of lines of following paragraph which must be kept with a
    heading, defined by NH or SH, before any automatic page break.

  GROWPS
    Sets the first level of heading (set with NH) which will keep the same
    point size as body text.

  PSINCR
    Sets the point size increment for each level of heading (set with NH),
    below the threshold level set by GROWPS; e.g., if \n[PS] = 10,
    \n[GROWPS] = 3 and \n[PSINCR] = 2.0p, then .NH 1 will produce 14pt
    headings, .NH 2 will produce 12pt, and all other levels will remain
    at 10pt (because \n[PS] = 10).

o The SH macro in the ms package now accepts a numeric argument, to make
  heading size match that of NH with same argument value when the
  GROWPS/PSINCR feature is enabled.
d57 4
a60 1
o www.tmac:
d62 42
a103 1
  The HR macro no longer causes an empty line for non-HTML devices.
d108 7
a114 2
Please refer to the documentation of the ms package for other, minor
improvements.
@


1.194
log
@

* README, doc/webpage.ms: Updated.

* tmac/www.tmac (HTML, HTML-TAG): Minor clean-ups.
@
text
@d10 3
a12 2
o Analogously to the .ft and \f pair, two new requests `glyphcolor' and
  `fillcolor' (which pair with \m and \M, respectively) have been added.
d26 8
d92 7
@


1.193
log
@

* NEWS: Updated.

* tmac/groff_www.man: Revised and updated.
@
text
@d38 5
@


1.192
log
@

This change implements the following features:

PORPHANS
  New numeric register: Defines number of lines following LP, PP,
  QP, IP or XP, which must be kept together, before any automatic
  page break.  If insufficient space remains on the current page, a
  page break is forced before the new paragraph begins.

HORPHANS
  New numeric register: Sets number of lines of following paragraph
  which must be kept with a heading, defined by NH or SH, before any
  automatic page break.  If insufficient space remains on the
  current page, a page break is forced before the heading.

GROWPS
  (Thanks to Joerg van den Hoff, for this idea).

  New numeric register: Sets the first level of heading (set with
  NH), which will keep the same point size as body text; e.g. if
  GROWPS is set to 3, .NH 3, .NH 4, ... will produce headings at the
  point size specified by \n[PS], but .NH 2 and .NH 1 will have
  progressively larger point sizes, determined by \n[PSINCR] (see
  below).

PSINCR
  New numeric register: Sets the point size increment for each level
  of heading, (set with NH), below the threshold level set by
  GROWPS; e.g. if \n[PS] = 10, \n[GROWPS] = 3 and \n[PSINCR] = 2.0p,
  then .NH 1 will produce 14pt headings, .NH 2 will produce 12pt,
  and all other levels will remain at 10pt, (because \n[PS] = 10).

SH
  Existing macro now accepts a numeric argument, to make heading
  size match that of NH with same argument value, when the
  GROWPS/PSINCR feature is enabled.

SN-DOT
  New string, set by NH macro, replaces the existing (undocumented)
  use of SN, to represent the assigned section number.

SN-NO-DOT
  New string, set by NH macro, represents the assigned section
  number, but omits the terminal period (periods at intermediate
  levels are retained).

SN
  String set by NH macro, originally undocumented, now implemented
  as an alias for SN-DOT (which reproduces original behaviour).

* tmac/s.tmac (PORPHANS): New register.
(par*start): Use it.
(HORPHANS, GROWPS, PSINCR): New registers.
(SH-NO-TAG, @@SH): Use them.
(@@NH): Improved.


* NEWS, doc/groff.texinfo, tmac/groff_ms.man: Document the deletion
of `Ds' and `De' macros.
@
text
@d52 29
@


1.191
log
@

Add requests `fcolor' and `gcolor'.

* src/roff/troff/env.cpp (fill_color_change, glyph_color_change):
New functions.
(init_env_requests): Add `fcolor' and `gcolor'.

* src/roff/troff/input.h: Export do_glyph_color and do_fill_color.

* NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
Document new requests.
@
text
@d46 6
@


1.190
log
@

Add support for fractional point sizes in ms macros.  A value for
PS, VS, FPS, and FVS greater than or equal to 1000 is always divided
by 1000.  For example, `.nr PS 10250' sets the font size to 10.25p.

* tmac/s.tmac (@@AU, @@AI, par@@load-init, par@@init, par@@reset, NL,
PX): Handle fractional point sizes for PS, VS, FPS, and FVS.

* tmac/groff_ms.man, docs/groff.texinfo, NEWS: Document it.
@
text
@d10 3
@


1.189
log
@

* src/preproc/pic/lex.cpp (for_input): Add member `from'.
Update constructor.
(do_for, for_input::get, for_input::peek): Handle negative `by'.
* src/preproc/pic/pic.man, doc/pic.ms, NEWS: Document it.
@
text
@a16 1

a22 1

d35 8
@


1.188
log
@

Implement two new conditional operators `F <name>' and `S <name>'
which check whether <name> is a valid font or style, respectively.

* src/libs/libgroff/font.cpp (text_file): Add `silent' member.
(text_file::text_file): Updated.
(text_file::error): Don't emit message if `silent' is set.
(font::load_font): Add optional third argument (which is directly
passed to `load'.
(font::load): Add optional second argument to check the header of
a font only, without emitting warning or error messages.
* src/include/font.h (font): Updated.

* src/roff/troff/input.cpp (do_if_request): Implement `S' and `F'
conditionals.
* src/roff/troff/node.cpp (mount_font_no_translate): Add optional
fourth argument to check a font without mounting.
(check_font, check_style): New functions.
* src/roff/troff/node.h: Updated.

* man/groff_diff.man, man/groff.man, NEWS, doc/groff.texinfo:
Updated.
@
text
@d16 7
@


1.187
log
@

Implement new string-valued register `.sty' to return the current
style name.

* env.cpp (environment::get_style_name_string): New function.
(init_env_requests): Add `.sty' register.
* env.h (environment): Updated.
* node.cpp (font_info): Make `get_style_name' a friend.
(get_style_name): New function.
* node.h: Updated.

* man/groff_diff.man, man/groff.man, NEWS, doc/groff.texinfo:
Updated.
@
text
@d13 5
@


1.186
log
@

* aclocal.m4 (GROFF_X11): s/have_no_x/groff_no_x/.
Add X11 stuff to CFLAGS, LDFLAGS, and LIBS temporarily.
Add test for Xmu library.
(GROFF_APPRESDIR_OPTION, GROFF_APPRESDIR_CHECK,
GROFF_APPRESDIR_DEFAULT): New macros.

* configure.ac: Call GROFF_APPRESDIR_OPTION, GROFF_APPRESDIR_CHECK,
and GROFF_APPRESDIR_DEFAULT.

* configure: Regenerated.

* Makefile.in (appresdir): New variable.
(MDEFINES): Add appresdir.

* src/devices/xditview/Makefile.sub (EXTRA_LDFLAGS): Add -Xmu and
-Xt.
(install_data, uninstall_sub): New targets to handle GXditview.ad.

* src/utils/indxbib/Makefiles.ub (install_data): Depend on
`$(srcdir)/eign', not `eign'.

* MANIFEST, INSTALL, NEWS, PROBLEMS: Updated.

* man/groff_out.man, man/roff.man, src/devices/grops/grops.man,
src/devices/xditview/gxditview.man, src/roff/groff/groff.man:
Protect (g)xditview with `\%' to avoid hyphenation.
Other minor formatting.
@
text
@d7 6
@


1.185
log
@

* NEWS, README, TODO, PROJECTS, PROBLEMS, MANIFEST, doc/webpage.ms,
tmac/TODO: Updated.

* tmac/doc-syms (doc-str-Lb-libposix, doc-str-Lb-libpthread,
doc-str-Lb-librt): Reset font.
(Lb): Rename `doc-str-Lb' to `doc-str-Lb1'.
Provide `doc-str-Lb' to reset font.
* tmac/groff_mdoc.man: Updated.
@
text
@d4 16
@


1.184
log
@

* NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
Document `.U' register.

* src/roff/troff/env.cpp (environment::mark_last_line)
[WIDOW_CONTROL]: Fix scope of `p' for new C++ compilers.

New read-only register `.U'; it returns 1 in safer mode and 0
otherwise.

* src/roff/troff/input.cpp (init_input_requests): Implement `.U'
register.
@
text
@d69 2
d108 14
@


1.183
log
@

typo
@
text
@d24 3
@


1.182
log
@

* font/devlj4/generate/special.awk: New script.
* font/devlj4/generate/Makefile (S): Use special.awk.
* font/devlj4/*: Regenerated, including the following new files:
Arial (AR, AB, AI, ABI), Times New Roman (TNRR, TNRB, TNRI, TNRBI),
MS Symbol (SYMBOL), Wingdings (WINGDINGS).
* NEWS: Document new lj4 fonts and revised hpftodit.
@
text
@d88 1
a88 1
  revised, mainly to access as much glyphs as possible.  They provided
@


1.181
log
@

* tmac/www.tmac (DC): Handle TTY devices.

* doc/webpage.ms: Document viewCVS from ffii.org.
* NEWS, README: Updated.

* src/roff/groff/groff.man: Mention lj4_font man page.

* font/devlj4/generate/Makefile (SYMBOLMAP, WINGDINGSMAP): New
variables.
(FONTS): Add SYMBOL and WINGDINGS.
(SYMBOL, WINGDINGS): New targets.

* src/devices/grolj4/lj4_font.man: New man page.
* src/devices/grolj4/Makefile.sub (MAN5): New variable.
* src/devices/grolj4.man: Mention lj4_font man page.

* src/utils/hpftodit/hpftodit.cpp (read_map): Handle line comments.
* src/utils/hpftodit/hpftodit.man: Document it.
(CW): New macro.
Remove details about fonts (which are now in lj4_font.man).

* font/devlj4/generate/symbol.map,
font/devlj4/generate/wingdings.map: New files.
@
text
@d87 6
d98 6
d129 1
a129 1
  Glyph List (AGL) Algorithm as described in 
d431 1
a431 1
  background color for closed objects created with \D'...' commands. 
@


1.180
log
@

Implement string-valued registers \n[.m] and \n[.M] to return the
name of the current drawing and background color, respectively.

* src/roff/troff/symbol.h: Moved to...
* src/include/symbol.h: Here.
Small fixes to make it work outside of the `troff' directory.
* src/roff/troff/symbol.cpp: Moved to...
* src/libs/libgroff/symbol.cpp: Here.
Small fixes to make it work outside of the `troff' directory.

* src/include/Makefile.sub (HDRS), src/libs/libgroff/Makefile.sub
(OBJS, CCSRCS), src/roff/troff/Makefile.sub (OBJS, CCSRCS, HDRS):
Updated.

* src/include/color.h: Include symbol.h.
(color): Add new field `nm'.
* src/libs/libgroff/color.cpp (color::color): Updated.

* src/roff/troff/dictionary.cpp, src/roff/troff/div.cpp,
src/roff/troff/node.cpp, src/roff/troff/number.cpp,
src/roff/troff/reg.cpp: Don't include symbol.h.

* src/roff/troff/env.cpp: Don't include symbol.h.
(environment::get_glyph_color_string,
environment_get_fill_color_string): New member functions.
(init_env_requests): Handle `.m' and `.M' registers.
* src/roff/troff/input.cpp: Don't include symbol.h.
(default_symbol): Moved to symbol.cpp/symbol.h.
(do_glyph_color, do_fill_color, define_color): Pass symbol name
to color constructor.
* src/roff/troff/env.h: Updated.

* NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
Document new registers.
@
text
@d81 6
@


1.179
log
@

Add integral extension glyph.
Add new option `-x' to afmtodit to suppress use of built-in AGL.

* font/devhtml/R.proto, font/devutf8/R.proto: Add `u23AE'.

* font/devps/generate/textmap: Provide entry for `integralex' to
override (old) PUA value of the AGL.
* font/devps/generate/Makefile (SS): Add afmtodit option `-x'.
* font/devps/*: Regenerated.

* src/utils/afmtodit/afmtodit.pl: Add option `-x'.
* src/utils/afmtodit/afmtodit.man, NEWS: Updated.
@
text
@d21 3
@


1.178
log
@

* font/devhtml/R.proto: Add u00{47,67}_0306, u00{53,73}_0327,
and u0049_0307.
Add missing latin-2 glyphs.
* font/devutf8/R.proto: Add missing latin-2 glyphs.

* tmac/troffrc: Load `composite.tmac' earlier.

* tmac/dvi.tmac, tmac/ps.tmac, tmac/lbp.tmac: Add u00{47,67}_0306,
u00{53,73}_0327, and u0049_0307.
* tmac/X.tmac: Add u00{47,67}_0306.
* tmac/tty-char.tmac: Use composite glyph names for readability.

* NEWS: Updated.

* src/include/unicode.h: Remove `extern' keywords.
@
text
@a68 1

d78 4
@


1.177
log
@

* aclocal.m4 (GROFF_BROKEN_SPOOLER_FLAGS): Set default value to 0.
* configure, NEWS: Updated.
@
text
@d21 7
@


1.176
log
@

* src/roff/troff/glyphuni.cpp, src/roff/troff/unicode.cpp,
src/roff/troff/unicode.h, src/roff/troff/uniglyph.cpp,
src/roff/troff/uniuni.cpp: Moved to...
* src/libs/libgroff/glyphuni.cpp, src/libs/libgroff/unicode.cpp,
src/libs/libgroff/unicode.h, src/libs/libgroff/uniglyph.cpp,
src/libs/libgroff/uniuni.cpp: Here.

* src/include/Makefile.sub.old (HDRS),
src/libs/libgroff/Makefile.sub (OBJS, CCSRCS),
src/roff/troff/Makefile.sub (HDRS, PBJS, CCSRCS): Updated.
@
text
@d70 3
@


1.175
log
@

* groff.texinfo: Document special behaviour of `.vs 0'.
Improve documentation of `cflags' request.
* NEWS: Updated.
@
text
@d30 1
a30 1
  those on the command line and those named in `psbb' requests.  This is
d34 1
a34 1
  and convert this to `.vs 1u'.
@


1.174
log
@

Fixing URL of Adobe Glyph List.
@
text
@d33 6
@


1.173
log
@

* src/roff/groff/groff.cpp (help), src/devices/grops/ps.cpp (usage),
src/roff/troff/input.cc (usage): Updated.

* NEWS, doc/groff.texinfo: Updated.


* src/libs/libgroff/searchpath.cpp
(search_path::open_file_cautious): New function which also handles
`-' as stdin and stdout depending on the access mode.
* src/include/searchpath.h (search_path): Updated.

* src/devices/grops/ps.cpp (main): Handle new `-I' switch.
* src/devices/grops/ps.h: Include `searchpath.h'.
* src/devices/grops/psrm.cpp (resource_manager::supply_resource):
Open resource file with `include_search_path.open_file_cautious'.
* src/devices/grops/grops.man: Document new `-I' switch.

* src/devices/grodvi/dvi.cpp (main), src/devices/grolbp/lbp.cpp
(main), src/devices/grolj4/lj4.cpp (main),
src/devices/grotty/tty.cpp (main): Ignore new `-I' switch.

* src/preproc/soelim/soelim.cpp (include_list_length, include_list):
Replaced with...
(include_search_path): New global variable.
(include_path_append): Removed.
(main): Use `include_search_path.command_line_dir' to handle `-I'.
(do_file): Simplify, using new
`include_search_path.open_file_cautious'.

* src/roff/groff/groff.cpp (print_commands): Accept file handle as
parameter.
(main): Pass arguments to `-I' to both troff and devices.
Improve handling of `-V'.
* src/roff/groff/groff.man: Document changes to -I and -V.

* src/roff/troff/input.cpp (include_search_path): New global
variable.
(next_file, source, ps_bbox_request, transparent_file,
process_input_file): Use new
`include_search_path.open_file_cautious'.
(main) Handle `-I' switch.
* src/roff/troff/node.cpp (troff_output_file::really_copy_file):
Use new `include_search_path.open_file_cautious'.
* src/roff/troff/node.h: New extern symbol `include_search_path'.
* src/roff/troff/troff.man: Document new `-I' switch.
@
text
@d91 1
a91 1
    http://partners.adobe.com/asn/developer/typeforum/unicodegn.html
@


1.172
log
@

Support multiple calls of .Lb in LIBRARY section.

* tmac/doc-common (doc-in-library-section): New register.
(doc-section-library): New string.
(Sh): Set `doc-in-library-section'.
(Rd): Updated.
* tmac/doc-syms (Lb): Insert breaks before and after arguments
if in LIBRARY section.
* tmac/doc.tmac (doc-save-global-vars): Updated.
* NEWS, tmac/groff_mdoc.man: Updated.

* tmac/doc-common (doc-default-operating-system): New variable.
(Os): Use it.
@
text
@d7 11
d29 4
d55 8
@


1.171
log
@

Add key character `x' to tbl which makes tbl call a user-defined
macro on a table cell.

* src/preproc/tbl/table.h (entry_modifier): Add `macro'.
* src/preproc/tbl/table.cpp (block_entry::do_divert): Call
`set_modifier' after printing the compatibility request.
(set_modifier): Print call to `m->macro' if not empty.
* src/preproc/tbl/main.cpp (entry_format::debug_print): Handle
`macro'.
(process_format): Implement cases `x' and `X'.
* src/preproc/tbl/tbl.man, NEWS: Updated.
@
text
@d46 3
@


1.170
log
@

* NEWS, src/devices/grops/grops.man: -b16 is necessary to produce
EPS (using eps2eps or similar programs to compute the bounding box).
@
text
@d23 6
@


1.169
log
@

Add requests `dei1' and `ami1' for completeness.

* src/roff/troff/input.cc (calling_mode): Remove
CALLING_DISABLE_COMP.
(comp_mode): New enumeration.
(do_define_string, define_string, define_nocomp_string,
append_string, append_nocomp_string): Updated.
(do_define_macro): Add third parameter.
(define_macro, define_nocomp_macro, define_indirect_macro,
append_macro, append_nocomp_macro, append_indirect_macro): Updated.
(define_indirect_nocomp_macro, append_indirect_nocomp_macro): New
functions.
(ignore): Updated.
(init_input_requests): Add `dei1' and `ami1'.

* tmac/trace.tmac: Handle de1 and am1.
(de): Improve tracing message.
(am): Add missing `do'.
(return): Use de1.

* NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
Document new requests.
@
text
@d150 4
a153 1
  extension).  Patch by Egil Kvaleberg <egil@@kvaleberg.no>.
@


1.168
log
@

* NEWS: Add new pic capability.
@
text
@d14 4
@


1.167
log
@

Make grotty work on platforms which have unsigned char as the
default for char.  Based on a patch by Thomas Klausner
<wiz@@netbsd.org>.

* src/devices/grotty/tty.cpp (schar): New typedef.
Updated calls to declare_ptable and implement_ptable.
(glyph): Use schar for back_color_idx and fore_color_idx.
(tty_printer): Use schar for curr_fore_idx and curr_back_idx.
(tty_printer::tty_color, tty_printer::tty_printer,
tty_printer::color_to_idx, tty_printer::put_color): Updated.


* src/roff/nroff/nroff.sh: Add option -d for completeness.
* src/roff/nroff/nroff.man: Updated.

* NEWS, tmac/groff_www.man: Updated.
* doc/Makefile.sub: Updated.


Implement support for multiple HTML output files.

* src/preproc/html/pre-html.cpp (scanArguments): Dummy handling for
-j command line option.

* src/devices/grohtml/post-html.cpp (job_name, multiple_files): New
global variables.
(file): New fields `new_output_file', `require_links',
`output_file_name'.
(file::file): Updated.
(files::set_file_name, files::set_links_required,
files::are_links_required, files::is_new_output_file,
files::file_name, files::next_file_name): New functions.
(header_desc): New fields `no_of_level_one_headings',
`header_filename'.
(header_desc::header_desc): Updated.
(header_desc::write_headings): Handle multiple files.
(html_printer::write_header): Save file name in which header occurs.
(html_printer::determine_header_level): Possibly split files on
level one headings.
(html_printer::do_links, html_printer::troff_tag): Updated.
(html_printer::insert_split_file, html_printer::do_job_name,
html_printer::emit_link, html_printer::write_navigation,
html_printer::do_file_components): New functions.
(html_printer::~html_printer): Handle multiple files.
(main): Handle command line option `-j'.

* src/devices/grohtml/grohtml.man: Updated.

* doc/Makefile.sub (pic.html), doc/Makefile.in (pic.html): New rule
which splits file.

* tmac/www.tmac (JOBNAME): New macro.
* tmac/s.tmac (SH-NO-TAG): New macro.
(@@SH): Call SH-NO-TAG.
(@@NH): Updated.
@
text
@d14 5
@


1.166
log
@
Integrated grap2graph, contributed by Eric S. Raymond.

* contrib/grap2graph/{Makefile.sub, grap2graph.sh, grap2graph.man}:
New files.
* Makefile.in, NEWS, MANIFEST, contrib/eqn2graph.man,
contrib/pic2graph.man, src/roff/groff/groff.man: Updated.
@
text
@d21 10
@


1.165
log
@
* tmac/doc.tmac (doc-tag-list): Don't use \Z to assure that spaces
aren't stretched in a tag (this can fail with unformatted boxes).
Instead, insert a break and go back one line.

* src/roff/troff/input.cc (return_macro_request): If called with
argument pop macro twice.  We need this to trace `return'.

* tmac/trace.tmac: Handle `return'.
Fix typos.

* NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
Document.

* tmac/groff_ms.man, doc/groff.texinfo: Improve documentation of
registers `FPS', `FVS', and `FPD'.
@
text
@d14 7
@


1.164
log
@* VERSION: Set to 1.19.
* REVISION: Set to 0.
* doc/groff.texinfo, doc/webpage.ms, NEWS: Updated.

* src/devices/grohtml/post-html.cpp (html_printer::~html_printer):
Define charset as `US-ASCII' in html output.

* tmac/www.tmac (ULE): Add missing scaling indicator.
@
text
@d4 11
@


1.163
log
@* src/devices/grohtml/post-html.cpp (html_printer::~html_printer):
Use a loose DTD.

* src/preproc/pic/pic.man, doc/pic.ms: Explain how to get a
vbox with positive height and zero depth if in TeX mode.

* NEWS: Document glyph name changes for grodvi and grolj4.
@
text
@d4 2
a5 2
VERSION 1.18.2
==============
@


1.162
log
@Add keyword `figname' to pic, specifying the name of the picture
box in TeX mode.  Based on a patch from William J Poser
<wjposer@@unagi.cis.upenn.edu>.

* src/preproc/pic/pic.y: New token `FIGNAME'.
(macro_name): New rule of type <str>.
(placeless_element): Handle `FIGNAME'.
* src/preproc/pic/lex.cpp (lookup_keyword): Add `figname'.
* src/preproc/pic/main.cpp (graphname): New global variable.
(do_picture): Initialize `graphname'.
* src/preproc/pic/pic.h: Updated.
* src/preproc/pic/tex.cpp (tex_output::start_picture): Use
`graphname'.
Simplify TeX code.
(tex_output::text): Beautify output.
* src/preproc/pic/object.cpp (object_spec::~object_spec): Deallocate
`shaded' and `outlined' unconditionally.
* NEWS, src/preproc/pic/pic.man, doc/pic.ms: Updated.
Minor improvements.

* PROBLEMS, README.CVS: Mention that bison version 1.875b or
greater is necessary.
@
text
@d131 16
@


1.161
log
@Add option -r to soelim to avoid emission of `.lf' lines.
Add option -t to produces TeX comment lines instead of `.lf' lines.

* src/preproc/soelim/soelim.cpp: New global variables `raw_flag'
and `tex_flag'.
(usage): Updated.
(main): Handle `-r' and `-t'.
(set_location): Handle `raw_flag' and `tex_flag'.
* src/preproc/soelim/soelim.man, NEWS: Updated.
@
text
@d137 6
@


1.160
log
@Add register \n[.height] which returns the value of \H.
Add register \n[.slant] which returns the value of \S.

* src/roff/troff/env.cc (init_env_requests): Implement.
* NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
Document.

* tmac/html.tmac: Move some of the data into html-end.tmac.
Remove most of the character translations for eqn since html fonts
now cover those characters.
Load www.tmac.
* tmac/html-end.tmac: New file.
* tmac/troffrc: Load html.tmac not www.tmac for -Thtml.
* tmac/troffrc-end: Load html-end.tmac not html.tmac for -Thtml.
* tmac/Makefile.sub (NORMALFILES): Add html-end.tmac.

* man/groff_out.man: Document negative values of `N' if -Thtml is
used.
@
text
@d143 8
@


1.159
log
@
Add options -p and -l to grodvi.

* src/devices/grodvi/dvi.cc: Include paper.h.
(landscape_flag, user_paper_length, user_paper_width): New global
variables.
(dvi_printer::begin_page): Emit `papersize' special.
Set color after initialization of `cur_h' and `cur_v'.
(main): Add options `-l' and `-p'.
* font/devdvi/Makefile.sub (DESC): Set `papersize'.
* src/devices/grodvi/grodvi.man, NEWS: Updated.

* src/devices/grops/psrm.cc (valid_input_table): Fixed.

* src/devices/grops/grops.man: Move documentation of .PSPIC to...
* man/groff_tmac.man: This man page.
* man/groff_font.man: Declare `paperwidth' and `paperlength' as
deprecated.

* tmac/X.tmac: Don't load pspic.tmac.
@
text
@d85 3
@


1.158
log
@
Make variable `pr' local to libdriver/input.cc.  Based on a patch
by Bernd Warken <bwarken@@mayn.de>.

* src/include/driver.h (pr): Removed.

* src/libs/libdriver/input.cc (pr): New global variable.
(do_file): Deallocate `pr'.
* src/libs/libdriver/printer.cc (pr): Removed.

* src/devices/grodvi/dvi.cc (main), src/devices/grohtml/post-html.cc
(main), src/devices/grolbp/lbp.cc (main), src/devices/grolj4/lj4.cc
(main), src/devices/grops/ps.cc (main), src/devices/grotty/tty.cc
(main): Don't delete `pr'.

* tmac/a4.tmac, tmac/composite.tmac: Use `.do'.
* tmac/papersize.tmac: New file.
* tmac/troffrc: Include `papersize.tmac'.
* tmac/Makefile.sub (NORMALFILES): Add `papersize.tmac'.
* tmac/an-old.tmac: Set LT to LL by default.

* NEWS, MANIFEST, tmac/groff_man.man, man/groff_tmac.man,
doc/groff.texinfo: Updated.

* src/libs/libgroff/paper.cc (add_iso_paper): Fix very embarassing
bug which caused all odd iso papers to have wrong dimensions.

* src/devices/grops/ps.cc (user_paper_width): New global variable.
(main) <'p'>: Set `user_paper_width' also.
(ps_printer::media_width, ps_printer::media_height): Use values
given with option `-p'.
@
text
@d122 6
@


1.157
log
@* tmac/an-old.tmac: Use register `HY' to control hyphenation.
* NEWS, tmac/groff_man.man, doc/groff.texinfo: Document it.

Added support to access more than 256 glyphs in Type 1 fonts.

* src/devices/grops/ps.cc (subencoding): New structure.
(style): Add `sub' field.
Updated all users.
(ps_printer): Add `subencodings' and `next_subencoding_index' fields.
Add `set_subencoding', `get_subfont' and `encode_subfont' member
functions.
Updated all users.
(ps_printer::set_char): Use `set_subencoding'.
(make_subencoding_name): New function.
(ps_printer::set_style): Handle case where `sty.sub' is not zero.
(ps_printer::~ps_printer): Emit subencoding definitions.

* src/devices/grops/psrm.cc (valid_input_table): New array to
properly support EBCDIC.
(white_space): Add `\f'.
(ps_get_line): Change first argument to be of type `string &'.
Updated all callers.
This allows to get lines of arbitrary length.
Use `valid_input_table'.
Remove warning about non-conforming PS line length.  This seems
not to be of great importance -- for example, dvips don't emit
a warning either.
(PS_LINE_MAX): Removed.
(matches_comment): Change first argument to be of type `string &'.

* src/devices/grops/grops.man, src/devices/grops/TODO: Updated.

* src/utils/afmtodit/afmtodit.pl (%unicode_decomposed,
%AGL_to_unicode, %default_ligatures): New hash tables.
Read all map entries.
Add unencoded characters.
Check for default ligatures if there are no `L' entries.
Print all kern entries.
Print all characters in charset.
* src/utils/afmtodit/afmtodit.man: Updated.

* font/devps/*: Regerated all fonts.

* tmac/latin[129].tmac, tmac/cp1047.tmac: Don't test for existence
of characters, just use `.trin'.  Otherwise the mapping is depending
on the font encoding.
* tmac/ps.tmac: Add `fi' and `fl'.
Improve `Fi' and `Fl'.
* tmac/X.tmac, tmac/lbp.tmac, tmac/tty.tmac: Improve `Fi' and `Fl'.
* tmac/Xps.tmac: Fix `em'.

* NEWS: Updated.
@
text
@a18 4
o Non-slanted PostScript metrics have been changed again; they no longer
  contain negative left italic correction values.  This assures correct
  spacing with eqn.

d47 2
a48 1
  is needed.
d92 3
a94 3
  grolj4.)  The mapping for the dvi symbol font has been changed accordingly
  so that Greek small letter epsilon, `*e', has the same glyph shape as with
  other devices.
d106 9
a114 5
o Now emits paper size via %%DocumentMedia and PageSize mechanisms, so
  that it is no longer required to tell `gv' or `ps2pdf' about the paper
  size.  The `broken' flag 16 omits this feature (the used PostScript
  command `setpagedevice' is a LanguageLevel 2 extension).  Patch by Egil
  Kvaleberg <egil@@kvaleberg.no>.
d117 1
a117 1
-----
d137 1
a137 1
o Unencoded glyphs in an AFM file are output also (since grops can emit
d164 20
@


1.156
log
@* src/libs/libgroff/font.cc (font::load): Fix error message for
bad character type.

* src/devices/grops/grops.man: Improve documentation of the -b
flag.

* tmac/tty.tmac: Load latin1.tmac for all TTY devices except
`ascii' and `cp1047'.
@
text
@d74 1
a74 1
  Use the new \D'Fg ...' instead.
d105 4
d136 3
d148 2
a149 1
o Larry Kollar <kollar@@alltel.net> made the man macros more customizable.
d154 3
@


1.155
log
@
* font/devdvi/generate/ec.map: Add some more Unicode entities.
* font/devdvi/*EC: Updated.

* tmac/composite.tmac, tmac/latin2.tmac, tmac/latin9.tmac: New files.
* tmac/latin1 (latin1-tr): Undo any previous mapping.
* tmac/troffrc: Load `composite.tmac'.
* tmac/Makefile.sub (NORMALFILES): Updated.

* NEWS: Updated.
@
text
@d107 2
a108 1
  size.  The `broken' flag 16 omits this feature.  Patch by Egil
@


1.154
log
@
* doc/texinfo.tex: New version 2003-02-11.06.

* tmac/doc-common (Dt): Don't emit warning for unknown section.
* tmac/groff_mdoc.man: Fix description of `Dt'.

* font/devps/prologue.ps: Fix for included Postscript that does
a setpagedevice -- which is now safely ignored.

* NEWS: Updated.

* src/devices/grops/ps.cc: Now sets the page size in the generated
document.  This is done in two ways: Via a %%-comment for gv and
the like, and via a PageSize and setpagedevice for programs that
understands Postscript proper, like ps2pdf.

* src/devices/grops/ps.h: New broken-flag to avoid page size
definition, if required.

* src/devices/grops/grops.man: New broken-flag 16 mentioned.

* doc/Makefile.in: Added -nosetpage flag (via @@pnmtops_nosetpage@@).
Not really necessary due to the fix in prologue.ps, but cleaner:
Such information does not belong in an .eps file.

* doc/Makefile.sub: See doc/Makefile.in.

* aclocal.m4 (GROFF_PNMTOPS_NOSETPAGE): Use P2 format for testing
instead of P1 since the latter is broken in some versions of netpbm.
* configure: Updated.
@
text
@d4 1
a4 1
VERSION 1.18.X
d7 1
a7 1
Grops
d10 4
a13 2
VERSION 1.18.2
==============
d15 3
a17 2
Troff
-----
@


1.153
log
@
Make man pages more customizable.

* tmac/an-old.tmac (FT): New register holding footer distance from
bottom.
(HF): New string holding the default heading font.
(TH): Handle registers `IN' and `SN' set on the command line.
Use `FT'.
(PT, BT): New strings to customize header and footer lines.
(an-header, an-footer): Use them.
(SH, SS): Use `HF'.
* tmac/groff_man.man: Document changes.

* doc/groff.texinfo: Document man changes.
Document Ultrix extensions of man.

* src/roff/troff/input.cc (do_width, do_if_request): Reset
`have_input' after changing back to old environment.

* src/devices/grolbp/lbp.cc (lbp_printer::set_line_thickness): Move
function up to be defined before first call.  This is necessary to
avoid a compilation problem with Sun's WorkShop 6 C++ compiler.

* src/utils/afmtodit/afmtodit.pl: Make script search for files in
the default font directory also.  Based on a patch from James
J. Ramsey <jjramsey_6x9eq42@@yahoo.com>.
* src/utils/afmtodit/Makefile.sub (afmtodit): Handle @@FONTDIR@@.
* src/utils/afmtodit/afmtodit.man: Document it.

* NEWS: Updated.

* tmac/groff_man.man, doc/groff.texinfo: Many minor fixes.
@
text
@d4 6
d101 5
@


1.152
log
@
Valgrind fixes.

* src/devices/grohtml/html-table.cc (html_table::~html_table):
Deallocate `columns' list.
* src/devices/grohtml/post-html.cc (char_block::~char_block):
New destructor.
(text_glob::text_glob_html, text_glob::text_glob_special,
text_glob::text_glob_line, text_glob::text_glob_auto_image,
text_glob::text_glob_tag): Avoid memory leaks.
(text_glob::remember_table): Free memory before reassigning.

Add glyph `+e', greek lunate epsilon symbol, and `-h' (with the
alias `hbar'), the Planck constant over two pi.

* font/devdvi/generate/texmi.map: Use `*e' for position 15 and
`+e' for position 34.
* font/devdvi/generate/texsy.map: Replace `DI' and `HE' with
`u2662' and `u2661'.
* font/devdvi/{MI,S}: Regenerated.
* font/devhtml/R.proto, font/devutf8/R.proto: Add `+e', `-h', `hbar'.
* font/devlbp/*: Add `hbar' alias.
* font/devlj4/generate/special.map: Ditto.
* font/devlj4/S: Regenerated.
* font/devps/generate/symbolchars: Add `+e'.
* font/devps/generate/textmap: Fix PS name for `-h'.
Add `hbar' alias.
* font/devps/symbolmap: Regenerated.

* src/devices/grops/ps.cc (transform_fill): Removed since unused.

* src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `+e',
`-h', `hbar'.
* src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Add `+e',
`-h'.

* tmac/X.tmac, tmac/ps.tmac: Provide definitions for `-h' and
`hbar'.
* tmac/tty-char.tmac: Add `+e'.
@
text
@d119 19
@


1.151
log
@
New commands \D'Fr ...', \D'Fc ...', etc. for orthogonality.
Make \D'f ...' move horizontally again for backwards compatibility.
Replace it with \D'Fg ...' where appropriate to avoid dependency
on horizontal resolution.

* src/roff/troff/input.cc (do_get_long_name): New function.
(get_long_name): Call it.

(read_draw_node): Handle `\D'Fx ...' by calling ...
(read_color_draw_node): New function.

(read_rgb, read_cmy, read_cmyk, read_gray): New optional argument
`end'.
Pass it to `do_get_long_name' which is used instead of
`get_long_name'.

* src/libs/libdriver/input.cc (color_from_Df_command): Remove
unnecessary value guard.
(parse_D_command) <'f'>: Add horizontal shift.

* src/preproc/grn/hgraph.cc (HGPrintElt) <POLYGON>: Use \D'Fg ...'.
* src/preproc/pic/troff.cc (troff_output::set_fill): Ditto.
(FILL_MAX): Removed.

* NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
Updated.

* src/roff/troff/input.cc (do_name_test, do_expr_test,
do_zero_width): Push `\n' if closing delimiter is missing.

(token::next) <ESCAPE_NEWLINE>, <'\n'>, <'\ '>: Reset `have_input'.
<'F'>: Make \F non-transparent at the beginning of line.
(process_input_stack) <token::TOKEN_CHAR, token::TOKEN_NEWLINE,
token::TOKEN_REQUEST, token::TOKEN_BEGIN_TRAP>: Don't handle
`have_input'.

(define_color): Free color in case of reassignment.

* doc/groff.texinfo (@@Defesc, @@DefescList, @@DefescItem,
@@DefescListEnd): Use @@Var, not @@var.
Fix all calls.

* src/preproc/grn/hgraph.cc (HGPrintElt): Fix typo.

* src/preproc/pic/object.cc (object_spec::~object_spec): Free
`shaded' and `outlined' arrays.
(object_spec::object_spec): Initialize `shaded' and `outlined'.
(graphic_object::set_fill_color, graphic_object::set_outline_color):
Use strsave.
(closed_object::set_fill_color): Ditto.
* src/preproc/pic/troff.cc (troff_output::set_color): Use strsave
instead of strdup.
(troff_output::reset_color): Use a_delete instead of free.
* src/preproc/pic/main.cc (do_file): Free `out' in case of error.
@
text
@d84 6
@


1.150
log
@
* NEWS: Updated.
@
text
@a46 3
o The font cmtex10 has been added as the special font `SC' to the DVI fonts.
  It is used as a font-specific special font for CW and CWI.

d58 21
d89 6
@


1.149
log
@
* NEWS: Updated.

* src/preproc/refer/refer.man: Mention REFER environment variable.
@
text
@d10 4
d75 1
a75 1
o New option -r.  It is similar to the -i option except it tells grotty to
d81 1
a81 1
o The environment variable $REFER to override the name of the default
d84 5
d97 5
a101 5
  include left and right italic correction values. Applying those to a glyph
  (this is, prepending the glyph with `\,' and appending `\/' to the glyph)
  sets the glyph width to the real value given by the horizontal bounding
  box values. Without those escapes, the advance width for the particular
  glyph is used (which can differ considerably).
@


1.148
log
@
Add glyph `tno', a textual variant of `no'.

* font/devX*/*: Regenerated.
* font/{devcp1047,devlatin1,devutf8,devhtml}/R.proto: Add `tno'.
* font/devdvi/generate/{tc.map: Replace `no' with `tno'.
* font/devdvi/generated/{texsy,textex}.map: Add `tno'.
* font/devdvi/*: Regenerated.
* font/devlbp/*: Add `tno'.
* font/devlj4/generate/tex.map: Replace `no' with `tno'.
* font/devlj4/*: Regenerated.
* font/devps/generate/textmap: Replace `no' with `tno'.
* font/devps/generate/symbolchars: Add `no'.
* font/devps/*: Regenerated.

* src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `tno'.

* tmac/cp1047.tmac, tmac/latin1.tmac: Replace `no' with `tno'.
* tmac/tty-char.tmac: Add entry for `tno' and `3d'.

* NEWS: Updated.

* tmac/dvi.tmac: Replace most `\\' with `\E'.
Add definition for `sd'.
* tmac/X.tmac, tmac/ps.tmac: Replace most `\\' with `\E'.

* tmac/eqnrc <dvi>: Use `integral' instead of `is' glyph.
@
text
@d74 6
@


1.147
log
@
* font/devdvi/generate.tc.map: s/%O/%0/.
* font/devdvi/*TC: Regenerated.

* src/roff/troff/div.cc (init_div_requests): Sorted.

* tmac/dvi.tmac: Remove `Ye'.
* tmac/ec.tmac: Remove `Ye'.
Add .rchar entry for `de'.

* man/groff.man, man/groff_diff.man: Document register `.pe'.
* doc/groff.texinfo: Document registers `.pe', `.n', and `.w'.
* NEWS: Updated.
@
text
@d60 2
@


1.146
log
@
Add PS font for various Euro glyphs.

* font/devps/generate/freeeuro.sfd: New master font file for
pfaedit.
* font/devps/generate/sfdtopfa.pe: New conversion script for
pfaedit.
* font/devps/generate/Makefile (FONTS): Add `EURO'.
(EURO, freeeuro.afm, freeeuro.pfa): New rules.
* font/devps/freeeuro.pfa, font/devps/freeeuro.afm: Generated from
`freeeuro.sfd'.
* font/devps/EURO: Generated from `freeeuro.afm'.
* font/devps/download: Add `freeuro.pfa'.
* font/devps/Makefile.sub (NORMALFILES): Adde `EURO' and
`freeeuro.pfa'.

* tmac/europs.tmac: New file.
* tmac/ps.tmac: Include `europs.tmac'.
* tmac/Makefile.sub (DISTFILES): Add `europs.tmac'.


* font/devdvi/generate/texsy.map: Remove `lh' and `rh'.
* font/devdvi/S: Regenerated.
* font/devhtml/R.proto: Fix `CR' and `ci'.
Add `OK'.
* font/devps/generate/textmap: Fix `lh', `rh', and `sq'.
Remove `bs'.
* font/devps/symbolmap: Regenerated.
* font/devutf8/R.proto: Fix `CR' and `ci'.
Add `OK'.
* font/devutf8/NOTES: Updated.

* src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Fix `CR' and
`ci'.
Add `OK'.
* src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Ditto.

* tmac/dvi.tmac: Add `lh' and `rh'.
* tmac/Xps.tmac: Fix `lh' and `rh'.
* tmac/X.tmac: Add `OK'.
* tmac/lj4.tmac: Ditto.
@
text
@d57 3
@


1.145
log
@
Added three new requests `schar', `fschar', and `rfschar'.  `schar'
defines a glyph which is searched after the check for fonts declared
with `.special' (and before the check for all mounted special
fonts).  `fschar' defines a glyph for a particular font which is
searched after the check for fonts declared with `.fspecial' (and
before the check for fonts declared with `.special').  `rfschar'
removes glyphs defined with `fschar'.

* src/roff/troff/token.h (char_mode): New enum.
Declare do_define_character.
* src/roff/troff/charinfo.h (charinfo): Replace `fallback' with
`mode'.
(charinfo::is_fallback): Updated.
(charinfo::is_special): New method.
* src/roff/troff/input.cc (do_define_character): Add and use
optional second parameter used as a prefix for font-specific glyph
names.
(define_character, define_fallback_character): Updated.
(define_special_character): New function.
(init_input_requests): Add `schar'.
(charinfo::charinfo, charinfo::set_macro): Updated.
* src/roff/troff/node.cc: Include `stringclass.h'.
(make_glyph_node): Handle special glyphs defined with `.schar' and
`.fschar'.
(define_font_special_character, remove_font_special_character): New
functions.
(init_node_requests): Sorted.
Add `fschar' and `rfschar'.
* NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
Document new requests.

* font/devhtml/R.proto, font/devutf8/R.proto: Add `va'.
* tmac/dvi.tmac: Add `va' for CW and CWI (using `.fschar').
@
text
@d57 6
@


1.144
log
@
Added new font `SC' (cmtex10) to devdvi.

* devdvi/generate/Makefile (FONTS): Add `SC'.
(SC): New rule.
* devdvi/generate/textex.map: New map file for cmtex.
* devdvi/SC: New.
* devdvi/Makefile.sub (DEVFILES): Updated.
* tmac/dvi.tmac: Add fspecial entries for SC.
Add `MI', `S' and `CW' to the `special' call.  Otherwise, `SC' is
found before `S' since the font position of `SC' is lower due to the
gaps in DESC's `font' line.
* tmac/ec.tmac: Add a `special' call.
* NEWS: Updated.

* font/devhtml/R.proto: Remove double entry for `ti'.
* tmac/tty.tmac: Add entries for `IJ', `ij', and `bq'.
* tmac/tty-char.tmac: Remove entry for `bq'.
* tmac/lbp.tmac: Add entries for `lq', `rq', `fo', `fc', and `em'.
* tmac/ec.tmac: Don't remove `aq' glyph.
* tmac/X.tmac: Fix entry for `em'.
Add entries for `fo' and `fc'.
* tmac/dvi.tmac: Add entries for `em', `en', `hy', `fo', and `fc'.

* doc/groff.texinfo, man/groff.man, man/groff_diff.man: Fix
documentation of `special' and `fspecial' requests.
@
text
@d44 12
a55 1
  It is used for CW and CWI.
@


1.143
log
@
* font/devascii/R.proto, font/devcp1047/R.proto,
font/devlatin1/R.proto: Remove entry for `.i'.
* font/devdvi/generate/textt.map: Add entry for `ad'.
* font/devdvi/generate/texr.map, font/devdvi/generate/texb.map,
font/devdvi/generate/texi.map: Add dummy glyph name `slash@@for@@l'.
We need this for getting kerning values to compose `/l' and `/L'.
* font/devdvi: Regenerated font definition files for CM fonts.
* font/devhtml/R.proto: Add entries for "'C", "'c", `IJ', and `ij'.
* font/devutf8/R.proto: Ditto.
Remove double entry for `ti'.

* src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Fix entries
for (groff) ligatures, `la', and `ra'.
Add "'C", "'c", `IJ', and `ij'.
Remove double entry for `ti'.
* src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Remove all
double entries.
Add "'C", "'c", `IJ', and `ij'.
Fix entries for (groff) ligatures, `la', and `ra'.

* tmac/ps.tmac (ps-achar): New macro.
Define "'c" and "'C".
* tmac/tty.tmac: Add entry for `.i'.
* tmac/X.tmac (X-achar): New macro.
Define "'c", "'C", and `:Y'.
Add entries for `IJ' and `ij'.
* tmac/Xps.tmac (Xps-achar): New macro.
Define "'c" and "'C".
Add entries for `IJ' and `ij'.
* tmac/lbp.tmac (lbp-achar): New macro.
Add fallback characters for all groff ligatures and many other
glyphs.
* tmac/dvi.tmac: Fix definitions of `_' and `ul'.
Add entries for `/l' and `/L'.
Define "'c" and "'C".
Add entries for `IJ' and `ij'.
@
text
@d43 3
@


1.142
log
@
* NEWS, doc/webpage.ms: Updated.
@
text
@d7 36
@


1.141
log
@

More updates.
@
text
@d4 10
@


1.140
log
@
* tmac/doc-common (Ss): Add final `.ns' (similar to `.Sh') to
suppress additional whitespace after the header.

* tmac/doc-ditroff, tmac/doc-nroff (Am): New string to be in sync
with NetBSD.

* src/preproc/grn/grn.man, tmac/groff_mdoc.man, NEWS: Updated.

* tmac/doc-common(doc-volume-operating-system-ateol): New flag.
(Dt): Use it to improve language localization (especially Russian
and French).

* src/preproc/grn/gprint.h (BSPLINE, BEZIER): New macros.
* src/preproc/grn/hdb.cc (DBGetType): Parse spline and bezier
drawing commands.
* src/preproc/grn/hgraph.cc (drawwig): Add parameter to control
curve type.
Call `picurve' for BSPLINE.
(HGPrintElt): Handle BSPLINE.
* src/preproc/grn/README: Document it.
@
text
@d52 9
@


1.139
log
@
* src/devices/grolbp/lbp.cc: Replace `300' with `font::res' where
appropriate.
(DEFAULT_LINEWIDTH_FACTOR): New macro.
(linewidth_factor): New global variable.
(lbp_printer::set_line_thickness): Fix case for size < 0, using
linewidth_factor.
(long_options): Add -w/--linewidth option.
(usage): Updated.
(main): Handle -w option to set linewidth_factor.
(lbp_printer::lbp_printer): Initialize req_linethickness, not
line_thickness.

* src/devices/grolbp/grolbp.man, NEWS, doc/webpage.ms: Updated.


Fixed a bug in the line thickness setting code.

* src/devices/grolbp/lbp.cc (lbp_printer::req_linethickness): New
variable.
(lbp_printer::set_line_thickness): Pass environment as second
parameter.
Implement it actually.
(lpb_printer::set_char, lbp_printer::draw): Use `req_linethickness'
and `set_line_thickness, depending on the current font size.
@
text
@d36 16
@


1.138
log
@
Add left and right italic correction to non-slanted PS fonts.  This
is an experimental feature to improve image rendering of grohtml.

* font/devps/generate/Makefile (RFLAG): New variable, set to `-i 0'.
({T,H,C,P,N,BM,A,HN}{R,B}, ZD, S, ZDR): Use it.
* font/devps/*: All non-slanted fonts regenerated.
* NEWS: Updated.
@
text
@d30 6
@


1.137
log
@

Add a site-specific font directory.

* Makefile.in (localfontdir, legacyfontdir): New variables.
(fontpath): Use them.
(MDEFINES, uninstall_dirs): Updated.
* Makefile.comm (.man.n): Add `LOCALFONTDIR' and `LEGACYFONTDIR'.
Remove `FONTPATH' and `MACROPATH'.

* src/roff/troff/troff.man, NEWS: Updated.
* doc/groff.texinfo (Font Directories): New section.
Other minor fixes.

* src/devices/grodvi/grodvi.man, src/devices/grohtml/grohtml.man,
src/devices/grolbp/grolbp.man, src/devices/grolj4/grolj4.man,
src/preproc/grn/grn.man: Minor fixes.

* src/devices/grohtml/post-html.cc (html_printer::do_tab_ts):
Remove unused variable.
@
text
@d7 18
a24 1
tbl
@


1.136
log
@
Add global option `nospaces' to tbl so that leading and trailing
spaces in data items are ignored.

* src/libs/libgroff/string.cc (string::remove_spaces): New member
function to remove leading and trailing spaces.
* src/include/stringclass.h: Updated.

* src/preproc/tbl/table.h (table): Add flag `NOSPACES'.

* src/preproc/tbl/main.cc (process_options): Handle `nospaces'
option.
Fix typo in error messages.
(process_data): Implement `nospaces' option.
* src/preproc/tbl/tbl.man, NEWS, doc/webpage.ms: Updated.
@
text
@d10 2
a11 2
Added global option `nospaces' to ignore leading and trailing spaces in data
items.
d16 3
a18 3
The `papersize' keyword in the DESC file now accepts multiple arguments.
It is scanned from left to the right, and the first valid argument is used.
This makes it possible to provide a fallback paper size.
d20 1
a20 1
Example:
d22 10
a31 1
   papersize /etc/papersize a4
@


1.135
log
@
* doc/groff.texinfo: Document `papersize' keyword.
* NEWS, man/groff_font.man: Updated.

Extend papersize keyword to accept more than a single entry.  The
first valid will be used.

* src/libs/libgroff/font.cc (font::load_desc): Implement it.
(font::scan_papersize): Really skip final newline.
* src/preproc/html/pre-html.cc (get_papersize): Ditto.
@
text
@d7 6
@


1.134
log
@
* configure.ac: Test for isatty.
* configure: Regenerated.
* src/include/posix.h: Check HAVE_ISATTY.
* src/roff/troff/input.cc [ISATTY_MISSING]: Removed.
* src/utils/lookbib/lookbib.cc: Include posix.h.
Don't declare isatty.

* NEWS: Add `output' request.

* REVISION: Increased to 1.
@
text
@d4 15
@


1.133
log
@
* font/devhtml/R.proto: Updated to HTML 4, adding many glyphs.
* font/devutf8/R.proto: Adding some missing glyphs.
* font/devutf8/NOTES: Updated.

* tmac/dvi.tmac: Add more composite glyphs.
* tmac/html.tmac: Updated.

* man/groff_char.man: Add `sum' and `product' entities.

* NEWS: Updated.

Improved table, tab, and indenting support.

* src/roff/troff/input.cc (file_iterator::suppress_newline_flag,
string_iterator::suppress_newline_flag): Removed.  Updated all
function which have used it.

* src/roff/troff/env.cc: Include `input.h'.
(environment::add_node): Accept 0 as parameter.
(environment::add_html_tag): Add `force' parameter.
Updated all callers.
(environment::add_html_tag_tabs): Ditto.
For the moment, support left-aligned tabs only.
(environment::make_html_tag): New function.
(fill, no_fill): Set .br html tag additionally.
(environment::newline): Emit `eol.ce' or `eol' tag for html.
(environment::add_html_tag_eol): Removed.
(tab_stops::distance_to_next_tab): Add variant for handling
nextpos'.
(environment::distance_to_next_tab): Ditto.
Updated all callers.
(environment::handle_tab): Handle tabs for html.

* src/roff/troff/env.h: Updated.

* src/roff/troff/div.cc: Updated all callers of
`environment::add_html_tag'.

* src/devices/grohtml/html-table.cc,
src/devices/grohtml/html-table.h: New files.

* src/devices/grohtml/html-text.cc (html_text): New members
`blank_para' and `start_space'.
(html_text::issue_tag): Don't emit TABLE_TAG.
Handle indentation for PRE_TAG and P_TAG.
(html_text::end_tag): Updated.
(html_text::table_is_void, html_text::issue_table_begin,
html_text::issue_table_end): Removed.
(html_text::do_push): Simplified.
[DEBUGGING]: Small fix.
(html_text::push_para): Add new parameter for indentation; updated
all callers.
Handle PRE_TAG.
(html_text::do_indent, html_text::do_table, html_text::done_table,
html_text::is_in_table): Removed.
(html_text::do_pre): Handle P_TAG also.
(html_text::shutdown): Handle p->indent.
(html_text::check_emit_text): Simplified.
(html_text::do_emittext): Reset `blank_para'.
(html_text::do_para): Add new parameter for indentation; updated
all callers.
(html_text::remove_indent): New function.
(html_text::do_space): Handle verbatim text properly.
(html_text::ever_emitted_text, html_text::starts_with_space,
html_text::remove_para_align): New functions.
(html_text::dump_stack_element, html_text::dump_stack): Updated.

* src/devices/grohtml/html_text.h (HTML_TAG): Remove TABLE_TAG.
Updated.

* src/devices/grohtml/post-html.cc: Include html-table.h.
(INDENTATION): Removed.
(text_glob): Added many `is_<foo>' functions.
Added table description `tab'.
Added `get_arg',`get_tab_args', `remember_table', and `get_table'
member functions.
(list): Add `insert' and `move_to' member functions.
(page): Add `insert_tag' member function.
(page::dump_page) [DEBUG_TABLES]: Improved.
(html_printer): Add `table' and `max_linelength' elements.
Add many `do_<foo>', `insert_<foo>', `next_horiz_pos',
`lookahead_for_tables', `shutdown_table', `calc_nf', `calc_po_in',
`remove_tabs', `remove_courier_tabs'.
(html_printer::emit_raw): Handle indentation.
(html_printer::do_center, html_printer::write_header): Updated.
(html_printer::is_courier_until_eol): Check for tag.
(html_printer::do_linelength): Handle max_linelength.
(html_printer::do_page_offset, html_printer::do_indentation): Handle
fill_on.
(html_printer::do_tempindent): Updated.
(html_printer::do_indentedparagraph): Removed.
(html_printer::do_indent): Simplified.
(html_printer::do_eol): Use `ever_emitted_text'.
(html_printer::do_flush, html_printer::do_links): Don't call
done_table.
(html_printer::do_break): Handle end_tempindent.
(html_printer::troff_tag): Get argument.
Don't handle `.ip'.
Handle `.tab-ts', `.tab-te', `.col', `tab', and `tab0' tags.
(html_printer::flush_page): Call `lookahead_for_tables'.
Don't call `done_table'.
(html_printer::add_to_sbuf): Always call do_indent.

* src/devices/grohtml/Makefile.sub: Updated.

* tmac/an-old.tmac (TP): Don't handle html device specially.
(an-do-tag-html): New function which will be used instead of
`an-do-tag' if html device is used.

* tmac/html.tmac: Call .po to pass default page offset to grohtml.

* tmac/s.tmac (@@IP): Don't handle html device specially.
(@@IP-html): New function which will be used instead of `@@IP' if
html device is used.

* tmac/www.tmac (HTML-NS, HTML-TAG-NS): New auxiliary macros -- this
is a hack which will eventually vanish again.
(PIMG): Handle `-C' option correctly if not html.
(HR): Use HTML-NS.
@
text
@d111 3
d115 1
a115 1
  patterns file without modification.  To do that, the commands \patterns,
d320 1
a320 1
____
@


1.132
log
@
* contrib/pic2graph/pic2graph.*: Use convert(1).
* contrib/eqn2graph/eqn2graph.*: Minor fixes.

* tmac/groff_trace.man: New file.
* tmac/Makefile.sub: Updated.
* NEWS: Updated.

* src/roff/groff/groff.man: Add some cross references.

* src/roff/troff/input.cc (substring_request): Add warnings for
string indices out of range.

* font/devdvi/generate/ec.map: Fix typo (`(l' -> `/l').
* font/devdvi/*EC: Regenerated.

* man/groff_char.man: Updated and extended.

* src/roff/troff/input.cc (length_macro): Renamed to...
(length_request): This.
Move call of `tok.next()' to the very end, otherwise the register
value hasn't been updated yet.
(init_input_requests): Updated.

* src/roff/troff/input.cc (substring_macro): Renamed to...
(substring_request): This.
(init_input_requests): Updated.
* src/roff/troff/request.h: Updated.

* src/roff/grog/grog.sh: Fix typo.

* win32-diffs: Updated.

Handle `papersize' keyword properly in DESC.

* src/libs/libgroff/font.cc (font::scan_papersize): Fix argument
type.
Updated all callers.
* src/libs/libgroff/paper.cc: Add four more paper formats used by
grolj4.
* src/include/paper.h: Updated.

* src/devices/grolbp/lbp.cc: Remove unnecessary semicolons.
Other minor C syntax fixes.
(papersize, paperlength, paperwidth): Renamed to `user_*'.
(lbp_printer): Add `papersize', `paperlength', and `paperwidth'
members.
(lbp_printer::lbp_printer): Pass three arguments.
Set paper dimensions properly.
(make_printer, main): Updated.
(handle_unknown_desc_command): Fix error messages.
(main): Handle papersize keyword in DESC properly.

* src/devices/grolj4/lj4.cc (paper_size): Renamed to
`user_paper_size'.
(lbp_printer::lbp_printer): Pass an argument.
Set paper_size properly.
(handle_unknown_desc_command): Removed.
(make_printer, main): Updated.
* src/devices/grolj4/grolj4.man: Minor documentation fix.

* man/groff_font.man, NEWS: Updated.
@
text
@d400 2
@


1.131
log
@
Integrated eqn2graph, contributed by Eric S. Raymond.

* contrib/eqn2graph/{Makefile.sub, eqn2graph.sh, eqn2graph.man}: New
files.
* Makefile.in, NEWS: Updated.
@
text
@d214 1
a214 1
o `groff_mwww.1' has been renamed to `groff_www.1'.  The file mwww.tmac
d220 2
d426 1
a426 1
  physical dimensions of the output medium; grops and grolbp use it
@


1.130
log
@
Changing the substring request to make it fit better with other
string manipulation functions in other programming languages:
Index 0 is now the first character in the string, and index -1
indicates the last character.  Since this request didn't work
properly anyway in the last release, it doesn't harm too much to
change the syntax.

* src/roff/troff/input.cc (substring_macro): Use loops to get
the real string length (ignoring COMPATIBLE_SAVE and
COMPATIBLE_RESTORE) and offsets.
Implement change described above.

* man/groff_char.man, tmac/doc-common (doc-header), tmac/doc.tmac
(doc-do-Bd-args, doc-do-Bl-args: Changed accordingly.

* NEWS, doc/groff.texinfo, man/groff_diff.man: Updated.

Make .chop work with .de1 and friends.  COMPATIBLE_SAVE and
COMPATIBLE_RESTORE are completely ignored.

* src/roff/troff/input.cc (char_list::set, char_list::get): New
functions.
(macro): `length' field renamed to `len'.
Added new field `empty_macro' (1 if macro is empty), to be used
instead of checking `len'.
Updated all callers.
(macro::empty): Updated.
(macro::length, macro::set, macro::get): New functions.
(macro::append): Ignore COMPATIBLE_SAVE and COMPATIBLE_RESTORE.
Set `empty_macro'.
(chop_macro): Check and remove trailing COMPATIBLE_SAVE/
COMPATIBLE_RESTORE pairs.
(asciify): Ignore COMPATIBLE_SAVE and COMPATIBLE_RESTORE.
* src/roff/troff/request.h: Updated.

* doc/groff.texinfo: Document .chop's behaviour better.

* doc/pic.ms: Fix documentation for the addition of positions.

* tmac/doc.tmac, tmac/an-old.tmac: Need groff version 1.18.
@
text
@d300 7
@


1.129
log
@
Implementation of string arguments of the form \*[foo arg1 arg2 ...]

* src/roff/troff/input.cc (have_string_arg): New global variable.
(read_mode): New enumeration.
(read_escape_name): Use it.  Update all calls.
(read_long_escape_name): Use it.  Update all calls.
Set have_string_arg if appropriate.
(get_char_for_escape_name): Add parameter for handling space
character.
(interpolate_string_with_args, decode_string_args): New functions.
(get_copy, token::next): Call it if necessary.
(interpolate_string): Fix error message.

* NEWS, doc/groff.texinfo, man/groff.man, man/groff_diff.man:
Document it.
@
text
@d1 1
a1 1
4~This file describes recent user-visible changes in groff.  Bug fixes are not
d106 4
@


1.128
log
@
* src/roff/troff/input.cc (init_registers): Add three registers
`seconds', `minutes', and `hours' to hold the current time.

* NEWS, doc/groff.texinfo, man/groff.man, man/groff_diff.man:
Updated.
@
text
@d63 6
@


1.127
log
@
Make \X accept both `\ ' and `\~', converting them to single space
characters.

* src/roff/troff/token.h (token): Add TOKEN_UNSTRETCHABLE_SPACE.
(token::unstretchable_space): New inline function.
* src/roff/troff/input.cc (token::next, token::delimiter,
token::description, token::add_to_node_list, token::process): Handle
TOKEN_UNSTRETCHABLE_NODE.
(encode_char): Handle tok.stretchable_space and
tok.unstretchable_space.

* NEWS, doc/groff.texinfo: Document it..
@
text
@d1 1
a1 1
This file describes recent user-visible changes in groff.  Bug fixes are not
d79 4
@


1.126
log
@
* src/devices/grops/ps.cc (ps_printer::special): Fix error message.

* src/devices/grotty/tty.cc (tty_printer::special): Add `sgr'
keyword to enable/disable SGR output.
(tty_printer::change_fill_color): New function.
* NEWS, src/devices/grotty/grotty.man: Document `sgr' special.

* src/roff/troff/input.cc (output_request): Add missing `tok.next()'
call.
@
text
@d153 2
a154 1
  they are ignored now.
@


1.125
log
@
Add a `color' request and a `.color' register to control usage of
colours.

* src/roff/troff/input.cc (disable_color_flag): Replaced with...
(color_flag): This (which is the inverse).
(activate_color): New function.
(main, init_input_requests): Updated.
* src/roff/troff/troff.h, src/roff/troff/node.cc
(troff_output_file::fill_color, troff_output_file::glyph_color):
Updated.

* NEWS, doc/groff.texinfo, man/groff_diff.man, man/groff.man:
Document the changes.


Circumvent bug in autoconf 2.53 regarding top_builddir.

* aclocal.m4 (GROFF_BUILDDIR): s/top_builddir/groff_top_builddir/.
* Makefile.in, src/xditview/Imakefile.in, doc/Makefile.in:
s/@@top_builddir@@/@@groff_top_builddir@@/.
* configure: Regenerated (with autoconf 2.53).
@
text
@d355 3
@


1.124
log
@
* NEWS, src/roff/grog/grog.man, doc/groff.texinfo: Updated.

* aclocal.m4 (GROFF_MKSTEMP): Include unistd.h.
* configure: Regenerated.

* src/roff/troff/symbol.cc (table_sizes): Add more values.

* src/roff/grog/grog.pl, src/roff/grog/grog.sh: Recognize mom.
@
text
@d26 4
@


1.123
log
@
Adding a new keyword `papersize' to the DESC file format (similar
but not completely identical to grolbp's extension).  grops now has
a -p command line option to override `papersize'.  Finally, grolbp
has been adapted to the new syntax.

* src/libs/libgroff/paper.cc, src/include/paper.h: New files.  It
defines and initializes the `papersizes[]' array with NUM_PAPERSIZES
elements.
* src/libs/libgroff/Makefile.sub (OBJS): Add `paper.o'.
(CCSRCS): Add `paper.cc'.

* src/include/font.h (font): Add `papersize' element.
* src/libs/libgroff/font.cc (font::unit_scale): New helper function.
(font::scan_papersize): New function.
(font::load_desc): Use it for handling `papersize' keyword.
* src/libs/libgroff/fontfile.cc: Initialize `font::papersize'.

* src/devices/grops/ps.cc: Include paper.h.
(user_paper_length): New global variable.
(ps_printer): Use paper length as initializer.
(make_printer): Updated.
(main): Handle new `-p' option.
* src/devices/grops/grops.man: Updated.

* src/devices/grolbp/lbp.cc: Include paper.h.
s/papersizes/lbp_papersizes/.
(set_papersize): Use new `papersizes' array.
(handle_unknown_desc_command): Don't handle `papersize'.
(main): Use `font::scan_papersize' for handling `-p' option.
* src/devices/grolbp/grolbp.man: Updated.

* man/groff_font.man: Document `papersize'.
* NEWS: Updated.
@
text
@d288 5
@


1.122
log
@
Add .output request, similar to \! at top-level.

* src/roff/troff/input.cc (transparent): Remove unused declaration.
(output_request): New function.
(init_input_requests): Add it.
Sorted.
* NEWS, doc/groff.texinfo, man/groff_diff.man, man/groff.man:
Document it.

* Makefile.in (MDEFINES): Add INSTALL_INFO.
* doc/groff.texinfo (@@direntry): Fix it.
@
text
@d293 3
d364 7
d378 14
@


1.121
log
@
Including the doc subdir into groff's Makefile system.

* aclocal.m4 (GROFF_INSTALL_INFO): New function.
* configure.ac: Use it.
Generate `doc/Makefile'.
* configure: Regenerated.

* Makefile.in (infodir, INSTALL_INFO): New variables.
(MDEFINES, uninstall_dirs): Updated.
(OTHERDIRS): Add `doc'.
* Makefile.comm (CLEANDIRADD): New variable.
(mostlyclean): Use it.

* doc/Makefile.sub, doc/Makefile.in: New files.
* doc/Makefile: Removed.

* NEWS, INSTALL: Updated.

* doc/homepage.ms: Renamed to ...
* doc/webpage.ms: This.
Use `.NHR'.
* contrib/mom/Makefile.sub (momdocdir): Removed.
(HTMLDOCFILES): Prepend `momdoc/'.
(EXTRAEXAMPLEFILES): Removed.  Added entries to...
(EXAMPLEFILES): This.
(.SUFFIXES, .mom.ps): New.
(prepare_make_examples): Updated.
(examples/*.ps): Removed; .mom.ps will handle this.
(install_data): Updated.
@
text
@d562 5
@


1.120
log
@
Integrating the `mom' macro package, contributed by Peter Schaffter
<df191@@ncf.ca>.

* contrib/mom/*: New subdirectory tree.
* Makefile.in (docdir, exampledir, htmldocdir): New variables to
be used for documentation files.
(MDEFINES, uninstall_dirs): Use them.
(OTHERDIRS): Add contrib/mom.
* Makefile.comm (.man.n): Add @@DOCDIR@@, @@EXAMPLEDIR@@, and
@@HTMLDOCDIR@@.
* MANIFEST, NEWS: Updated.
@
text
@d366 3
@


1.119
log
@
Change syntax of \O: \O[0] suppresses output, \O[1] enables output
if at outer level; at start-up we are at outer level.

* src/roff/troff/input.cc (do_suppress): Implement it.
Simplify \O[3].

Add option -p to show progress information.
pre-grohtml will now render only one page at a time, reducing the
size of needed disk resources enormously.

* src/preproc/html/pre-html.cc (imagePageStem): Replaced with...
(imagePageName): New global variable.
(psPageName, show_progress, currentPageNo): New global variables.
(html_system): Close saved stderr and stdout handles.
(write_end_image): Accept a parameter to control \O escape.
(write_start_image): Adapted to new \O meaning.
(char_buffer::write_upto_newline): Updated.
(createAllPages): Replaced with...
(createPage): This new function to create a single page for images.
It uses `psselect' from the psutils package.
(removeAllPages): Removed.
(createImage): Updated.
Handle progress display.
(char_buffer::do_html, char_buffer::do_image) [DEBUGGING]: Removed.
(scanArguments): Add option -p.
(makeTempFiles): Updated to create temp files for psPageName and
imagePageName.
(removeTempFiles): Removed.
(main): Updated.

* src/devices/grohtml/post-html.cc (header_desc::write_headings,
html_printer::write_header): Append `\0' to `buffer'.
(html_printer::do_eol): Depend on `current_paragraph->emitted_text'.
(main): Handle -p.
* src/devices/grohtml/html-text.cc (html_text::dump_stack_element):
Handle `text_emitted'.
(html_text::table_is_void): Slightly rewritten.
(stop): New external symbol.
(html_text::do_push) [DEBUGGING]: Use it and simplify.
(html_text::shutdown): Call `dump_stack'.
(html_text::do_space): Rewritten.
* src/devices/grohtml/grohtml.man: Document -p and the need of
`psselect'.

* tmac/www.tmac (DC, HTML-DO-IMAGE, HTML-IMAGE-END): Updated to
new \O syntax.
Call \O[0] if `ps4html' is active.
* tmac/s.tmac (@@EQ, @@EN): Handle html better.
(@@TS, TE): Ditto.
* tmac/html.tmac: Don't use black for background colour.

* src/roff/troff/node.cc: Include `div.h'.
(troff_output_file::really_print_line): Don't use `is_on'.
(troff_output_file::word_marker, troff_output_file::flush_tbuf
troff_output_file::check_charinfo,
troff_output_file::put_char_width, troff_output_file::put_char,
troff_output_file::determine_line_limits, troff_output_file::draw,
real_output_file::begin_page, glyph_color_node::tprintf,
fill_color_node::tprint, hline_node::tprint, vline_node::tprint):
Use `is_on'.
(troff_output_file::really_on): Call `do_motion'.
(suppress_node::tprint): Use `get_page_number' instead of `%'
register.
Call `reset_output_registers' conditionally on `is_on'.

* doc/groff.texinfo: Document new syntax of \O.
* NEWS, man/groff_diff.man: Updated.
@
text
@d2 1
a2 1
described.  There are more details in the man pages.
d159 9
@


1.118
log
@
Adding `warnscale' and `spreadwarn' requests, based on a patch from
Jeffrey Friedl <jfriedl@@yahoo.com>.

* src/roff/troff/input.cc (spread_limit, warn_scale,
warn_scaling_indicator): New global variables.
(warnscale_request, spreadwarn_requests): New functions.
(main): Initialize `warn_scale' and `warn_scaling_indicator'.
(init_input_requests): Updated.
(error_type): Add `OUTPUT_WARNING'.
(do_error): Handle it.
(output_warning): New warning function which shows output location.
* src/roff/troff/env.h (spread_limit): New external variable.
* src/roff/troff/env.cc (environment::choose_breakpoint): Use
`output_warning'.
(distribute_space): Emit warning if added space is larger than
`spread_limit'.
(environment::possibly_break_line): Emit warning if a line can't
be adjusted on both sides.

* doc/groff.texinfo, man/groff_diff.man, man/groff.man: Document it.
@
text
@d145 2
a146 2
o A new escape sequence `\O' is available (mainly for internal use with
  grohtml).  Please see groff_diff.7 and groff.texinfo for more details.
@


1.117
log
@
* doc/groff.texinfo: Don't use the string `Appendix' for appendix
headers (both in the text and the table of contents).
* man/groff_tmac.man, src/roff/troff/troff.man: Fix order of tmac
directories.

Use registers LL and LT (similar to -ms) for controlling the
length of title and line, respectively, in the -man and -mdoc
macro packages.

* tmac/doc-ditroff (doc-setup-page-layout), tmac/doc-nroff
(doc-setup-page-layout): Use \n[LL] and \n[LT].
* tmac/an-old.tmac: Set \n[LL] and \n[LT] if not defined.
(TH): Use \n[LL].
(an-header, an-p-footer): Use \n[LT].
* NEWS, tmac/groff_man.man, tmac/groff_mdoc.man,
doc/groff.texinfo: Document it.
@
text
@d550 6
@


1.116
log
@
* src/roff/troff/input.cc (pipe_output): Multiple calls to `pi'
will now form a chain, e.g.

  .pi foo
  .pi bar

is now the same as

  .pi foo | bar

This is for compatibility with plan 9's troff.

* tmac/tty.tmac: Set default tab values to 0.8i to be compatible
with UNIX troff.
* NEWS: Updated.

* doc/groff.texinfo: Add documentation of remaining requests and
registers.
@
text
@d163 6
@


1.115
log
@
Add new escape \F to switch font family.

* src/roff/troff/input.cc (token::next): Handle \F.
* src/roff/troff/env.cc (environment::set_family): Handle
`interrupted' flag.
* NEWS, doc/groff.texinfo, man/groff_diff.man, man/groff.man:
Document it.

* tmac/doc.tmac (doc-tag-list): Use \Z to avoid stretching of
spaces in tags.

* tmac/Xps.tmac: Remove some redundant code.

* tmac/doc-common, tmac/doc-ditroff, tmac/doc-nroff, tmac/doc.tmac,
tmac/dvi.tmac, contrib/groffer/groffer.man, man/roff.man,
man/groff_out.man, man/groff.man, man/groff_diff.man,
src/roff/groff/groff.man: Replace \f[P] with \f[].
@
text
@d135 10
d150 3
@


1.114
log
@
Implement \f[] as an alternative to \fP.  Change \mP and \MP to
\m[] and \M[], respectively.

* src/roff/troff/symbol.cc (EMPTY_SYMBOL): New global variable.
(symbol::symbol): Handle NULL string and empty string differently.
* src/roff/troff/symbol.h (symbol::is_empty): New inline function.
* src/roff/troff/input.cc (read_escape_name, read_long_escape_name):
Add optional parameter.
Updated calling functions.
(get_copy, do_glyph_color, do_fill_color, token::next): Use
`symbol::is_empty'.
* src/roff/troff/env.cc (environment::set_font): Ditto.

* src/preproc/pic/troff.cc (troff_output::set_fill,
troff_output::reset_color: Updated.

* tmac/www.tmac: Updated.

* NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo,
doc/homepage.ms, src/devices/grotty/grotty.man, tmac/groff_www.man:
Updated.

* src/include/printer.h, src/libs/libdriver/printer.cc
(printer::change_fill_color): New member function.
* src/libs/libdriver/input.cc (parse_D_command): Use it.
@
text
@d45 3
@


1.113
log
@
* man/groff_diff.man, man/groff.man, NEWS, doc/groff.texinfo:
Document pvs request and .pvs register.

* doc/groff.texinfo: Improve and fix documentation of diversions
and environments.
@
text
@d21 4
a24 4
  Similar to fonts, `\mP' and `\MP' switch back to the previous color.  `\m'
  and `\M' correspond to the new troff output command sets starting with `m'
  and `DF'.  The device-specific default color is called `default' and can't
  be redefined.
d41 3
@


1.112
log
@
* tmac/tty.tmac: Don't use shc request.
* tmac/latin1.tmac, tmac/cp1047.tmac: Translate soft hyphen to `\%'.
* NEWS: Updated.
@
text
@d123 6
@


1.111
log
@
* src/drivers/grops/psrm.cc (skip_possible_newline): New function.
(resource_manager::do_begin_binary,
resource_manager::do_begin_data): Use it.

* doc/texinfo.tex: Updated to version 4.2.

* src/roff/troff/token.h: Add TOKEN_ZERO_WIDTH_BREAK for `\:'.
(token::zero_width_break): New inline function.
* src/roff/troff/input.cc (token::next): Use it.
(token::description): Updated.
(encode_char): Ignore `\%', `\&', `\)', and `\:'.
(token::add_to_node_list, token::process): Use it.
* NEWS, doc/groff.texinfo: Updated.
@
text
@d129 6
@


1.110
log
@
Add three glyphs `t+-', `tmu', and `tdi' which are textual variants
of `+-', `mu', and `di', respectively.

* font/devascii/R.proto, font/devutf8/R.proto,
font/devlatin1/R.proto, font/devhtml/R.proto,
font/devcp1047/R.proto, font/devlpb/*: Add them.
* font/devps/generate/textmap: Ditto.
* font/devps/*: Regenerated.
* font/devlj4/generate/text.map: Add them.
* font/devlj4/*: Regenerated.
* font/devdvi/generate/tc.map: Use them.
* font/devdvi/generate/texsy.map: Add them.
* font/devdvi/*: Regenerated.
* font/devX*/*: Regenerated.

* tmac/latin1.tmac, tmac/cp1047.tmac, tmac/tty.tmac,
tmac/tty-char.tmac: Updated.

* NEWS, man/groff_char.man: Updated.
@
text
@d126 3
@


1.109
log
@
Improve handling of hyphenation patterns.  It is now possible to
use most of TeX's pattern files unmodified.  To make the process
more flexible, a new request `hpfcode' has been added which
provides a character code mapping for the `hpf' request.  See
comment before hpf_getc() for more details.

* src/roff/troff/env.cc (insert_hyphenation, hpf_getc): New
functions.
(read_patterns_file): Additional parameter for exception dictionary.
Extended to recognize \pattern, \hyphenation, and \endinput.
(do_hyphenation_patterns_file): Updated.
* src/roff/troff/env.h (hpf_code_table): New extern.

* src/roff/troff/input.cc (hpf_code_table): New array.
(init_hpf_code_table, hyphenation_patterns_file_code): New
functions.
(hyphenation_code): Handle translation from `trin' correctly.
(main, init_input_requests): Updated.
(charinfo::set_translation): Handle hyphenation code also.

* src/roff/troff/charinfo.h (charinfo::get_translation_input): New
inline function.

* src/roff/troff/env.cc (WORD_MAX): Reduced to 256 since `unsigned
char' is used for offsets in hyphenation exceptions.

* tmac/hyphen.us: Replace with contents of unmodified `hyphen.tex'.

* NEWS, man/groff_diff.man, man/groff.man: Document it.

* doc/groff.texinfo: Document possible conflict between `tr' and
`char' requests.
@
text
@d45 3
@


1.108
log
@
Added request `hpfa' to append hyphenation patterns.

* src/roff/troff/env.cc (hyphen_trie::read_patterns_file): Add
parameter `append'.
(hyphenation_patterns_file): Renamed to...
(do_hyphenation_patterns_file): This.
(hyphenation_patterns_file, hyphenation_patterns_file_append): New
functions.
(init_hyphen_requests): Updated.
* NEWS, man/groff.man, man/groff_diff.man: Document it.
@
text
@d84 8
@


1.107
log
@
Added request `writec' in analogy to `tmc'.

* src/roff/troff/input.cc (write_request): Renamed to...
(do_write_request): This.
Added one parameter.
(write_request, write_request_continue): New functions.
(init_input_requests): Updated.
* NEWS, man/groff.man, man/groff_diff.man: Document it.
@
text
@d84 3
@


1.106
log
@
* font/devdvi/DESC.in (sizes): Allow all sizes in the range
5-10000pt.
* NEWS: Document it.
@
text
@d74 3
@


1.105
log
@
Add request `trin' (translate input) to make `.asciify' work
correctly.  This is necessary since `charXXX' entity names are no
longer hardcoded in font definition files.

* src/roff/troff/charinfo.h (charinfo): Add `asciify_code' and
`translate_input' members.
(charinfo::set_asciify_code, charinfo::get_asciify_code,
charinfo::set_translation_input): New methods.
(charinfo::set_translation): Add third argument.
* src/roff/troff/input.cc (charinfo:set_translation): Set
`asciify_code'.
(do_translate): Add second argument.
(translate_input): New function.
(init_input_requests): Updated.
* src/roff/troff/node.cc (glyph_node::asciify,
composite_node::asciify): Use `get_asciify_code'.

* tmac/cp1047.tmac, tmac/latin1.tmac: Use `trin'.

* NEWS, man/groff.man, man/groff_diff.man: Updated.
@
text
@d230 8
@


1.104
log
@
Add a new request `sizes' similar to the `sizes' command in DESC
files.

* src/roff/troff/env.cc (override_sizes): New function.
(init_env_requests): Use it.
* src/roff/troff/token.h: Export `read_string'.
* NEWS, man/groff_diff.man, man/groff.man: Document it.

* doc/groff.texinfo: More fixes for texinfo 4.1 and higher.
@
text
@d90 16
@


1.103
log
@
* tmac/pspic.tmac: Add support for -Tdvi.
* tmac/dvi.tmac: Include pspic.tmac.
* src/devices/grodvi/grodvi.man: Document it.
* NEWS: Updated.

* font/devlj4/generate/Makefile: Fix URL of metric files.
@
text
@d86 4
@


1.102
log
@
Add color support to grodvi (for drawing colors are currently
translated to gray values).

* src/devices/grodvi/dvi.cc (FILL_MAX): Removed.
(dvi_printer): Add `cur_color' member.
(dvi_printer::set_color): New function.
(draw_dvi_printer): Remove `fill'.
(draw_dvi_printer::fill_next): Pass environment as parameter.
Update code for new color support translated to gray.
(dvi_printer::set_char): Updated.
(dvi_printer::begin_page, dvi_printer::end_page): Handle color
changes crossing the page border.
(dvi_printer::draw): Updated.
Remove cases `f' and `F'.
* tmac/dvi.tmac: Add color definitions.
* NEWS, src/devices/grodvi/grodvi.man: Updated.

* tmac/an-old.tmac (R): Make this a macro to emit a warning if
used incorrectly.

* aclocal.m4 (GROFF_NEED_DECLARATION): Use test similar to recent
versions of autoconf.
* configure: Updated.

* doc/homepage.ms: Use `.blm'.
* tmac/www.tmac (www-depth): New auxiliary variable.
(www-pop-level): Don't issue HTML tag.
(ULS, ULE, LI): Use absolute indentation.

* src/devices/grops/ps.cc (ps_printer::begin_page,
ps_printer::end_page): Switch forth and back to default color while
starting a new page.
@
text
@d99 4
d110 1
a110 1
   has been removed.
@


1.101
log
@
Add EC and TC fonts to devdvi.

* src/utils/tfmtodit/tfmtodit.man: Document patching of exbase.mf.
* font/devdvi/generate/cork.map: Renamed to...
* font/devdvi/generate/ec.map: This.
Remove entry for `aq'.
* font/devdvi/generate/tc.map: New file.
* font/devdvi/generate/Makefile (*EC, *TC): New creation rules for
EC and TC fonts.
(FONTS): Updated.
* font/devdvi/*EC, font/devdvi/*TC: New font definition files.
* font/devdvi/Makefile.sub (DEVFILES): Updated.
* tmac/ec.tmac: New file.
* tmac/Makefile.sub (NORMALFILES): Updated.
* NEWS, src/devices/grodvi/grodvi.man: Updated.

* font/devdvi/{TR,TI,TB,TBI,HR}: Fix `name' field.
@
text
@d17 1
a17 1
  grops, grotty, and grohtml -- other preprocessors and drivers will
d20 1
a20 1
  background color for closed objects created with \D'...' commands.
d217 3
@


1.100
log
@
Add support for font families `T' and `H'.

* font/devdvi/HBI: New file.
* font/devdvi/B: Renamed to ...
* font/devdvi/TB: This.
* font/devdvi/BI: Renamed to ...
* font/devdvi/TBI: This.
* font/devdvi/I: Renamed to ...
* font/devdvi/TI: This.
* font/devdvi/R: Renamed to ...
* font/devdvi/TR: This.
* font/devdvi/H: Renamed to ...
* font/devdvi/HR: This.
* font/devdvi/Makefile.sub (DEVFILES): Updated.
* font/devdvi/generate/Makefile (FONTS): Updated.
(R, I, B, BI, H): Renamed to ...
(TR, TI, TB, TBI, HR): This, respectively.
* NEWS, src/devices/grodvi/grodvi.man: Updated.
* font/devdvi/DESC.in: Don't mount R, I, B, BI, and CWI.
Add `styles' and `family' keywords.
* tmac/dvi.tmac: Alias `H' to `HR'.
Add some fspecial requests for italic fonts.
Add TR and TI as special.
Add support for `_' with font CWI.

* src/roff/troff/number.cc (parse_expr): Add missing `break' for
operator `:'.  Until now, the expression `0:1' would return 2
instead of 1.
@
text
@d211 7
@


1.99
log
@
* font/devdvi/generate/*.map: Remove all `charXXX' entries.
* font/devdvi/generate/cork.map: Add 'y and 'Y.
* font/devdvi/*: Updated.
* tmac/dvi.tmac: Formatting.

Add font `HBI' for the dvi output.

* font/devdvi/HBI: New file.
* font/devdvi/Makefile.sub (DEVFILES): Updated.
* font/devdvi/generate/Makefile (HBI): New rule.
(FONTS): Updated.
(srcdir): Fixed.
* NEWS: Updated.
* font/devdvi/DESC.in: Don't mount CWI.
@
text
@d209 2
@


1.98
log
@
* man/groff_char.man: Added some missing PS glyph names (from the
Adobe Glyph List).
* font/devps/generate/textmap, font/devps/symbolmap: Add
`arrowupdn'.

* doc/groff.texinfo: Minor additions and fixes.
* man/groff_diff.man: Remove documentation of fp request.  This
is already covered in the original troff manual.
Updated to be consistent with other doc files.
* NEWS: Updated.
@
text
@d203 5
@


1.97
log
@
* aclocal.m4 (GROFF_EBCDIC): Don't include `font/devutf8' in
TTYDEVDIRS.
Define new variable OTHERDEVDIRS (containing `font/devlj4
font/devlbp' if not EBCDIC).
* Makefile.in (TTYDEVDIRS): Always include `font/devutf8'.
(OTHERDEVDIRS): New variable.
(MDEFINES, DEVDIRS, ALLDIRS, DISTDIRS): Updated.
* configure: Regenerated.

* NEWS, src/devices/grotty/grotty.man: Updated.

* src/roff/troff/input.cc (do_overstrike, do_bracket,
get_line_arg): Honour input level.

Add new symbol `mc' corresponding to U+00B5 MICRO SIGN.

* font/*/*: Implement it in all font files.
* font/devps/generate/textmap, font/devps/generate/symbolchars,
* font/devps/symbolmap: Updated.
* font/devlj4/generate/text.map: Updated.
* font/devdvi/generate/CompileFonts (sizes): Add LaTeX sizes.
* font/devdvi/generate/texmi.map: Updated.

* font/devutf8/R.proto: Remove all `charXXX' entries.
* font/devutf8/NOTES: Updated.

* font/devX*/*: Regenerated with xtotroff, using fonts from XFree86
version 4.1.0.

* tmac/latin1.tmac, tmac/psold.tmac, tmac/tty-char.tmac: Updated.

* NEWS, man/groff_char.man: Updated.
@
text
@d22 7
a28 2
  and `\M' correspond to the new troff output commands `m' and `DF'.  The
  device-specific default color is called `default' and can't be redefined.
d31 2
a32 1
  (it is always disabled in compatibility mode).
d117 1
a117 1
    
@


1.96
log
@
* doc/Makefile (clean): Add *.eps.
(MEMACROS): Removed.
(TFLAG): New variable.
(TROFF): Use it.
Add -ww.
(GROFF): Use TFLAG, FFLAG, -U, -p, -e, -t, and -ww.
(.me.dit): Fixed.
(.ms.html, .ms.ascii, .ms.ps, homepage.html): Simplify.

* tmac/www.tmac: Use dummy diversion while resetting and disabling
`.tl'.
* tmac/e.tmac: Inserted some more `\"' to remove warnings if used
unstripped.
* src/roff/troff/troff.man: Fix order of parameter description.

* NEWS: Updated.

Simplify image handling for grohtml.
Fix <p> bug.

* src/devices/grohtml/html-text.cc (DEBUGGING): Don't undefine but
comment out.
(html_text::dump_stack): Don't emit newline while debugging.
(html_text::do_push) [DEBUGGING]: Print more info.
(html_text::check_emit_text): Fix handling of <p>.
* src/devices/grohtml/html.h: Updated.
* src/devices/grohtml/output.cc (FPUTC, FPUTS, PUTC): New macros,
replacing `fputc', `fputs', `putc'.  If DEBUGGING is defined, they
send its data to stderr also.
Update all callers.
(simple_output::space_or_newline) [DEBUGGING]: Removed.
* src/devices/grohtml/post-html.cc (html_printer::do_links,
html_printer::html_printer): Remove `DEBUGGING' conditionals.

* src/include/html-strings.h (HTML_IMAGE_{CENTERED,LEFT,RIGHT,END}):
Removed.
* src/libs/libgroff/htmlhint.cc (is_in_graphic_start,
is_inline_image): Removed.
(html_begin_suppress, html_end_suppress): Don't take a parameter.
(graphic_start, graphic_end): Removed.
* src/include/htmlindicate.h: Updated.
* src/preproc/html/pre-html.cc (DEBUG_HTML): Removed.
(macroset_template): New global variable.
(makeFileName): Use `macroset_template'.
(write_end_image): Don't take a parameter.
Don't emit newline.
(write_start_image: Don't emit newline.
(char_buffer::write_upto_newline): Updated.
(char_buffer::skip_to_newline): Renamed to ...
(char_buffer::skip_until_newline): This.
Fix code.
(char_buffer::write_file_troff, char_buffer::write_file_html):
Simplified.
(createAllPages, createImage) [DEBUGGING]: Handle `debug' flag.
(removeAllPages): Remove `DEBUGGING' conditionals.
(addRegDef, dump_args): New functions.
(char_buffer::do_html, char_buffer::do_image): Handle
`www-image-template' command line variable.
Add more debugging code.
(addps4html): Removed.
(removeTempFiles) [DEBUGGING]: Handle `debug' flag.

* src/preproc/eqn/main.cc: Include `ctype.h'.
(suppress_html): Removed.
(do_file): Updated.
(inline_equation): Use `html_begin_suppress' and
`html_end_suppress'.
* src/preproc/pic/troff.cc: Don't include `htmlindicate.h'.
(troff_output::start_picture, troff_output::finish_picture):
Updated.
* src/preproc/tbl/main.cc: Don't include `htmlindicate.h'.
(process_input_file): Updated.

* src/roff/troff/div.cc (page_number): Set page number only if the
`ps4html' register isn't defined.
* src/roff/troff/input.cc (image_no): New external variable.
(do_suppress): Use it.
* src/roff/troff/node.h (suppress_node::image_id): New member.
* src/roff/troff/node.cc (image_no): Remove `static' keyword.
(suppress_node::suppress_node): Initialize `image_id' member.
(suppress_node::same): Handle `image_id' also.
(suppress_node::copy): Updated.
(last_image_id): New global variable.
(suppress_node::tprint): Use it.

* tmac/an-old.tmac (TS, TE, EQ, EN): Use HTML-IMAGE and
HTML-IMAGE-END.
* tmac/pspic.mac (PSPIC): Fix html support.
* tmac/s.tmac (@@EQ, @@EN, @@TS, TE, PS, PE): Ditto.
* tmac/www.tmac (www-image-template): Set up.
(HTMLINDEX): Renamed to...
(HX): This.
(BODYCOLOR): Renamed to...
(BCL): This.
(BACKGROUND): Renamed to...
(BGIMG): This.
(URL): Change order of parameters for consistency.
(MAILTO): Renamed to...
(MTO): This.
(IMAGE, PNG-IMAGE, MARGIN-PNG-IMAGE): Renamed to...
(IMG, PIMG, MPIMG): This.
(HTML-H-BEGIN, HTML-H-END): Renamed to...
(HnS, HnE): This.
(LINKS): Renamed to...
(LK): This.
(LINE): Renamed to...
(HR): This.
(NO-AUTO-RULE): Renamed to...
(NHR): This.
(HTML-TL): Renamed to...
(HTL): This.
(UL-BEGIN, UL-END): Renamed to...
(ULS, ULE): This.
(DROPCAP): Renamed to...
(DC): This.
(TS, TE, EQ, EN): Provide default definitions.
(www-make-unique-name): Updated.
(HTML-IMAGE-INLINE): Fix typo.
* tmac/groff_www.man: Updated.

* doc/Makefile (homepage.html): Add option -r to grohtml.
Use shortened image name.
* doc/groff.texinfo: Updated info on grohtml strings and macros.
* doc/homepage.ms: Updated and extended.
@
text
@d39 5
@


1.95
log
@
* src/libs/libgroff/Makefile.sub (snprintf.o): Don't use
$(COMPILE.c) to not include groff's assert.h.

* src/drivers/grotty/tty.cc (main): Add GROFF_NO_SGR environment
variable.
* NEWS, src/drivers/grotty/grotty.man: Document it.
@
text
@d102 6
a107 2
    The macro `NO-AUTO-RULE' has been added; it suppresses the generation of
    top and bottom rules which grohtml emits by default.
d109 20
a128 1
    The image position parameter names in `IMAGE' has been changed to `-L',
d131 2
a132 2
    New macro `PNG-IMAGE' for inclusion of a PNG image (it will
    automatically convert it into an EPS file if not -Thtml is used).
d134 2
a135 2
    New macro `MARGIN-PNG-IMAGE' for putting a PNG image into the left or
    right margin  (it will automatically convert it into an EPS file if not
d138 5
a142 1
    New macros HTML-H-BEGIN, HTML-H-END to define a header line block.
d144 2
a145 1
    New macro DROPCAP to produce dropcap characters.
@


1.94
log
@
* src/libs/snprintf/snprintf.c: Updated to latest version
(2002-02-11).

* src/roff/grog/grog.pl (process): Fix handling of `.['.  We now
test whether there is `.]' also.
Don't check for spaces after `.['.
* src/roff/grog/grog.sh: Do the same.

* NEWS: Updated.

* src/preproc/grn/hdb.cc (DBRead): Fix fscanf() fields.
@
text
@d7 6
d185 3
@


1.93
log
@
Adding options -C (compatibility mode) and -c (grotty's old output
scheme) to nroff.

* src/roff/nroff/nroff.sh: Implement it.
Remove `-Wall'.
* NEWS, src/roff/nroff/nroff.man: Updated.

Implementing color support in grotty.  The new switch -c activates
the old drawing scheme, disabling color at the same time.  The new
switch `-i' selects italic instead of underlining (SGR only).

* src/devices/grotty/tty.cc (putstring): New define instead of
`fputs'.  Updated all callers.
(old_drawing_scheme): New global variable.
(COLOR_CHANGE): New enum value.
(SGR_*): New defines containing color handling escape sequences.
(TTY_MAX_COLORS, DEFAULT_COLOR_IDX): New defines.
(glyph): New members `back_color_idx' and `fore_color_idx'.
(glyph::order): Add COLOR_CHANGE.
(tty_printer): New members `cur_fore_idx', `curr_back_idx',
`is_underline', `is_bold', `cu_flag', `tty_colors'.
New methods `make_underline', `make_bold', `color_to_idx',
`change_color', `put_color'.
(cu_flag): Moved into `tty_printer' class.
(tty_printer::tty_printer): Initialize colors.
(tty_printer::add_char, tty_printer::set_char, tty_printer::special,
tty_printer::draw, tty_printer::end_page): Handle colors also.
(main): Add options `-c' and `-i'.
(usage): Updated.
* NEWS, src/devices/grotty/grotty.man: Updated.

* src/include/errarg.h (errarg): Add support for `unsigned int'.
* src/libs/libgroff/errarg.c: Implement it.

* src/include/printer.h (printer): Add `change_color' method
(currently used by grotty only).
* src/libs/libdriver/printer.cc: Implement it.
* src/libs/libdriver/input.cc (parse_D_command, do_file): Add
call to `pr->change_color'.

* src/roff/troff/node.cc (troff_output_file::fill_color,
troff_output_file::glyph_color): Call `do_motion'.

* tmac/tty.tmac: Add color definitions.

* src/roff/groff/groff.man: Minor fixes.
@
text
@d94 18
a111 2
o The macro `NO-AUTO-RULE' has been added to www.tmac; it suppresses the
  generation of top and bottom rules which grohtml emits by default.
@


1.92
log
@
* man/groff_char.man: Add Euro symbol.
* man/groff_diff.man: Improve documentation of `.am1' and `.as1'.
* tmac/tty.tmac: Add `EUR' as replacement for `eu' and `Eu'.
@
text
@d10 8
a17 8
o Color support has been added to troff and pic (and to two device drivers,
  grops and grohtml -- other preprocessors and drivers will follow).  A new
  function `defcolor' defines colors; the escape sequence `\m' sets the
  drawing color, the escape sequence `\M' specifies the background color for
  closed objects created with \D'...' commands.  Similar to fonts, `\mP' and
  `\MP' switch back to the previous color.  `\m' and `\M' correspond to the
  new troff output commands `m' and `DF'.  The device-specific default color
  is called `default' and can't be redefined.
d103 7
d141 27
@


1.91
log
@
Added three new requests `ds1', `as1', and `ami'.  The former two
are equivalent to `ds' and `as' with the difference that
compatibility mode is saved on entry, switched off during string
expansion, and restored on exit.  The latter is the pendant to `dei'
for `am'.

(do_define_string): Use `define_mode' and `calling mode'.
Insert COMPATIBLE_SAVE and COMPATIBLE_RESTORE at the beginning and
end of string, respectively.
(define_string, append_string): Use `calling_mode'.
(define_nocomp_string, append_nocomp_string,
define_string_indirect): New functions.
(init_input_requests): Updated.
* NEWS, man/groff_diff.man, man/groff.man: Document it.

* src/preproc/eqn/box.cc (box::top_level, box::extra_space): Use
`as1' for assigning LINE_STRING (this is `10' usually).  Sun's
mm macro package accesses this string register directly.
* src/preproc/eqn/main.cc (inline_equation): Use `as1'.

* tmac/trace.tmac: Trace calls to `am' also.  Make it work in
compatibility mode.
@
text
@d50 2
a51 2
o The new request `fchar' can be used to provide fallback characters.  Its
  syntax is the same as the `char' request; the only difference is that a
@


1.90
log
@
* NEWS: Revised.
* doc/groff.texinfo: Introduce @@Def...List, @@Def...Item, and
@@Def...ListEnd which replaces @@Def...x.  This is necessary to get
proper HTML output -- see the comment in the file for more
information.
Updated all calls.
@
text
@d60 9
d81 3
@


1.89
log
@
Add two switches -a and -g to control the antialiasing bits for
text and graphics, respectively.

* src/devices/grohtml/post-html.cc (main): Dummy code for `-a' and
`-g'.
* src/devices/grohtml/grohtml.man: Document them.
* src/preproc/html/pre-html.cc (MIN_ALPHA_BITS, MAX_ALPHA_BITS):
New macros.
(textAlphaBits, graphicAlphaBits, antiAlias): New global variables.
(setupAntiAlias): New function.
(createAllPages): Updated.
(scanArguments): Handle `-a' and `-g'.
(main): Call `setupAntiAlias'.
* NEWS: Updated.

* doc/groff.texinfo (Def*): Call index function after deffn.

* tmac/html.tmac: Call `nroff' request.
@
text
@d23 2
a24 2
  indicator `f' has been defined: 1f = 65536u.  For testing whether a color
  is defined (with .if and .ie), a new conditional operator `m' is
d68 1
a68 1
  `-column' has been extended to has this functionality also.
d100 2
d167 2
a168 2
o Similar to other versions of troff, `.ns' now works in all diversions,
  not only in the top-level one.
d198 1
a198 1
  troff installed also. Additionally, all macro files have been renamed
d206 1
a206 1
  environment variable to groff.
d215 2
a216 2
  . No argument limit.
  . Almost all macros are parsed and callable (if it makes sense).
d219 1
a219 1
    been withdrawn.
d227 2
a228 2
  . support for double-sided printing (-rD1 command line switch)
  . support for 11pt and 12pt document sizes (-rS11, -rS12 command line
d231 1
a231 1
  `groff_mdoc.man' replaces `groff_mdoc.samples.man'; it now completely
d238 1
a238 1
  package has been implemented: `-rcR=1' (now the default in nroff mode)
d399 1
a399 1
    path). Instead, the home directory is used. To add the current
d586 2
a587 2
A port to win32 (for use with Microsoft Visual C++ 6.0) is now part of the
distribution.  It has been contributed by Blake McBride
d602 3
a604 3
repository are available also.  See the file README for details.  Not
all reported bug could be fixed, so please send mails again if
something is still not working.
d609 3
a611 3
There is now a man page called groff_man.man which documents the
basics of the -man macros.  It has been originally written by Susan
G. Kleinmann <sgk@@debian.org>.
d613 2
a614 2
A (still incomplete) groff reference manual in texinfo format
originally contributed by Trent A. Fisher <trent@@gnurd.portland.or.us>.
d619 2
a620 2
Default strings for macros in doc-common resp. tmac.an no longer
contain the word `UNIX'.
d625 2
a626 3
Following the GNU standards, groff will now use the prefix
`/usr/local/' as the default instead of replacing an existent groff
binary.
d629 2
a630 2
behaviour (without -msafer); the -S flag for using the -msafer macros
is now the default.
d635 4
a638 4
This is a new output device for producing HTML output contributed by
Gaius Mulley <gaius@@glam.ac.uk>.  It is still very alpha but has been
included into the distribution so that a lot of people have a chance
to test it.  Bug reports are highly welcome.
@


1.88
log
@
* tmac/groff_www.man, NEWS: Fix typos.

Complete revision of color support:

  Adapt programs to the new libdriver/input.cc.

  Color spaces are no longer converted to RGB but transferred as-is
  in the troff intermediate output format.

  Handle default color gracefully.  troff now supports a `default'
  color (which can't be changed).

  grops will now use the proper color space functions if available.

  Update pic.

Note that currently grohtml doesn't handle colors properly.  This
has to be fixed.

* src/libgroff/itoa.c (UINT_DIGITS): New macro.
(ui_to_a): New function.
* src/include/lib.h: Updated.

* src/include/color.h (color_scheme): Replace `NONE' with `DEFAULT'.
(color): Simplified; removed all `double' members and methods.
A new array `components' now holds the color parameters.
(color::is_default, color::get_components): New methods.
(color::operator==, color:operator!=): New.
(Red, Green, Blue, Cyan, Magenta, Yellow, Black, Gray): New macros
to make access to the `components' array more comprehensible.
* src/libgroff/color.cc: Implement new color support.
(atoh): Small fixes.
(color::read_encoding): Simplified for new troff intermediate color
output format.
(default_color): New global variable.

* src/roff/troff/input.cc (default_symbol): New global variable.
(lookup_color): Use it.
(default_black): Removed.
(do_glyph_color, do_fill_color): Simplified.
(define_color): Handle default color.
Improve warnings.
(do_if_request): Handle default color.
* src/roff/troff/env.cc (environment::environment): Initialize
colors with `default_color'.
* src/roff/troff/node.cc (troff_output_file::put): Add method
for `unsigned int'.
(troff_output_file::hex): Removed.
(troff_output_file::fill_color, troff_output_file::glyph_color):
Updated to include/color.h and libdriver/input.cc.

* src/preproc/pic/object.cc (draw_arrow): New parameter to set
fill color properly (identically to the outline color).  \D'f...'
doesn't work any more.
All function calls to it updated.

* src/devices/grohtml/post-html.cc (html_printer::do_body, main):
Updated.
* src/devices/grohtml/html-text.cc (html_text::issue_color_begin):
Updated.

* src/devices/grops/ps.cc (ps_output::put_color): New method.
(ps_printer::sbuf_color): Make a real member instead of pointer.
(ps_printer::fill_color, ps_printer::output_color): Removed.
(ps_printer::ps_printer): Updated.
(ps_printer::set_char): Ditto.
(ps_printer::set_color): Use various color schemes.
Use `put_color' method.
(ps_printer::flush_sbuf): Don't set color.
(ps_printer::fill_path): Take `environment' as parameter.
Simplify color handling.
(ps_printer::set_line_thickness): Renamed to ...
(ps_printer::set_line_thickness_and_color): This (and updated).
(ps_printer::set_color): Change second parameter from `complete'
to `fill' which better describes what it does.
(ps_printer::draw): Call `flush_sbuf' to output graphic commands
and text in the right order.
Updated.
Remove branches for `f' and `F'; this is handled by
libdriver/input.cc.
* src/devices/grops/ps.h: Updated.
* font/devps/prologue (FL): Redefined
({F,C}r,k,g: New color functions (with and without filling).

* doc/pic.ms, src/preproc/pic/pic.man: Small fixes.
* man/groff_diff.man, man/groff.man, man/groff_out.man,
doc/groff.texinfo, NEWS: Updated.

* src/libs/libdriver/input.cc: Completely rewritten.  See comments
in this file for what has been changed.
@
text
@d130 4
@


1.87
log
@
* font/devutf8/R.proto, font/devhtml/R.prot: Add `Eu' and `eu'
symbols.
* NEWS: Updated.
@
text
@d16 2
a17 1
  new troff output commands `m' and `DF'.
d27 2
a28 1
  More details can be found in the troff manual page.
d61 1
a61 1
  grohtml).  Please see groff_diff.man and groff.texinfo for more details.
d73 2
a74 2
o `troff.man' has been split.  Differences to UNIX troff are now documented
  in the new man page `groff_diff.man'.
d76 1
a76 1
o `groff_mwww.man' has been renamed to `groff_www.man'.  The file mwww.tmac
d78 3
@


1.86
log
@
* tmac/www.tmac: Remove extraneous backslash.

* man/ditroff.man, src/roff/groff/groff.man, man/groff.man: Revised.
@
text
@d28 3
@


1.85
log
@
Integrated groffer, contributed by Bernd Warken.

* contrib/groffer/*: New.
* Makefile.in, NEWS: Updated.
@
text
@d80 2
a81 2
o The new command line `-c' disables color output (which is always disabled
  in compatibility mode).
@


1.84
log
@
* doc/groff.texinfo: Added macros `@@Defmpreg' and `@@Defmpregx' for
registers defined in macro packages.
Revising the ms part.

* doc/groff.texinfo: Add documentation for ms macros.

First step in adding PS support for the Euro symbol.  `eu' is the
official Euro logo, `Eu' is a font-specific glyph variant.

* font/devps/text.enc: Add `Euro' at position 9.
* font/devps/generate/textmap: Add `Euro' as symbol `Eu'.
* font/devps/symbolmap: Regenerated.

* NEWS: Updated.

* man/roff.man: Revised.
@
text
@d77 1
a77 1
groff
d83 1
a83 1
pic
d101 8
a108 1
grops
d113 1
a113 1
grohtml
@


1.83
log
@
Adding an `itc' request (input line trap accepting \c).

* src/roff/troff/env.h (environment): New member
`continued_input_trap'.
Make `do_input_trap' a friend function instead of `input_trap'.
* src/roff/troff/env.cc (environment::environment,
environment::copy): Updated.
(environment::newline): Implement it.
(do_input_trap): New function.
(input_trap): Call `do_input_trap'.
(input_trap_continued): New function.
(init_env_requests): Updated.
* src/roff/troff/TODO: Updated.

* tmac/an-old.tmac (SH, SS, B, I, SM, SB, TP): Use `.itc' instead of
`.it'.

* src/preproc/grn/hdb.cc (DBRead): Really chop after 127 characters.
@
text
@d113 2
@


1.82
log
@
Implement a fallback character request `.fchar'.

* src/roff/troff/charinfo.h (charinfo): New flag `fallback'.
(is_fallback): New inline function.
* src/roff/troff/input.cc (do_define_character): New function.
(define_character): Call `do_define_character'.
(define_fallback_character): New function.
(init_input_requests): Add `fchar'.
(charinfo::charinfo): Updated.
(charinfo::set_macro): New argument to set `fallback' flag.
* src/roff/troff/node.cc (make_glyph_node, make_node,
node::add_char): Check `fallback' flag.
* NEWS, man/groff_diff.man, man/groff_man: Updated.
@
text
@d52 3
@


1.81
log
@

Implement new string-valued register `.fn' to return the current
real (internal) font name.

* env.cc (environment::get_font_name_string): New function.
(init_env_requests): Add `.fn' register.
* env.h (environment): Updated.
* node.cc (font_info): Make `get_font_name' a friend.
(get_font_name): New function.
* node.h: Updated.

* man/groff_diff.man, man/groff.man, NEWS: Updated.
@
text
@d43 8
a50 1
  font name; style and families are properly concatenated.
@


1.80
log
@
* src/roff/troff/input.cc (get_delim_file_name): Removed since no
longer used.
* src/devices/grohtml/post-html.cc (html_printer::html_printer): Fix
order of initializers.
* NEWS: Updated.

* doc/groff.texinfo: Fix documentation of \O.

* src/devices/grohtml/html-text.cc (html_text::do_indent,
html_text::do_table, html_text::do_emittext, html_text::do_para):
Use `const' for first argument.
(html_text::do_table): Use cast.
* src/devices/grohtml/html-text.h: Updated.
* src/devices/grohtml/output.cc (simple_output::put_string): Add
method for `const string &s'.
* src/devices/grohtml/html.h: Updated.
* src/devices/grohtml/post-html.cc (MAX_STRING_LENGTH): Removed.
(ANCHOR_TEMPLATE): Modified.
(manufacture_headings): New global variable to handle `-h' option.
(is_subsection): Removed.
(char_buffer::add_string): Add `const' to first argument.
Protect against invalid string argument.
Add method for `const string &s'.
(text_glob): Completely redesigned.
(page): Use `const' for strings and remove string length variable.
(page::add_html): Removed.
(page::add_end_encode): New member function.
(to_unicode): Moved upwards.
(title_desc, header_desc): Updated.
(header_desc::write_headings): Updated to new ANCHOR_TEMPLATE
definition.
(html_printer::is_bold, html_printer::make_bold): New member
functions.
(html_printer::end_of_line): Updated.
(generate_img_src, html_printer::do_auto_image,
html_printer::do_title, html_printer::write_header,
html_printer::determine_header_level, html_printer::do_heading,
html_printer::do_linelength, html_printer::do_pageoffset,
html_printer::do_indentation, html_printer::do_tempindent,
html_printer::do_indentedparagraph, html_printer::do_break,
html_printer::flush_sbuf, get_html_translation,
html_printer::begin_page, html_printer::special): Rewritten to get
rid of static string length limit.
(html_printer::troff_tag): Added `.no-auto-rule'.
(html_printer::flush_globs): Small fix.
(html_printer::determine_space): Don't compute `space_width'.
(html_printer::translate_to_html): Renamed to ...
(html_printer::emit_html): This (with updates).
(html_printer::write_header): Implement `-h' option.
(html_printer::draw): Remove commented-out code.  Handle `F'
command.
(html_printer::add_char_to_sbuf): Removed.
(html_printer::add_to_sbuf): Rewritten.
(html_printer::sbuf_continuation): Fixed.
(html_printer::seen_backwards_escape, reverse,
html_printer::remove_last_char_from_sbuf): Removed.
(char_translate_to_html, str_translate_to_html): Removed.
(html_printer::overstrike): New function member.
(html_printer::set_char): Use it.
(html_printer::do_body): New function member.
(html_printer::~html_printer): Use it.
(main): Handle `-h' option.
(usage): Updated.
* src/devices/grohtml/grohtml.man: Document -h switch.

* src/preproc/html/pre-html.cc: Include searchpath.h
Replace `POSTSCRIPTRES' macro with `postscriptRes' variable.
(get_resolution): New function.
(checkImageDir): Use `0777' permissions in mkdir()
(write_start_image): Rewritten to use `\O[5...]'.
(createImage, generateImages): Updated.
(main): Handle `F' and `h' options.
Use `get_resolution'.

* src/roff/troff/input.cc (begin, end, image): Removed.
(do_suppress): Take parameter.
Handle modified syntax of `\O'.
(token::next): Updated.
(init_markup_requests): Removed.
(main): Updated.

* src/roff/troff/div.h: Add declaration for begin_page().

* tmac/color-html.tmac: Removed.  Contents moved to...
* tmac/html.tmac: Here.  Set background color.
* tmac/color.tmac: Removed.  Contents moved to...
* tmac/ps.tmac: Here.
* tmac/www.tmac: Remove the title command when generating images
for html.
(NO_AUTO_RULE): New macro.
(HTML_DO_IMAGE): Use revised `\O' escapes.
* tmac/Makefile.sub, tmac/groff_www.man, tmac/troffrc: Updated.
@
text
@d42 3
@


1.79
log
@
* aclocal.m4 (GROFF_MKSTEMP): Implement test using C++ linkage.
* configure: Regenerated.
* win32-diffs: Updated.
* tmac/groff_mwww.tmac: Renamed to ...
* tmac/groff_www.tmac: This.
* tmac/mwww.tmac: Removed.
* NEWS, tmac/Makefile.sub: Updated.
* doc/groff.texinfo: Improve documentation of the `\v' escape.
Fix explanation of `\D' and `rt'.
@
text
@d42 3
d61 3
d96 3
a98 1
o Color support for glyphs has been added (no fill color support yet).
@


1.78
log
@
* tmac/an-old.tmac (an-header): Set header length equal to page
width.
* doc/groff.texinfo: Improve documentation of `ne' request.  Other
minor fixes.
* NEWS: Small fix.
@
text
@d55 3
@


1.77
log
@
* NEWS, man/Makefile.sub: Updated.
* man/ditroff.man: New file.
@
text
@d31 3
d37 1
a37 1
    .  de bar
d39 1
a39 1
    .  .
@


1.76
log
@
* man/groff_differences.man: Renamed to ...
* man/groff_diff.man: This.  Updated.
* man/Makefile.sub, src/roff/troff/troff.man, NEWS: Updated.

* src/preproc/html/pushbackbuffer.cc: Renamed to ...
* src/preproc/html/pushback.cc: This.  Updated.
* src/preproc/html/pushbackbuffer.h: Renamed to ...
* src/preproc/html/pushback.h: This.
* src/preproc/html/Makefile.sub, src/preproc/html/pre-html.cc:
Updated.

* src/libs/libgroff/htmlindicate.cc: Renamed to ...
* src/libs/libgroff/htmlhint.cc: This.
* src/libs/libgroff/Makefile.sub: Updated.

* tmac/an-old.tmac (an-end): Fix page length.
@
text
@d86 5
@


1.75
log
@

* NEWS, man/groff_differences.man, doc/groff.texinfo: Updated.
* man/Makefile.sub: Include groff_differences.man.
* VERSION: Set to 1.18.
* REVISION: Set to 0.
* src/roff/troff/input.cc (do_define_macro): Allow whitespace before
the second dot (or ending macro name) to end a macro.
* doc/groff.texinfo: Doc fix.
* tmac/doc-common (doc-header): Handle very long document titles
better.
* tmac/doc.tmac (doc-do-Bl-args): Fix .substring requests.
@
text
@d50 1
a50 1
  in the new man page `groff_differences.man'.
@


1.74
log
@
* src/roff/troff/troff.man: Revised and split into troff.man and...
* man/groff_differences.man: New file.
* NEWS: Updated.

* tmac/an-old.tmac (TS, TE): New macros for table support.
@
text
@d14 1
a14 1
  clsed objects created with \D'...' commands.  Similar to fonts, `\mP' and
d27 11
@


1.73
log
@

Implementing color support in troff, pic, grops, and grohtml.  These
changes are based on a major patch provided by Gaius Mulley
<gaius@@glam.ac.uk>.

New request: `defcolor', supporting rgb, cmy, cmyk, and gray
definitions with both hex values and fractions.

New escapes: \m and \M for drawing and background color,
respectively.  This corresponds to the troff output commands `m'
and `DF'.

groff and troff accept command line switch `-c' to disable color
output (which is automatically disabled in compatibility mode).

New scaling indicator `f' for fractions (1f = 65536u).

New conditional operator `m' to test for defined colors with `if'
and `ie'.

New keywords `color' (or `colour', `colored', `coloured'), `outline'
(or `outlined'), and `shaded' added to pic.

* src/include/color.h: New file.
* src/include/driver.h: Include it.
* src/include/printer.h: Include color.h.
(environment): New members `col' and `fill'.
(printer): Remove `adjust_arc_center' member function.
* src/include/Makefile.sub: Updated.

* src/libs/libdriver/input.cc (do_file): Initialize `env.col' and
`env.fill'.
Handle `m' and `DF' troff commands.
* src/libs/libgroff/color.cc: New file.
* src/libs/libgroff/Makefile.sub: Updated.

* src/preproc/html/pre-html.cc (IMAGE_BORDER_PIXELS): Set to 2.
(stop): Removed.
(createImage): Fix computation of `y2'.
Use `pnmcrop' also.
(buffer::write_file_html): Remove calls to `stop'.

* src/preproc/pic/common.h (common_output): New abstract function
members `set_color', `reset_color', `get_last_filled', and
`get_outline_color'.
* src/preproc/pic/object.h: Add `IS_SHADED' and `IS_OUTLINED'.
(object_spec): Add members `shaded' and `outlined'.
* src/preproc/pic/output.h (output): `command' is now abstract.
New function members `set_color', `reset_color', `get_last_filled',
and `get_outline_color'.
* src/preproc/pic/lex.cc (lookup_keyword): Recognize `colo[u]r[ed]',
`outline[d]', and `shaded'.
* src/preproc/pic/object.cc (output::command): Removed.
(output::set_location):Moved to output.h.
(graphic_object): Add protected members `outline_color' and
`color_fill'.
Add member functions `set_outline_color', `get_outline_color', and
`set_fill_color'.
(closed_object): Add member function `set_fill_color'.
Add member `color_fill'.
(graphic_object::print_text): Use `out->set_color' and
`out->reset_color'.
(box_object::print, ellipse_object::print, circle_object::print,
line_object::print, spline_object::print, arc_object::print): Ditto.
(object_spec::make_object): Implement `IS_OUTLINED' and `IS_SHADED'.
* src/preproc/pic/pic.y: Add tokens `COLORED', `OUTLINED', and
`SHADED', making them `%left'.
Add rules `object_spec [SHADED|COLORED|OUTLINED] text'.
* src/preproc/pic/tex.cc (tex_output): New dummy function members
`set_color', `reset_color', `get_last_filled', and
`get_outline_color'.
* src/preproc/pic/troff.cc (simple_output): New abstract function
members `set_color', `reset_color', and `get_last_filled'.
(simple_output::polygon, simple_output::circle,
simple_output::ellipse): Use `get_last_filled'.
(troff_output): New members `last_filled' and `last_outlined'.
New function members `set_color', `reset_color', `get_last_filled',
and `get_outline_color'.
(troff_output::finish_picture): Use `reset_color'.
(troff_output::set_fill): Test `last_filled'.
* src/preproc/pic/pic.man: Updated.

* src/roff/groff/groff.cc (main): Implement `-c' option.
(synopsis, help): Updated.
src/roff/groff/groff.man: Updated.

* src/roff/troff/troff.h: Include color.h.
(warning_type): Add WARN_COLOR.
* src/roff/troff/env.h (environment): New members
`{cur,prev}_{glyph,fill}_color'.
New member functions `get_{prev_,}{glyph,fill}_color'.
* src/roff/troff/env.cc: Initialize and implement them.
* src/roff/troff/input.cc: New global variable `disable_color_flag'.
Replace `NULL' with `0' everywhere for consistency.
(lookup_color, default_black, do_glyph_color, do_fill_color,
get_color_element, read_rgb, read_cmy, read_cmyk, read_gray,
define_color): New functions.
(token::next): Implement \M and \m escapes.
(do_if_request): Implement `m' operator.
(usage): Updated.
(main): Implement `-c' option.
(init_markup_requests): Add `defcolor' request.
(warning_table): Add `color' warning.
* src/roff/troff/node.h (glyph_color_node, fill_color_node): New
classes.
* src/roff/troff/node.cc (troff_output_file): New members
`current_{page,glyph}color'.  New member functions `put_hex',
`glyph_color', and `fill_color'.
(glyph_color_node::*, fill_color_node::*): Implement it.
* src/roff/troff/number.cc (SCALE_INDICATOR_CHARS): Add `f'.
(parse_term): Add support for `f'.
* src/roff/troff/troff.man: Updated.

* src/devices/grodvi/dvi.cc (draw_dvi_printer::draw): Add dummy
entry for `F'.
* src/devices/grolbp/lbp.cc (lbp_printer::draw): Ditto.
* src/devices/grolj4/lj4.cc (lj4_printer::draw): Ditto.

* src/devices/grohtml/html-text.h (HTML_TAG): Add COLOR_TAG.
(tag_definition): Use `void *' for arg1.
(html_text): New member functions `do_color' and `done_color'.
Use `void *' for second parameter of `push_para' member function.
New `push_para' member function with a single parameter.
Use `char *' for parameter of `issue_table_begin' member funtion.
New `issue_color_begin' member function.
* src/devices/grohtml/html-text.cc (html_text::end_tag): Handle
COLOR_TAG.
(html_text::issue_color_begin): New function.
(html_text::issue_table_begin): Use `char *' for parameter.
(html_text::start_tag, html_text::shutdown,
html_text::check_emit_text): Updated.
(html_text::push_para): Use `void *' for second parameter.
Add same function with only one parameter.
(html_text::do_*): Updated.
(html_text::do_color, html_text::done_color): New functions.
* src/devices/grohtml/post-html.cc (style): New member `col'.
Mew member `style' with 6 parameters.
(style::style, style::operator==): Updated.
(html_printer::do_font): Use it.
(html_printer::draw): Add dummy entry for `F'.
(html_printer::set_char): Updated.
* src/devices/grohtml/grohtml.man: Updated.

* src/devices/grops/ps.cc (ps_output::put_float): Use `%g' to have
trailing zeroes removed.
(ps_printer): New members `sbuf_color', `fill_color', and
`output_color'.
Removed member `fill'.
New member function `set_color'.
(ps_printer::ps_printer, ps_printer::set_char): Updated.
(ps_printer::flush_sbuf, ps_printer::set_line_thickness,
ps_printer::fill_path, ps_printer::draw): Use `set_color'.

* tmac/color-html.tmac, tmac/color.tmac: New files.
* tmac/troffrc: Include them.
* tmac/www.tmac (URL, FTP, MAILTO): Use blue color.
* tmac/Makefile.sub: Updated.

* NEWS, doc/groff.texinfo, doc/pic.ms, man/groff_out.man,
man/groff.man: Updated.
* font/devps/prologue.ps: Define FC and CO functions.

Fix incorrect cropping of images and incorrect handling of special
characters.  Fix handling of file names in \O.

* src/include/geometry.h: New file.
* src/libs/libgroff/geometry.cc: New file.
* src/libs/libdriver/printer.cc (printer::adjust_arc_center): Moved
to `geometry.cc'.
* src/roff/troff/input.cc (get_delim_file_name): Fixed problem with
initial spaces.
(do_suppress): Updated.
* src/roff/troff/node.cc: Include geometry.h.
(troff_output_file::flush_tbuf): Fixed parameters to
`check_output_limits'.
(troff_output_file::check_charinfo): Ditto.
(troff_output_file::determine_line_limits): Add support for `Da'
and `Dl' commands.

* src/devices/grohtml/post-html.cc (str_translate_to_html):
Add new parameter `is_special' to decode special characters from
escape sequences.
(html_printer::do_title, html_printer::do_heading,
html_printer::do_indentedparagraph,
html_printer::translate_to_html, html_printer::special): Updated.

* Makefile.sub (DISTCLEANFILES): Add stamp-h.
Fix entry for config.h.
* test-groff (GROFF_BIN_PATH): Add $builddir/roff/groff.
* tmac/troffrc: Translate nonbreakable space character to `\~'.
* src/preproc/eqn/eqn.man: Document -d command line option.
@
text
@d38 3
@


1.72
log
@Use a config.h file.

* src/include/lib.h: Include config.h.
* All C files: Ditto (if necessary).
* All C++ source and header files: Include lib.h first (if
necessary).

* src/include/config.hin: New file (autogenerated by autoheader).
* stamp-h.in: New file.
* configure.ac: Updated.
* aclocal.m4: Add third parameters to AC_DEFINE macros.
(GROFF_ARRAY_DELETE): Simplified.
* Makefile.sub (DISTCLEANFILES): Updated.
Added targets for remaking config.status, config.hin, config.h,
stamp-h.in, and stamp-h.
* configure: Regenerated.


* NEWS: Updated.
@
text
@d4 2
a5 4
VERSION 1.17.3
==============

This is mainly a bug-fixing release.
d10 18
d38 17
d62 10
d134 1
a134 1
  set, it defaults to the directory where the groff binary is located. 
@


1.71
log
@Intergrated pic2graph, contributed by Eric S. Raymond.

* contrib/pic2graph/{Makefile.sub, pic2graph.sh, pic2graph.man}: New
files.
* Makefile.in, NEWS: Updated.

* src/preproc/tbl/tbl.man: Revised.


* src/preproc/tbl/tbl.man: Extended to cover all tbl features.


* src/preproc/tbl/main.cc (process_data): Fix recognition of .lf
requests.


* Makefile.sub (configure): Depend on configure.ac, not
configure.in.
* INSTALL.gen: Upgrade to autoconf 2.52's INSTALL.


* src/utils/afmtodit/afmtodit.man, src/roff/groff/groff.man: Minor
fixes.
@
text
@d19 3
@


1.70
log
@

fix typo
@
text
@d19 7
d264 2
a265 2
A new option `-P' resp. a new environment variable `GROPS_PROLOGUE' has been
added to select a different prologue file.
d267 3
a269 3
The effect of the former `-mpsnew' option to access more Type 1 characters
is now the default and no longer available.  To get the old behaviour (i.e.,
emulation of some glyphs by composition) use `-mpsold'.
@


1.69
log
@

	* NEWS: Updated.

	* tmac/groff_mdoc.man: Document new -width and -column syntax.
	Some other minor fixes.
	* tmac/an-old.tmac: Add `AT' and `UC' macros.
@
text
@d12 2
a13 2
o Two macros `AT' (AT&T) and `UC' (Univ. of Columbia) have been added to the
  man macros for compatibility with older BSD releases.
@


1.68
log
@* tmac/www.tmac: Disable hyphenation in normal text only if output
device is html.
(URL, FTP, MAILTO): Disable hyphenation of actual URL with `%'.
* tmac/groff_mwww.man, NEWS: Updated.


* tmac/www.tmac (.IMAGE): Add fourth parameter to specify vertical
image location.
@
text
@d4 15
@


1.67
log
@Added two new options (-D and -I) to specify image names and a
subdirectory to place the images in.

Change syntax from \Ox to \O[x].

* src/devices/grohtml/post-html.cc (main): Add options.
(usage): Updated.
* src/preproc/html/pre-html.cc: Include `stdarg.h'.
Use `NULL' instead of `0' for null string pointers.
(MAX_RETRIES): New macro.
(lengthOfintToStr, intToStr, make_message): New functions.
(makeFileName): Make function static.
Implement -D and -I options.
(checkImageDir): New function.
(write_end_image, write_start_image): Use new syntax of O.
(createAllPages, removeAllPages): Implement -D and -I options.  Use
make_message().
(createImage): Use make_message().
(addps4html): Add guard for malloc().
(usage, scanArguments): Updated.
(makeTempFiles): Use mkstemp().
(removeTempFiles): Use unlink().
(findPrefix): Add guard for malloc().
(main): Updated.
* src/roff/troff/input.cc (get_delim_file_name): New function to
parse O.
(do_suppress): Updated to parse new syntax.
* src/devices/grohtml/grohtml.man: Updated.
* tmac/www.tmac: Updated to new syntax.

* NEWS: Updated.
@
text
@d4 11
@


1.66
log
@The .ns and .rs requests are now honoured not only in the top-level
but in all diversions (similar to UNIX troff).

This change is based on a patch from Tadziu Hoffmann
<hoffmann@@usm.uni-muenchen.de>.

* src/roff/troff/div.h (diversion): Add `no_space_mode' member.
(top_level_diversion): Remove `no_space_mode' member.
* src/roff/troff/div.cc (diversion::diversion,
top_level_diversion::top_level_diversion): Updated.
(macro_diversion::output): Reset `no_space_mode'.
(no_space, restore_spacing): Use `curdiv' unconditionally.
(space_request, blank_line): Check `curdiv->no_space_mode'.
(no_space_mode_reg::get_value, no_space_mode_reg::get_string): Use
`curdiv' unconditionally.
* NEWS, src/roff/troff/troff.man, man/groff.man, doc/groff.texinfo:
Updated.
@
text
@d33 8
@


1.65
log
@Added two new requests `de1' and `am1' which are similar to `de' and
`am' with the difference that compatibility mode is saved on entry,
switched off during macro execution, and restored on exit.

* src/roff/troff/input.h: Added two new special characters
(COMPATIBLE_SAVE, COMPATIBLE_RESTORE).
* src/roff/troff/input.cc (input_iterator): Added two member
functions `save_compatible_flag' and `get_compatible_flag'.
(input_stack): Ditto.
(string_iterator): Ditto.  Also add private member
`saved_compatible_flag'.
(token::next): Use COMPATIBLE_SAVE and COMPATIBLE_RESTORE.
(calling_mode): New enumeration.
(do_define_macro): Use it.  Insert COMPATIBLE_SAVE and
COMPATIBLE_RESTORE at the beginning and end of macro, respectively.
(define_macro, define_indirect_macro, append_macro, ignore): Use
`calling_mode'.
(define_nocomp_macro, append_nocomp_macro): New functions.
(init_input_requests): Updated.
(do_request): Rename local variable `saved_compatible_flag' to
`old_compatible_flag'.
* NEWS, src/roff/troff/troff.man, man/groff.man: Document it.

* tmac/an-old.tmac: Use `de1' instead of `de' request for all
public and trap-invoked macros.  As a consequence, the man macros
work in compatibility mode also.


* Makefile.in: Use $(mandir).
@
text
@d19 5
a23 2
o New read-only number register `.ns'.  Returns 1 in no-space mode (if in
  top-level diversion), 0 otherwise.
d30 2
a31 2
o The environment variable GROFF_BIN_PATH will now be checked before PATH
  for finding groff.
d39 1
a39 1
o `-mFOO' will now search first for `FOO.tmac' and then for `tmac.FOO'.  The
d45 6
a50 6
o The new environment variable GROFF_BIN_PATH will be checked for programs
  groff is calling (preprocessors, troff, and output devices) before PATH.
  If not set, it defaults to the directory where the groff binary is
  located.  Previously, it was PATH only.  The nroff script will only use
  GROFF_BIN_PATH to find the groff binary but passes both the GROFF_BIN_PATH
  and PATH environment variable to groff.
d82 3
a84 3
  package has been implemented: `-rcR=1' (now the default in nroff mode) will
  produce one single, very long page instead of multiple pages.  `-rcR=0'
  will deactivate it.
d108 1
a108 1
  `\ ' will no longer be unformatted as a space but remains an unpaddable,
d217 1
a217 1
o The grog script will now work in non-compatibility mode also (which is the
d255 6
a260 7
o groff will now install its data files into
  /usr/local/share/groff/<version> by default, following the GNU standard.
  Additionally, a local tmac directory (by default
  /usr/local/share/groff/site-tmac) will be scanned before the standard tmac
  directory.  Wrapper files for system-specific macro packages (if
  necessary) are put into /usr/local/lib/groff/site-tmac; this directory
  will be searched before the local tmac directory.
d262 2
a263 2
o All programs now have option `-v' to show the version number; they will
  exit immediately afterwards, following the GNU standards.  Additionally,
@


1.64
log
@

Rename register .q to .ns
@
text
@d8 1
a8 1
This is a bug-fixing release.
d12 4
@


1.63
log
@Added `.q' number register: Returns 1 if in no-space mode (if in
top-level diversion), 0 otherwise.

* src/roff/troff/div.cc (no_space_mode_reg): New class.
(init_div_requests): Updated.
* NEWS, src/roff/troff/troff.man, man/groff.man, doc/groff.texinfo:
Document it.
@
text
@d15 1
a15 1
o New read-only number register `.q'.  Returns 1 in no-space mode (if in
@


1.62
log
@Added `brp' request: This is p as a request.

* src/roff/troff/env.cc (environment::do_break): Add parameter
`spread'.
(do_break_request): New function (was `break_request').
(break_request): Calls `do_break_request'.
(break_spread_request): New; calls `do_break_request'.
(init_env_requests): Updated.
* src/roff/troff/env.h: Updated.
* NEWS, src/roff/troff/troff.man, man/groff.man: Document it.

* VERSION: Increased to 1.17.1.


* tmac/an-old.tmac: Fix minor compatibility mode issue.
* tmac/troffrc-end: Make it really work in compatibility mode.
@
text
@d15 3
@


1.61
log
@* src/roff/nroff/nroff.sh: Adding -p (pic) and -t (tbl) options.
Fix usage of GROFF_BIN_PATH.
* src/roff/nroff/nroff.man: Updated.


* NEWS: Fixing typos.
Updated.
@
text
@d1 14
a24 3

This file describes recent user-visible changes in groff.  Bug fixes
are not described.  There are more details in the man pages.
@


1.60
log
@* NEWS: Updated.
* doc/groff.texinfo: Many fixes, additions, clarifications, etc.


* src/devices/grodvi/dvi.cc (main): Accept --help and --version.
(usage): Add stream argument. Don't exit.
* src/devices/grohtml/post-html.cc (main): Accept --help and --version.
Write --version output to stdout, not stderr.
(usage): Add stream argument. Don't exit.
* src/devices/grohtml-old/html.cc (main): Accept --help and --version.
(usage): Add stream argument. Don't exit.
* src/devices/grolbp/lbp.cc (long_options): Use symbolic getopt.h
constants.
(usage): Add stream argument. Don't exit.
(main): Write --help output to stdout, not stderr.
* src/devices/grolj4/lj4.cc (main): Accept --help and --version.
(usage): Add stream argument. Don't exit.
* src/devices/grops/ps.cc (main): Accept --help and --version.
(usage): Add stream argument. Don't exit.
* src/devices/grotty/tty.cc (main): Accept --help and --version.
(usage): Add stream argument. Don't exit.
* src/preproc/eqn/main.cc (usage): Add stream argument. Don't exit.
(main): Accept --help and --version.
* src/preproc/grn/main.cc (usage): Add stream argument. Don't exit.
(main): Accept --help and --version.
* src/preproc/html/pre-html.cc (usage): Add stream argument.
(scanArguments): Accept --help and --version.
* src/preproc/pic/main.cc (usage): Add stream argument. Don't exit.
(main): Accept --help and --version.
* src/preproc/refer/refer.cc (main): Accept --help and --version.
(usage): Add stream argument. Don't exit.
* src/preproc/soelim/soelim.cc (usage): Add stream argument. Don't
exit.
(main): Accept --help and --version.
* src/preproc/tbl/main.cc (usage): Add stream argument. Don't exit.
(main): Accept --help and --version.
* src/roff/groff/groff.cc (main): Accept --help and --version.
(synopsis): Add stream argument.
(help): Write --help output to stdout, not stderr.
(usage): Add stream argument. Don't exit.
* src/roff/grog/grog.pl: Accept --help and --version.
(help): New sub.
* src/roff/grog/grog.sh: Accept --help and --version.
* src/roff/nroff/nroff.sh: Accept --help and --version.
* src/roff/troff/input.cc (USAGE_EXIT_CODE): Remove macro.
(usage): Add stream argument. Don't exit.
(main): Accept --help and --version.
* src/utils/addftinfo/addftinfo.cc (main): Accept --help and --version.
(usage): New function with stream argument, doesn't exit.
* src/utils/hpftodit/hpftodit.cc (main): Accept --help and --version.
(usage): New function with stream argument, doesn't exit.
* src/utils/indxbib/indxbib.cc (main): Accept --help and --version.
(usage): Add stream argument. Don't exit.
* src/utils/lkbib/lkbib.cc (usage): Add stream argument. Don't exit.
(main): Accept --help and --version.
* src/utils/lookbib/lookbib.cc (usage): Add stream argument. Don't
exit.
(main): Accept --help and --version.
* src/utils/pfbtops/pfbtops.c (usage): Add stream argument. Don't exit.
(main): Accept --help and --version.
* src/utils/tfmtodit/tfmtodit.cc (main): Accept --help and --version.
(usage): Add stream argument. Don't exit.
@
text
@d1 11
d178 1
a178 1
  output line is interrupted (i.e., if it contains `\c').
d188 1
a188 1
o `\X' and `\Y' are no transparent for end-of-sentence recognition.
d190 2
a191 7
o The `cu' request in nroff mode now works as documented (i.e., it does
  underline spaces also).

Nroff
-----

Option -v shows the version number.
a197 2

o Option -v shows the version number.
@


1.59
log
@Implement continuous underlining for nroff mode.  To do that, a new
request in the ditroff language has been added: `x u N' (N is 0
or 1).

X and Y are now transparent to end-of-sentence recognition.

* src/include/printer.h (printer): Add `type' parameter to `special'
method.
* src/libs/libdriver/printer.cc (printer::special): Updated.
* src/libs/libdriver/input.cc (do_file): Handle `x u N'.

* src/devices/dvi/dvi.cc (dvi_printer::special): Handle only
specials of type `p'.
* src/devices/grohtml/post-html.cc (html_printer::special): Ditto.
* src/devices/grohtml-old/html.cc (html_printer::special): Ditto.
* src/devices/grops/ps.cc (ps_printer::special): Ditto.
* src/devices/grotty/tty.cc: Add new enum CU_MODE.
(glyph::order): New method.
(tty_printer::add_char): Use it.
(tty_printer::special): New method.
(tty_printer::end_page): Implement it.

* src/roff/troff/node.h (special_node): Add `no_init_string' member.
* src/roff/troff/node.cc (special_node::special_node): Add parameter
to set `no_init_string'.
(special_node::tprint_start): Use it.
(special_node::same, special_node::copy): Updated.
(special_node::ends_sentence): New method.
(troff_output_file::start_special): Add parameter to include
inititialization of special conditionally.

* src/roff/troff/env.h (environment): New member `underline_spaces'.
* src/roff/troff/env.cc (do_underline_special): New function.
(environment::set_font): Use it.
(do_underline): Use it.  This was `underline()'.
(underline): Call `do_underline()'.
(continuous_underline): New function which calls `do_underline()'.
(environment::newline): Use `do_underline_special()'.
(init_env_requests): Updated.

* NEWS, man/troff_out.man: Updated.


* font/devutf8/R.proto: Fix code of 'shc'.
@
text
@d239 2
a240 1
  exit immediately afterwards, following the GNU standards.
@


1.58
log
@

Fix typo.
@
text
@d177 5
@


1.57
log
@Remove .Ld from mdoc package; replace it with special handling of
`...'.

* tmac/doc-common: Remove `Ld' register.
Uncomment `doc-volume-ds-*' strings.
Remove `doc-operating-system-default'.
(Os): Updated.
* tmac/doc-syms (Ld): Removed.
* tmac/doc.tmac (doc-parse-args, doc-parse-arg-vector): Handle
`...' specially.
* NEWS: Updated.

* tmac/groff_mdoc.man: Many fixes and updates.

* tmac/www.tmac: Save compatibility mode.
@
text
@d28 1
a28 1
  . Almost all macros are parsable and callable (if it makes sense).
@


1.56
log
@* tmac/doc-nroff, tmac/doc-ditroff: Implement -rSxx switch for
selecting the font size.
* tmac/groff_mdoc.man, NEWS: Document it.


* tmac/groff_mdoc.reference.man: Small updates and renamed to ...
* tmac/groff_mdoc.man: This.  The quick reference has been removed.
* tmac/Makefile.sub, NEWS: Updated.
@
text
@d39 1
a39 2
  . `.Ld': prints `...'
  . support for double-sided printing (-rD=1 command line switch)
d43 1
a43 1
  `groff_mdoc.samples.man' replaces `groff_mdoc.man'; it now completely
@


1.55
log
@* src/roff/troff/div.cc (save_vertical_space): Add default argument
to `sv' request.
* src/roff/troff/env.cc (family_change): Make `.fam' accept no
argument to restore previous font family.
* src/roff/troff/troff.man, man/groff.man, NEWS: Updated.

* doc/groff.texinfo: More fixes and additions (mainly for font
manipulating commands).
@
text
@d41 2
d44 2
a45 2
  groff_mdoc.samples.man has been replaced with groff_mdoc.reference.man
  which completely documents the mdoc package.
@


1.54
log
@Replaced mdoc implementation.  The new version is `state of the
art', using almost all new features of groff 1.17 -- it won't run
with older versions.

* tmac/doc.tmac: Completely rewritten.
* tmac/doc-common: Ditto.
* tmac/doc-nroff: Ditto.
* tmac/doc-ditroff: Ditto.
* tmac/doc-syms: Ditto.
* tmac/mdoc.local: New file.
* tmac/groff_mdoc.samples.man: Replaced with ...
* tmac/groff_mdoc.reference.man: New file, covering mdoc completely.
* tmac/strip.sed: Updated.
* tmac/Makefile.sub: Updated.
* INSTALL: Updated.

* tmac/groff_man.man: Add `man.local' to the FILES section.
@
text
@d162 3
@


1.53
log
@Added the `return' request to end a macro immediately.  It simply
pops iterators from the input stack until a macro iterator is found.

* src/roff/troff/input.cc (input_iterator::is_macro,
macro_iterator::is_macro): New member.
(input_return_boundary): New class to signal an immediate return
to while_request().
(input_stack::add_return_boundary, input_stack::is_return_boundary):
New functions.
(input_stack::clear): Use it.
(input_stack::pop_macro): New function.
(while_request): Use `is_return_boundary()'.
(return_macro_request): New function.
(init_input_requests): Use it.

* src/roff/troff/TODO: Updated.
* NEWS, src/roff/troff/troff.man, man/groff.man: Document it.


* src/roff/troff/input.cc (input_iterator::is_boundary): Minor
cleanup.
@
text
@d23 25
@


1.52
log
@Fixing a bug which prevented proper end-of-sentence recognition
between an `unformatted' box and the following text.  As a
consequence, vertical line distances are no longer preserved in
boxes after a call to `.unformat' -- because boxes aren't
line-oriented (contrary to diversions), this doesn't make sense
anyway.

* src/roff/troff/node.cc (*node::set_unformat_flag): Add return
value.
(vertical_size_node::set_unformat_flag): New method.
* src/roff/troff/node.hh: Updated.
* src/roff/troff/input.cc (word_space_node::reread,
hmotion_node::reread): Reset `unformat' flag after usage.
(unformat_macro): Append only if `set_unformat_flag()' returns
non-zero.
* src/roff/troff/troff.man: Updated.


* src/roff/troff/troff.man, NEWS, man/groff.man: Improved
documentation of `asciify' and `unformat' requests.
@
text
@d28 2
d55 1
a55 1
  information. This makes it possible to reformat diversions; for example
@


1.51
log
@A new escape sequence `:', inserting a zero-width break point.

* src/roff/troff/input.h: Adding `ESCAPE_COLON'.
* src/roff/troff/input.cc (get_copy, token::next, asciify):
Implement it.
* src/roff/troff/node.h (node): Add `is_escape_colon()' virtual
method.
(space_node): Add `was_escape_colon' member.  Add `is_escape_colon()'
and `asciify()' methods.
* src/roff/troff/node.cc (space_node::space_node): Updated.
(space_node::asciify): Handle `was_escape_colon'.
* NEWS, src/roff/troff/troff.man, man/groff.man: Document it.

Handle `~' similar to other comparable requests.

* src/roff/troff/input.cc (process_input_stack): Remove now obsolete
label.
(token::next): Move creation of an unbreakable_space_node to...
(token::add_to_node_list): Here.

Fix a bug which sometimes prevented hyphenation of words connected
with `~' or ` ' (and other escape sequences handled as
TOKEN_NODE).  This also fixes a hyphenation problem with boxes
(after a call to the `unformat' request).

* src/roff/troff/env.h (environment::possibly_break_line,
environment::hyphenate_line): Introducing `start_here' parameter.
* src/roff/troff/env.cc (environment::space_newline,
environment::space): Use it.
(environment::possibly_break_line, environment::hyphenate_line):
Implement it.
* src/roff/troff/input.cc (process_input_stack): Use it.
* src/roff/troff/node.h (unbreakable_space_node, hmotion_node,
space_char_hmotion_node, overstrike_node): Add
`get_hyphenation_type()' method.
* src/roff/troff/node.cc (break_char_node::asciify): Don't asciify
if `unformat_only' is active.

Implemented new read-only number register `.linetabs' which
returns 1 if in line-tabs mode, 0 otherwise.
* src/roff/troff/env.h (environment): Add get_line_tabs() member.
* src/roff/troff/env.cc (get_line_tabs): New function.
(init_env_requests): Use it.
@
text
@d46 1
a46 1
  also.
d51 2
a52 2
o The new `unformat' request is similar to `asciify' but only converts
  (formatted) horizontal space back to its input form, retaining font
@


1.50
log
@Implemented new read-only number register `.linetabs' which returns
1 if in line-tabs mode, 0 otherwise.

* env.h (environment): Add get_line_tabs() member.
* env.cc (get_line_tabs): New function.
* init_env_requests: Use it.
* NEWS, src/roff/troff/troff.man, man/groff.man: Document it.

* VERSION, REVISION: Changing to 1.17.0.
@
text
@d130 3
@


1.49
log
@Adding the `linetabs' request.  If set, tab distances are not
computed relative to the input line but relative to the output line.

* src/roff/troff/env.h (environment): New member `line_tabs'.
* src/roff/troff/env.cc (line_tabs_request): Implement request.
(environment::environment, environment::copy): Updated.
(environment::distance_to_next_tab): Use `line_tabs'.
(init_env_requests): Register request.
* src/roff/troff/troff.man, man/groff.man, NEWS: Document it.  Other
fixes.
@
text
@d111 3
@


1.48
log
@Introducing a new read-only register `.int' which is set to a
positive value if the last output line is interrupted (i.e., if it
contains `c').

* src/roff/troff/env.cc (init_env_requests): Add it.
* NEWS, src/roff/troff/troff.man, man/groff.man: Document it.


* tmac/mwww.tmac: Call `www.tmac', not `arkup.tmac'.
* src/preproc/html/pre-html.cc (findPrefix): New function which
generates the troff executable name via the system prefix.
* src/preproc/eqn/main.cc: Modified warning message.
@
text
@d14 1
a14 1
  groff is calling (preprocessors, troff, and output devices) before PATH. 
d90 21
d136 4
d189 1
a189 1
  /usr/local/share/groff/<version> by default, following the GNU standard. 
@


1.47
log
@troff's `box' and `boxa' requests didn't preserve temporary
indentation.

* src/roff/troff/div.h (diversion): Add `saved_saved_indent' and
`saved_target_text_length' members.
* src/roff/troff/div.cc (do_divert): Use them.

Tabs (but not yet leaders and fields) are now handled correctly by
`asciify' request.

* node.h (hmotion_node): Add field `was_tab'.
* env.cc (environment::make_tab_node): Set it.
* node.cc (hmotion_node::copy, hmotion_node::asciify): Use it.

Added new request `unformat' which will, contrary to `asciify',
preserve font information after unformatting (i.e., only nodes
dealing with horizontal space are converted back to input
characters).

* input.cc (asciify_macro): Renamed to ...
(do_asciify_macro): this, having a new parameter `unformat_only'.
(asciify_macro, unformat_macro): New; using do_asciify_macro.
(init_input_requests): Added `unformat'.
* node.cc (*_node::asciify), asciify_reverse_node_list: Added
parameter to control asciification process.
* node.h (*_node::asciify): Ditto.
* NEWS, src/roff/troff/troff.man, man/groff.man: Document it.


* doc/groff.texinfo: Minor improvement of `.in' documentation.


* test-groff: Updated.
@
text
@d53 2
a54 2
  information in.  This makes it possible to reformat diversions; for
  example the following
d107 3
@


1.46
log
@* tmac/ps.tmac: Remove call of psold.tmac.
* tmac/psold.tmac: Comment updated.
* tmac/psnew.tmac: Removed since no longer needed.
* tmac/Makefile.sub, NEWS, src/devices/grops/grops.man: Updated.

* font/devutf8/R.proto: Adding `shc' glyph.
* font/devutf8/NOTES: Updated.
@
text
@d46 9
a54 2
  also.  This makes it possible to reformat diversions; for example the
  following
d63 1
a63 1
    b01 b02 b03 b04 b05 b06 b07 b08 b09 b10.
d70 1
a70 1
    .asciify box1
d81 1
a81 1
  Without the `asciify' request, space characters are converted to word
a88 3

  Note that `\ ' will no longer be unformatted as a space but remains an
  unpaddable, unbreakable space character.
@


1.45
log
@* NEWS, src/roff/troff/troff.man, doc/groff.texinfo: Fix
documentation of `asciify' request.
@
text
@d127 4
@


1.44
log
@* src/roff/troff/input.cc: Move definition of special characters
like `ESCAPE_TILDE' to ...
* src/roff/troff/input.h: New file.
* src/roff/troff/Makefile.sub (HDRS): Add it.

Extending the .asciify request to `unformat' space characters also.

* src/roff/troff/node.h (word_space_node): Add `num_spaces' element
to count input space characters.
Update constructors to take care of it.
* src/roff/troff/node.cc (space_char_hmotion_node::asciify): Use
`ESCAPE_SPACE' instead of normal space.
(word_space_node::asciify): New method.
(unbreakable_space_node::asciify): New method.
(word_space_node::merge_space): New method.
* src/roff/troff/env.cc (environment::space_newline,
environment::space): Add code to initialize `num_spaces' (using the
constructor of `word_space_node').
* NEWS, src/roff/troff/troff.man, man/groff.man, doc/groff.texinfo:
Document it.


* man/groff_char.man: Use table header traps only conditionally.


* man/groff_char.man: Add `' and `' to the `acute' group.

Ignore `ss' request if in compatibility mode.
`ss' request in nroff mode.
* tmac/e.tmac: Add `T&' macro.
long page is created instead of multiple pages: All `ne' and `wh'
be called with `em'.
@
text
@d83 3
@


1.43
log
@Introducing the `box' and `boxa' requests which are similar to
`di' resp. `da' but omitting a partially filled line (which is
restored after ending the diversion).

* src/roff/troff/div.h (diversion): Add elements to save partially
filled line.
* src/roff/troff/div.cc (do_divert): Add parameter `boxing' to save
partially filled line.
(divert, divert_append): Updated.
(box, box_append): New functions.
(init_div_requests): Use them.
* src/roff/troff/env.h (environment): do_divert() is now a friend.
* NEWS, src/roff/troff/troff.man, man/groff.man: Document it.

* doc/groff.texinfo: Fix documentation of `lf' request.


* src/roff/troff/troff.man, NEWS: Document `writem' request.
@
text
@d45 38
@


1.42
log
@* PROBLEMS: Added info about adding -lPW on HP-UX to satisfy the
`alloca' symbol .

* MORE.STUFF: Added info about deroff for djgpp.

* tmac/an-old.tmac, tmac/groff_man.man, doc/groff.texinfo, NEWS: Fix
documentation of -rcR switch

if -rcR=1 (which is now the default in nroff mode), a single, very
@
text
@d41 4
d62 4
@


1.41
log
@* tmac/an-old.tmac: Implementing the -rcR switch (similar to mdoc);
if -rcR1 (which is now the default in nroff mode), a single, very
long page is created instead of multiple pages: All `.ne' and `.wh'
requests are put into conditionals; a new macro `an-end' is added to
be called with `.em'.

Some other minor cleanups.

* NEWS, tmac/groff_man.man, doc/groff.texinfo: Updated.
@
text
@d24 2
a25 2
  package has been implemented: `-rcR1' (now the default in nroff mode) will
  produce one single, very long page instead of multiple pages.  `-rcR0'
@


1.40
log
@Fixing a bug which prevented hyphenation in words followed
immediately by a TOKEN_NODE (e.g. ` ', `~', etc.).

* src/roff/troff/input.cc (process_input_stack <token::TOKEN_NODE>):
Adding possibly_break_line().
* src/roff/troff/env.h (environment): Make possibly_break_line()
public.

Make `~' usable in .tr request.

* src/roff/troff/token.h (token_type): Add TOKEN_STRETCHABLE_SPACE.
(token): Add stretchable_space().
* src/roff/troff/input.cc (token::next, token::delimiter,
token::description, process_input_stack, do_translate,
add_to_node_list, token::process): Use it.
* src/roff/troff/node.h (node): Add fourth parameter to add_char()
for adjusting the space.
* src/roff/troff/node.cc (node::add_char): Implement it.  Add code
for stretchable space.
* src/roff/troff/input.cc (token::add_to_node_list): Use it.
(make_node): Add code for stretchable space.
* src/roff/troff/env.cc (environment::add_char): Use it.
* src/roff/troff/input.cc: Add ESCAPE_TILDE special character.
(get_copy, token::next, transparent_translate, asciify): Use it.

* NEWS, src/roff/troff/troff.man, src/roff/troff/TODO,
doc/groff.texinfo: Updated.
* man/groff.man: Small reorderings.
@
text
@d23 5
@


1.39
log
@* NEWS: Fixes.
* src/preproc/eqn/main.cc (main): Use `config_macro_path' for -M
option.
* src/roff/troff/input.cc (main): Add `config_macro_path' and
`safer_macro_path' to -M option.
* src/roff/troff/troff.man: Fixes.
@
text
@d7 12
a18 12
`-mFOO' will now search first for `FOO.tmac' and then for `tmac.FOO'.  The
old behaviour has been changed to overcome problems with platforms which
have an 8+3 file name limit, and platforms which have other versions of
troff installed also.  Additionally, all macro files have been renamed
using the latter scheme to avoid 8+3 name clashes.

The new environment variable GROFF_BIN_PATH will be checked for programs
groff is calling (preprocessors, troff, and output devices) before PATH.  If
not set, it defaults to the directory where the groff binary is located.
Previously, it was PATH only.  The nroff script will only use GROFF_BIN_PATH
to find the groff binary but passes both the GROFF_BIN_PATH and PATH
environment variable to groff.
d23 2
a24 2
A new request `nop' (no operation) has been added which is similar to
`if 1'.  For example,
d26 27
a52 25
.if t \{\
Hallo!
.\}

can now be written as

.if t \{\
.  nop Hallo!
.\}

Two new requests `tm1' and `tmc' have been added to improve writing messages
to the terminal.  `tm1' is similar to `tm' but allows leading whitespace.
`tmc' is similar to `tm1' but doesn't emit a final newline.

A new request `dei' (define indirect) has been added.  The first and second
parameter of `dei' are taken from string registers instead directly; this
very special request is needed to make `trace.tmac' independent from the
escape character (which might even be disabled).

It is now possible to save and restore the escape character with two new
requests `ecs' and `ecr'.

The new escape sequence \B'...' is an analogon to `\A': If the string within
the delimiters is a valid numeric expression, return character `1', and `0'
otherwise.
d62 2
a63 2
The grog script will now work in non-compatibility mode also (which is the
default).  As usual, use the `-C' option to activate compatibility mode.
d65 1
a65 1
Option -v shows the version number.
d76 1
a76 1
For security reasons the following changes have been done:
d98 7
a104 6
groff will now install its data files into /usr/local/share/groff/<version>
by default, following the GNU standard.  Additionally, a local tmac
directory (by default /usr/local/share/groff/site-tmac) will be scanned
before the standard tmac directory.  Wrapper files for system-specific macro
packages (if necessary) are put into /usr/local/lib/groff/site-tmac; this
directory will be searched before the local tmac directory.
d106 2
a107 2
All programs now have option `-v' to show the version number; they will exit
immediately afterwards, following the GNU standards.
@


1.38
log
@Use safer path (except for config files) if -U isn't specified.  Add
a special macro path (without home and current directory) for config
files.  Add home directory to unsafe path for consistency.  Don't
include the home directory in the font path.

* src/lib/libgroff/macropath.cc: Add `config_macro_path', change
`macro_path'.
* src/include/macropath.h: Add `config_macrp_path'.
* src/lib/libgroff/fontfile.cc: Fix font path.
* src/roff/troff/input.cc (process_startup_file): Use
`config_macro_path'.
(main): Select unsafe path if -U is given.

* src/preproc/eqn/main.cc (main): Fixing search path for
configuration file.
* src/preproc/eqn/eqn.man: Updated.

* src/roff/troff/troff.man, man/roff.man, tmac/groff_tmac.man:
Updated.

* src/preproc/grn/grn.man, src/devices/grodvi/grodvi.man,
src/devices/grohtml/grohtml.man, src/devices/grolbp/grplbp.man,
src/devices/grolj4/grolj4.man, src/devices/grops/grops.man,
src/devices/grotty/grotty.man: Updated.

* Makefile.in: Fix comments.

src/roff/groff/groff.man, tmac/groff_tmac.man, arch/djgpp/README:
@
text
@d82 1
a82 2
    line option, hyphenation patterns loaded with `.hpf', and the start-up
    files troff-rc and troffrc-end (resp. eqnrc for eqn) are no longer
d84 1
a84 1
    path).  Instead, the home directory is used.  To add the current
d87 4
@


1.37
log
@* src/devices/grodvi/dvi.cc (main),
src/devices/grohtml2/post-html.cc (main),
src/devices/grolbp/lbp.cc (main), src/devices/grolj4/lj4.cc
(main), src/devices/grops/ps.cc (main), src/devices/grotty/tty.cc
(main), src/preproc/eqn/main.cc (main), src/preproc/grn/main.cc
(main), src/preproc/html2/pre-html.cc (main),
src/preproc/pic/main.cc (main), src/preproc/refer/refer.cc (main),
src/preproc/soelim/soelim.cc (main), src/preproc/tbl/main.cc
(main), src/roff/groff/groff.cc (main), src/roff/troff/input.cc
(main), src/utils/hpftodit/hpftodit.cc (main),
src/utils/indxbib/indxbib.cc (main), src/utils/lkbib/lkbib.cc
(main), src/utils/lookbib/lookbib.cc (main),
src/utils/pfbtops/pfbtops.c (main), src/utils/tfmtodit/tfmtodit.cc
(main): Use stdout for -v.
* src/roff/groff/groff.cc (run_commands),
src/roff/groff/pipeline.c (run_pipeline): New parameter `no_pipe'
to make direct printing to stdout possible.
* src/roff/groff/pipeline.h: Updated.

* src/utils/afmtodit/afmtodit.pl: Add -v switch.
* src/utils/afmtodit/Makefile.sub (afmtodit): Use @@VERSION@@.
* src/utils/afmtodit/afmtodit.man: Updated.

* src/utils/addftinfo/addftinfo.cc (main): Add -v switch.
(version): New function.
(usage): Updated.
* src/utils/addftinfo/addftinfo.man: Updated.

* src/devices/*/*, src/preproc/*/*, src/roff/*/*, src/utils/*/*:
Fixing copyright dates.

* src/preproc/eqn/neqn.sh: Adding GROFF_BIN_PATH to path instead of
replacing it.

* src/devices/grolbp/lbp.cc (main): Use Version_string instead of
version_string.

* src/roff/nroff/Makefile.sub (nroff): Fix use of @@VERSION@@.
@
text
@d26 1
a26 1
.if t \{
d32 1
a32 1
.if t \{
d81 11
a91 7
  . The files troffrc, troffrc-end, and eqnrc are no longer searched in the
    current directory (besides the usual tmac path).  Instead, the home
    directory is used.  While scanning these files, the same secure macro
    path is active.

  . Similarly, the current directory is no longer part of the font path; it
    has been replaced with the home directory.
d98 1
a98 1
directory will be searched after the local tmac directory.
@


1.36
log
@In all programs, make -v return immediately with exit status 0 to
be compliant with the GNU standard.

* src/devices/grodvi/dvi.cc (main),
src/devices/grohtml2/post-html.cc (main),
src/devices/grolbp/lbp.cc (main), src/devices/grolj4/lj4.cc
(main), src/devices/grops/ps.cc (main), src/devices/grotty/tty.cc
(main) src/preproc/eqn/main.cc (main), src/preproc/grn/main.cc
(main), src/preproc/html2/pre-html.cc (main),
src/preproc/pic/main.cc (main), src/preproc/refer/refer.cc (main),
src/preproc/soelim/soelim.cc (main), src/preproc/tbl/main.cc
(main), src/roff/groff/groff.cc (main), src/roff/troff/input.cc
(main): Implement it.
* NEWS: Updated.

* src/roff/groff/groff.cc (main): Add copyright notice.  Add refer
and postprocessors to the -v option.

* src/roff/grog/grog.pl: Implement -v.
* src/roff/grog/Makefile.sub (grog): Use @@VERSION@@.
* src/roff/grog/grog.man, doc/groff.texinfo: Updated.

* src/roff/nroff/nroff.sh: Implement -v.
* src/roff/nroff/Makefile.sub (nroff): Use @@VERSION@@.
* src/roff/nroff/nroff.man: Updated.

* src/preproc/eqn/main.cc (main): Fix comment typo.

* MORE.STUFF: Added info about djgpp port of grap.
@
text
@d96 2
a97 2
All programs which have option `-v' implemented will now exit immediately
after showing the version number.
@


1.35
log
@* src/roff/grog/grog.{pl,sh}: Implemented -C switch for compatibility
mode (or rather, implemented non-compatibility mode).
* NEWS, src/roff/grog/grog.man, doc/groff.texinfo: Updated.
@
text
@d52 5
d63 2
d95 3
@


1.34
log
@* src/roff/groff/groff.cc (main): Add BIN_PATH to PATH instead of
replacing it -- we don't find gxditview otherwise.
* NEWS, src/roff/groff/groff.man, doc/groff.texinfo: Updated.
@
text
@d52 7
a58 1
grops
@


1.33
log
@For security reasons, don't use the current directory but the home
directory while searching and scanning troffrc and troffrc-end.
Similarly, replace the current directory with the home directory
in the font path.

* Makefile.in (fontpath, tmacpath): Remove current directory.

* src/libs/libgroff/searchpath.cc (search_path::search_path): Add
two parameters `add_home' and `add_current'.
(search_path::~search_path, search_path::command_line_dir,
search_path::open_file): Remove tests for `dirs' being zero.
* src/include/searchpath.h: Adjust.
* src/libs/libgroff/macropath.cc, src/include/macropath.h: Add
`safer_macro_path'.
* src/libs/libgroff/fontfile.cc: Adjust `font_path'.

* src/roff/troff/troff.h: Add `searchpath.h' and `mac_path'.
* src/roff/troff/input.cc: Use `mac_path', initialized with
`macro_path'.
(process_startup_file): Set `mac_path' to `safer_macro_path'.
* src/roff/troff/env.cc: Use `mac_path'.

* src/preproc/eqn/main.cc (main): Use `safer_macro_path'.

* NEWS, man/roff.man, src/roff/troff/troff.man,
src/rof/groff/groff.man, tmac/groff_tmac.man, arch/djgpp/README:
Updated.


* src/include/lib.h: Don't include groff-getopt.h for OSF/1.

* aclocal.m4 (GROFF_SYS_ERRLIST): Do test in C, not in C++.
* configure.in: Fix typo in comment.
* configure: Regenerated.

* src/libgroff/*, src/include/*, src/roff/troff/*: Fixing copyright
dates.
@
text
@d14 5
a18 3
groff is calling (preprocessors, troff, and output devices).  If not set,
it defaults to the directory where the groff binary is located.  Previously,
it was PATH.  This is also true for the nroff script.
@


1.32
log
@Add system tmac directory (/usr/local/lib/groff/site-tmac).

* Makefile.in: Add $(libdir), $(libprogramdir), and $(systemtmacdir).
(uninstall_dirs): Add $(libdir), $(libprogramdir), and
$(systemtmacdir).
Use @@libdir@@.
* Makefile.comm (.man.n): Add @@SYSTEMMACRODIR@@.
* tmac/Makefile.sub (install_data): Create
$(systemtmacdir) and $(localtmacdir).
(uninstall_sub): Use $(systemtmacdir) for wrapper macros.
* man/roff.man, src/roff/troff/troff.man, src/roff/groff/groff.man,
NEWS, doc/groff.texinfo: Updated and minor fixes.

* Makefile.comm, Makefile.in: Added tmac_{s,an}_prefix stuff again.
* tmac/Makefile.sub: Added `wrap' stuff again, but installing into
$(systemtmacdir) since the wrapper files are platform-dependent.


* doc/groff.texinfo: Fix typo.
@
text
@d61 12
a72 4
  . The tmac.safer file has been replaced with a built-in solution;
    .open, .opena, .pso, .sy, and .pi are completely disabled in
    safer mode (which is the default); to enable these requests the `-U'
    command line flag must be used.
@


1.31
log
@Convert macros `tmac.XXX' to `XXX.tmac'.  Special cases:
  tmac.doc.old -> doc-old.tmac
  tmac.an.old  -> an-old.tmac

* tmac/tmac.*: Moved to ...
* tmac/*.tmac: this.
* tmac/man.local: Fix comment.
* tmac/groff_man.man, tmac/groff_markup.man, tmac/groff_mdoc.man,
tmac/groff_me.man, tmac/groff_ms.man, tmac/groff_tmac.man: Updated.
Added some `FILES' sections.  More use of @@...@@ directives.  Other
minor updates.
* arch/djgpp/README, font/devutf8/NOTES: Updated.
* doc/homepage.ms, doc/groff.texinfo: Updated.
* man/groff.man, man/roff.man: Updated.
* src/devices/grodvi/grodvi.man, src/devices/grolbp/grolbp.man,
src/devices/grolj4/grolj4.man, src/devices/grops/grops.man,
src/devices/grotty/grotty.man: Updated.
* src/preproc/pic/pic.man: Updated.
* src/roff/grog/grog.pl, src/roff/grog/grog.sh: Use -mdoc-old
instead of -mdoc.old.
* src/roff/grog/grog.man: Document -mdoc and -mdoc-old.
* src/roff/nroff/nroff.man: Updated.
* NEWS: Updated.

* tmac/fixmacros.sed, tmac/strip.sed: Add explanatory comment.

* tmac/mm.diff: Removed -- it has no use now since the mm package
is part of groff.

* tmac/*: Removed trailing spaces.

* arch/djgpp/t-groff.bat: Fix GROFF_TMAC_PATH (hyphen.us is now in
the tmac subdirectory also).
@
text
@d63 1
a63 1
    safer mode (which is the default); to use these requests the `-U'
d69 3
a71 1
before the standard tmac directory.
@


1.30
log
@Invert current behaviour: Search first FOOBAR.tmac, then
tmac.FOOBAR.

* src/roff/troff/input.cc: Introduce MACRO_POSTFIX.
(open_mac_file, macro_source): Implement it.
* src/roff/troff/troff.man, tmac/groff_tmac.man, man/roff.man,
doc/groff.texinfo, NEWS: Document it.

* src/roff/nroff/nroff.man, src/roff/groff/groff.man, man/groff.man:
Small documentation improvements.

* test-groff: Fix GROFF_TMAC_PATH (hyphen.us is now in the tmac
subdirectory also).

* font/devps/Makefile.sub: Fix rules for dingbats.*map.
@
text
@d10 1
a10 1
troff installed also.  Additionally, some macro files have been renamed
d40 1
a40 1
very special request is needed to make `tmac.trace' independent from the
@


1.29
log
@Add local tmac directory (groff/site-tmac).

* Makefile.in: Add $(localtmacdir).
(uninstall_dirs): Add $(localtmacdir).
* Makefile.comm (.man.n): Add @@LOCALMACRODIR@@.
* tmac/Makefile.sub (install_data, uninstall_sub): Handle man.local
in $(localtmacdir).  Create $(localtmacdir).
* man/roff.man, src/roff/troff/troff.man, NEWS: Updated.
@
text
@d7 5
a11 3
To support platforms with 8+3 filenames, `-mFOO' will now search first for
tmac.FOO and then for FOO.tmac.  Additionally, some macro files have been
renamed using the latter scheme to avoid 8+3 name clashes.
@


1.28
log
@Move hyphen.us to tmac directory.

* src/roff/troff/hyphen.us: Removed.
* src/tmac/hyphen.us: Added.
* src/roff/troff/Makefile.sub, tmac/Makefile.sub: Updated.

Change installation structure for data files from .../groff/... to
.../groff/<version><revision>/... to be conform with other GNU
programs.

* Makefile.in, Makefile.comm, src/utils/indxbib/Makefile.sub,
doc/Makefile, src/xditview/Imakefile.in: Implement it.
* NEWS: Document it.

* NEWS, src/roff/nroff/nroff.man, src/roff/groff/groff.man,
@
text
@d65 3
a67 1
by default, following the GNU standard.
@


1.27
log
@Replace tmac.safer with a real secure solution.

* src/roff/troff/input.cc (open_request, opena_request, pipe_source,
system_request, pipe_output): Disable requests if in safer mode.
* src/roff/groff/groff.cc (main): Remove reference to tmac.safer.
* tmac/tmac.safer, tmac/groff_msafer.man: Removed.
* tmac/Makefile.sub, NEWS, man/roff.man, tmac/groff_tmac.man,
doc/groff.texinfo, src/roff/groff/groff.man,
src/roff/troff/troff.man, arch/djgpp/README: Updated.
@
text
@d11 5
d63 3
@


1.26
log
@Adding a new escape sequence B'...': If the string between
the delimiters is a valid numeric expression, return the character
`1', and `0' otherwise.  This is an analogon to A.

* src/roff/troff/input.cc (do_expr_test): Implement it.
(token::next): Use it.
* src/roff/troff/troff.man, NEWS, man/groff.man: Document it.

* tmac/tmac.trace: Made independent from escape character.


Adding a new request .dei: define indirect.  The first and second
parameter of .dei are taken from string registers instead directly;
this very special request is needed to make tmac.trace independent
from the escape character (which might even be disabled).

* src/roff/troff/input.cc (do_define_macro): Implement it.
(define_macro_indirect): New function.
(init_input_requests): Use it.

Adding two requests .ecs and .ecr: Save and restore the escape
character.  These two requests are needed to make tmac.trace
independent from the escape character (which might even be
disabled).

* src/roff/troff/input.cc (save_escape_char, restore_escape_char):
Implement it.
(init_input_requests): Use it.

* src/roff/troff/troff.man, NEWS, man/groff.man: Updated.
@
text
@d49 10
@


1.25
log
@Adding a new option -P and new environment variable GROPS_PROLOGUE
to grops, selecting a different prologue file (minor modifications
by WL).

* src/devices/grops/psrm.cc (resource_manager::output_prolog),
src/devices/grops/ps.cc (main): Implement it.
* src/devices/grops/grops.man, NEWS: Document it.

* INSTALL: Add info about selecting paper format.
@
text
@d31 12
@


1.24
log
@Implementing two new requests .tm1 and .tmc: The former is similar
to .tm but can output leading spaces; its syntax is similar to
defining a string, i.e., a `"' can be used to mark the beginning of
the string to be written to stderr: `.tm1 " test'.  The latter is
similar to .tm1 but doesn't write out a final newline character.

* src/roff/troff/input.cc (terminal1, terminal_continue,
do_terminal): New functions.
(init_input_requests): Use them.
* src/roff/troff/troff.man, NEWS, man/groff.man: Updated.


* tmac/groff_mdoc.samples.man: Small fixes.


* tmac/groff_mdoc.man: Fixing typo.
@
text
@d31 6
@


1.23
log
@Implementing a .nop request which does nothing.

* src/roff/troff/input.cc (nop_request): New function.
(init_input_requests): Use it.
* src/roff/troff/troff.man, NEWS, man/groff.man: Updated.


* doc/groff.texinfo: Added some comments.
@
text
@d15 1
a15 1
`if 1'.  Now,
d26 4
@


1.22
log
@* NEWS, doc/groff.texinfo, tmac/groff_tmac.man, man/roff.man,
src/roff/troff/troff.man: Document Eli's latest changes.


* src/roff/troff/input.cc (open_mac_file, macro_source): Support
macro file names of the form NAME.tmac as well as tmac.NAME.
@
text
@d11 16
@


1.21
log
@Preparing release 1.16.1.

* REVISION: Revision number set to 1.
* MORE.STUFF: Added info about port to DOS.
* NEWS: Updated.
@
text
@d4 7
@


1.20
log
@Adding font CWI (constant width italic) to devdvi.

* font/devdvi/CWI: New file.
* font/devdvi/generate/Makefile: Add generating rule.
* font/devdvi/DESC.in, font/devdvi/Makefile.sub, win32-diffs,
tmac/tmac.dvi: Use it.
* NEWS: Announce it.

* font/devlj4/*: Regenerated (only adding kernings for `cq' glyph).
* font/devlj4/generate/Makefile: Cosmetic changes only.

* man/groff.man: Removed most of the redundant description of
special characters (which is in groff_char.man).  Added font
translation CB->CR for devdvi.  Other minor fixes.

* tmac/tmac.dvi: Improved appearance of (co (copyright) and (rg
(registered) symbols.
@
text
@d4 5
@


1.19
log
@* tmac/tmac.an: Added a new command line option `-rSxx' (`xx' can be
10, 11, or 12) to support output with 11pt and 12pt base font sizes.
`.SS' now produces a heading with a smaller size than `.SH'.
Completely formatted.
* doc/groff.texinfo, tmac/groff_man.man, NEWS: Document it.

* man/groff.man: Improved table appearance.  Use of `eo' request
to reduce number of doubled backslashes in macro definitions.
Replacing `e' with `(rs'.  Other minor fixes.

* src/preproc/tbl/main.cc: Insert HTML table end tag before `lf'
to have correct line number.

* INSTALL: Small improvement.


* man/roff.man, tmac/groff_tmac.man: Updates (with corrections by
WL).
@
text
@d123 3
@


1.18
log
@Adding `cq' (PS name `quoteright') glyph name as an alias for "'".

* font/*/*: Implement it.
* man/groff_char.man, NEWS: Document it.

* src/include/unix.h: Removed.  It isn't used.

* doc/groff.texinfo: Slight improvements.


* README, win32-diffs: Small fixes and improvements.
@
text
@d26 4
d164 1
a164 1
More information about programs, macros, documentation, etc. which is
@


1.17
log
@Added win32 port contributed by Blake McBride
<blake@@florida-software.com>.

* README.WIN32, win32-diffs: New files.
* NEWS: Updated.

* src/preproc/grn/hgraph.cc (HGSetBrush): Replace `%lf' with `%f'.
(tmove, tmove2): Added parentheses to avoid compiler warnings.
(change): Removed unused variables.

* src/preproc/grn/main.cc (main, conv): Removed unused variables.
(savebounds): Changed return value from `int' to `void'.
* src/preproc/grn/hdb.cc: Ditto.

* src/devices/grolbp/lbp.cc (lbp_printer::draw): Removed superfluous
final backslash in comment to avoid compiler warning.

* src/utils/pfbtops/pfbtops.c: Added `getopt.h'.

* doc/groff.texinfo: More fixes.


* tmac/tmac.doc: Documentation fix.
@
text
@d71 3
@


1.16
log
@* font/devdvi/DESC.in: Change size 11pt to 10.95pt (as used in
LaTeX 2e).
* NEWS: Document it.

* man/troff.man: Minor optical improvements.

* font/*/*: Implement it.
@
text
@d10 2
a11 2
The anachronism of calling the man package with `-man' has been fixed; now
you can say `-m man' also.  The same is true for `ms', `me', `markup',
a13 24
Some additions to the font description files have been implemented for
better support of HTML output:

  The new format of lines in the `charset' subsection of font description
  files is

     name metrics type code [entity_name] [-- comment]

  Currently, only the font description files in devhtml use the optional
  entity_name string to define glyph entities in HTML.  Everything after the
  entity_name field is ignored; in case this field isn't used, two hyphen
  characters are now necessary to start a comment.

  Two new requests are available in DESC files (currently used only with
  grohtml):

    use_charnames_in_special
      This  command  indicates  that  troff should encode named characters
      inside special commands.

    pass_filenames
      requests that troff tells  the  driver  the  source file name being
      processed.  This is achieved by another tcommand: `F filename'.

d65 1
a65 1
name `ps' and is no longer intermixed with the symbol character `md' (PS
d71 24
d149 10
@


1.15
log
@Adding `dq' (PS name `quotedbl') glyph name as an alias for `"'.

* fonts/*/*: Implement it.
* man/groff_char.man, NEWS: Document it.
@
text
@d111 5
@


1.14
log
@* tmac/groff_tmac.man, man/groff.man, man/roff.man: Fixing @@MANxEXT@@
expansion.
* NEWS: Document the three new man pages.

* aclocal.m4 (GROFF_CXX_CHECK): Removing obsolete AC_C_CROSS call.
* configure: Updated.

* font/devcp1047/R.proto: Fixing fatal bug (a missing `"' character).
@
text
@d92 3
d142 2
a143 2
are accessed and where they are found), groff.7 (a short reference of groff),
and roff.7 (a general survey on GNU troff).
@


1.13
log
@Added grap support to grog.

* src/roff/grog/grog.sh, src/roff/grog/grog.pl: Implement it.
* src/roff/grog/grog.man: Document it.

* doc/groff.texinfo, NEWS: Add info about grap support.

Add new man pages comptributed by Bernd Warken <bwarken@@mayn.de>
(with slight fixes by me).

* tmac/groff_tmac.man: New file documenting tmac mechanism.
* tmac/Makefile.sub: Add groff_tmac.man.
* man/roff.man: New file giving overview of roff system.
* man/troff.man: A short reference of troff.
* man/Makefile.sub: Add roff.man and troff.man.


Added grap support to groff.

* src/roff/groff/groff.cc: Implement it.
* src/roff/groff/groff.man: Document it.
@
text
@d135 7
@


1.12
log
@* src/devices/grotty/grotty.man: Add cp1047 device.
* src/preproc/eqn/eqn.man, src/preproc/eqn/neqn.sh, tmac/eqnrc:
Ditto.
* src/roff/groff/groff.man: Ditto.
* src/roff/nroff/nroff.sh, src/roff/nroff/nroff.man: Ditto.
* doc/groff.texinfo: Ditto.

* tmac/troffrc: Fix mapping of latin-1 char 160 (non-breakable space)
for cp1047.


* man/groff_char.man: Add `pc' glyph.
* tmac/tmac.latin1: Replacing `md' glyph with `pc'.
* tmac/tmac.tty: Add `pc' glyph.
* tmac/tmac.tty-char: Use/add `pc' glyph.  Don't call tmac.latin1 if
we use cp1047 output device.

* Makefile.in, aclocal.m4: Don't build utf8 on EBCDIC hosts since
there are still hardcoded latin1->unicode values in utf8's font
definition files.
* configure: Updated.
* NEWS: Minor clarification.  Updated.

* PROBLEMS: Formatted.  Added info about C++ fix pack for OS/390
Unix.
@
text
@d40 2
@


1.11
log
@Adding EBCDIC code page 1047.

* fonts/devcp1047/R.proto, fonts/devcp1047/Makefile.sub,
fonts/devcp1047/DESC.proto: New files.

* aclocal.m4 (GROFF_EBCDIC): Introduce TTYDEVDIRS which can be
either ascii/latin1 or cp1047.
* Makefile.in: Use it.
* configure: Updated.

Replacing and/or adding `md' (mathdot) glyph with `pc'
(periodcentered) in all text fonts.

* fonts/*/*: Change it.


* aclocal.m4 (GROFF_OS390): Fixing compiler flags.

* configure.in: Add check for strings.h.
* src/include/driver.h: Use HAVE_STRINGS_H.
* src/devices/grolbp/lpb.cc: Remove string.h.

* src/include/groff-getopt.h: New file.  It will be used instead of
getopt.h (to be included in lib.h) to avoid endless problems with
picky C++ compilers.
* src/include/lib.h: Use groff-getopt.h.
* src/include/Makefile.sub: Updated.

* configure: Updated.
* Makefile.in: Updated.

* NEWS: Mention EBCDIC support.


* TODO: Some additions.


* src/roff/troff/troff.man, doc/groff.texinfo: Fixing documentation
of mso request.


* src/roff/troff/troff.man: Minor fixes.
@
text
@d41 3
a43 2
1047 is available with -Tcp1047 instead of -Tascii and -Tlatin1.  Note that
other devices are not yet supported.
d85 4
@


1.10
log
@* src/roff/troff/troff.man, doc/groff.texinfo, NEWS: Document the
`.T' string register and the incompatible definition of the `.T'
number register (compared to Unix troff).

* man/groff_char.man: Add some missing characters.
* font/devutf8/NOTES: Update.


* src/include/htmlindicate.h, src/include/lib.h,
src/include/posix.h: Fix copyright.

* src/include/Makefile.sub: Update.


* src/roff/troff/input.cc (input_char_description): Removing
superfluous space char.

* tmac/tmac.X: Fix typo (bq -> (Bq.

* doc/groff.texinfo: Document EBCDIC.


Introducing `shc' as the glyph name for the soft hyphen character.

* tmac/tmac.tty, tmac/tmac.latin1, tmac/tmac.html,
font/devlatin1/R.proto: Use it.

* NEWS: Updated.


* src/devices/grops/ps.cc (ps_printer::flush_sbuf): Removing
dependency on ASCII order.
@
text
@d40 4
@


1.9
log
@* doc/Makefile (clean): Include more index files.
Add rule texinfo->dvi.


* doc/groff.texinfo: Added new index `op' for operators.  More
info on end of sentence characters.  More use of @@Deffn.


* */*.man: Adding a note that a whitespace can be inserted between
a command line option and its parameter -- we are using GNU getopt.

* src/roff/groff/groff.man: Add example of `-m mandoc'.


Correct anachronism of calling the man macro file with `-man'
instead of `-m man' etc.

* tmac/tmac.man, tmac/tmac.mandoc, tmac/tmac.markup, tmac/tmac.mdoc,
tmac/tmac.me, tmac/tmac.ms: New files tmac.m<package> which simply
load tmac.<package>.

* tmac/Makefile.sub: Updated.  Take care of $(tmac_an_prefix) etc.

* NEWS: Updated.

* doc/groff.texinfo: Updated.

* tmac/groff_man.man: Copyright added.

(I've basically taken groff_man.man).  Introducing new indices `ma'
@
text
@d66 3
d78 2
@


1.8
log
@* tmac/groff_man.man: Completely revised to cover everything in
tmac.an.


Adding a request `evc' to copy environments.

* src/roff/troff/env.cc (environment::copy, environment_copy):
Implement it.
* src/roff/troff/env.h: Add prototype.


Adding strsep() -- Solaris 8 doesn't have it.

* configure.in: Test it.
* src/devices/grolbp/lbp.cc: Add code.


* NEWS, PROJECTS: Updated.
@
text
@d10 4
@


1.7
log
@* Makefile.in: Fixing $(subdir).

* README, NEWS: Small fixes.

* test-groff: Adding path to grolbp.

* configure.in: The (new) file src/xditview/Imakefile.in will be
also configured -- it is now possible to build gxditview in a
directory different from $srcdir.
@
text
@d109 6
@


1.6
log
@* NEWS: Updated.
@
text
@d19 3
a21 3
  entity_name string to define the glyph entities in HTML.  Everything
  after the entity_name field is ignored; in case this field isn't used,
  two hyphen characters are now necessary to start a comment.
d84 3
a86 3
.URL, .FTP, and .MAILTO now accept an optional third argument which will
be immediately appended to the second argument (to be used with punctuation,
for example).
d106 1
a106 1
Added the `srand' command to set the seed for a new sequence of the
@


1.5
log
@*** empty log message ***
@
text
@d88 7
@


1.4
log
@* doc/meref.me: Fix description of .GS request.

* src/roff/troff/troff.man: Fixing typo.

Adding the `grn' preprocessor for gremlin graphic files.

* src/preproc/grn/*: This is the Berkeley distribution written by
David Slattengren and Barry Roitblat, adapted to groff by Daniel
Senderowicz and Werner Lemberg.

* doc/grnexampl.{me,g}: A sample for grn.

* src/roff/groff/groff.cc: Added support for grn.  It can be now
called with the switch `-g'.

* src/roff/groff/groff.man: Updated.

* src/roff/grog/grog.{man,pl,sh}: Updated.

* NEWS: Updated.
@
text
@d34 2
@


1.3
log
@A new request `length' is available which returns the length of a
string in a number register:

* src/roff/troff/input.cc (length_macro): Implement it.
* src/roff/troff/input.cc (init_input_requests): Register it.


* src/roff/troff/troff.man, doc/groff.texinfo: Document `length'
request.
@
text
@d86 8
@


1.2
log
@* doc/groff.texinfo, src/roff/troff/troff.man: Add documentation
of the `substring' request.
* src/roff/troff/TODO, NEWS: Updated.
@
text
@d60 3
@


1.1
log
@Initial revision
@
text
@d44 2
a45 2
A new number predefined writable number register, `year', has been added.
It contains the current year.
d56 3
a58 1
Previously, the text after \fP has appeared as bold.
@


1.1.1.1
log
@groff pre-1.16 with new directory structure
@
text
@@
