Mail Archives: djgpp-workers/1998/11/03/00:41:06
This is a multi-part message in MIME format.
--------------1BF8965BCE1C88457F7B2495
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Eli Zaretskii wrote:
>
> Can we maybe get this a little more plausible? Right now, we have it
> like this:
>
> Portability
> -----------
>
> not ANSI, not POSIX
>
> And that's it--not even a period at the end of the line. Also, it would
> be nice to have the first letter be in caps, like God intended...
>
> Please??
I've done one better, and actually implemented the @multitable format.
I was too lazy to do the column width prototypes, so the columns are
fixed width, but it looks a lot nicer. Patch attached.
So now we see:
Portability
-----------
ANSI Not
supported
POSIX
Supported
It probably comes out as something real pretty in TeX, too.
Now all that needs to happen is for people to write useful info on
specific functions to specific platforms :-o. Eli's list of some time
ago should be a good starting place.
--
Nate Eldredge
nate AT cartsys DOT com
--------------1BF8965BCE1C88457F7B2495
Content-Type: text/plain; charset=us-ascii; name="mkdoc.dif"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="mkdoc.dif"
*** src/mkdoc/mkdoc.old Mon Nov 2 21:28:02 1998
--- src/mkdoc/mkdoc.cc Mon Nov 2 21:24:14 1998
***************
*** 236,255 ****
char buffer[1024] = { 0 };
int note_number = 1;
for (int i = 0; i < NUM_PORT_TARGETS; i++)
{
switch (port_info[i])
{
case PORT_NO:
! strcat (buffer, "not ");
! strcat (buffer, port_target_string[i]);
break;
case PORT_YES:
! strcat (buffer, port_target_string[i]);
break;
case PORT_PARTIAL:
! strcat (buffer, "partially ");
! strcat (buffer, port_target_string[i]);
break;
}
if (port_info[i] != PORT_UNKNOWN)
--- 236,260 ----
char buffer[1024] = { 0 };
int note_number = 1;
+ add ("@multitable @columnfractions .2 .8\n");
for (int i = 0; i < NUM_PORT_TARGETS; i++)
{
+ strcpy (buffer, "@item ");
+ strcat (buffer, port_target_string[i]);
+ strcat (buffer, " @tab ");
switch (port_info[i])
{
case PORT_NO:
! strcat (buffer, "Not supported");
break;
case PORT_YES:
! strcat (buffer, "Supported");
break;
case PORT_PARTIAL:
! strcat (buffer, "Partially supported");
! break;
! case PORT_UNKNOWN:
! strcat (buffer, "Unknown");
break;
}
if (port_info[i] != PORT_UNKNOWN)
***************
*** 265,285 ****
break;
}
}
- strcat (buffer, ", ");
}
}
! {
! char *ch = strchr (buffer, 0) - 2;
! if (*ch == ',')
! *ch = 0;
! else
! strcpy (buffer, "Unknown.");
! }
!
! strcat (buffer, "\n\n");
! add(buffer);
!
if (note_number > 1)
{
add("@noindent\n");
--- 270,281 ----
break;
}
}
}
+ strcat (buffer, "\n");
+ add (buffer);
}
! add ("@end multitable\n");
if (note_number > 1)
{
add("@noindent\n");
--------------1BF8965BCE1C88457F7B2495--
- Raw text -