Commit graph

12 commits

Author SHA1 Message Date
Eric S. Raymond
b686600ab5 The .NT/.NE macro pair is no longer used. Remove it.
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
2012-08-23 10:53:33 -04:00
Eric S. Raymond
e9509fa674 The .C{ and .C} macros are never used. Remove them.
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
2012-08-23 10:23:45 -04:00
Eric S. Raymond
6b2f7ddeea The .FN macro, paired with .FD, is also never used. Remove it.
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
2012-08-23 10:08:08 -04:00
Eric S. Raymond
cac6572701 The ".FD" macro is never used. Remove it.
It was a temptation to presentation-level klugery and is best gone.

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
2012-08-23 10:03:00 -04:00
Eric S. Raymond
a7fb575957 Eliminate all uses of tab stops in the libX11 man pages.
Two steps: First, expand tabs to 8 spaces in code and structure
listings.  Second, make the .Ds used to wrap code listings switch to
constant-width font (CW) rather than numeric font position 1, which
maps to R on most systems.

It is possible some archaic systems won't know what CW is, but the
only risk is that code listings won't look quite right on troff
devices; the PostScript and DVI drivers definitely grok it, so those
important cases are OK.

The purpose of these changes is to get rid of presentation-level
markup so these pages will lift clean to DocBook.

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
2012-08-23 08:24:17 -04:00
Alan Coopersmith
ddb1786720 Purge CVS/RCS id tags
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2010-01-14 17:38:26 -08:00
Julien Cristau
ee723b83b2 man: use __libmansuffix__ instead of 3X11 for references to other pages 2009-08-05 16:48:32 +02:00
Alan Coopersmith
4b91ed0995 X.Org Bug #4312: incorrect comment asterisk in XAnyEvent.3x man page
X.Org Bugzilla #4312 <http://bugs.freedesktop.org/show_bug.cgi?id=4312>

Protect /* sequences from cpp pre-processor removal without transforming
to Unicode mathematical asterisk character
2007-11-21 16:50:04 -08:00
Ross Combs
f637a5b031 Debian bug #354315: Clarify return value in XGetWindowAttributes man page
This man page does not discuss the actual return values of the
function, but says they are of type "Status".  One might assume
that this means you could compare it with the "Success" macro.
One would be wrong.

The X functions seem to have two three types representing status.
If it is an "int" there are a number of error codes or "Success"
which can be compared against.  If it is a bool, the result can be
compared with "True" or "False".  If the return type is "Status" it
appears that the return type is either 0 or 1.  Unfortunately the
value for Success is zero, so it is important to distinguish
between the first two types of return values and the third;
otherwise the conditional will be inverted.

XGetWindowAttributes() is one of the functions which returns zero
for failure.  The man page should make this clear.
2006-11-25 14:54:06 -08:00
David Nusinow
e17c2cbe9f Dynamically generate internal manpage section using __libmanpagesuffix__ so that it actually matches the section if you don't use 3X11 2006-10-10 22:11:05 -04:00
Egbert Eich
c6349f4319 Merging XORG-CURRENT into trunk 2004-04-23 18:42:09 +00:00
Kaleb Keithley
deae12c6b6 R6.6 is the Xorg base-line 2003-11-14 15:54:30 +00:00