mirror of
https://gitlab.freedesktop.org/xorg/lib/libx11.git
synced 2026-05-07 05:08:03 +02:00
read-only mirror of https://gitlab.freedesktop.org/xorg/lib/libx11
Many of the custom nroff macros (.ds <macro> <contents>) were left
unsubstituted in the nroff->docbook conversion. This substitution
is now performed, via the following perl script:
#! /usr/bin/perl -w -i
use Text::Wrap;
while ($_ = <>) {
while ($_ =~ m/\((\w+)\b/g) {
my $m = $1;
if (exists $macro{$m}) {
$_ =~ s/\($m/$macro{$m}/;
$_ = wrap('', '', $_);
$_ =~ s/[ \t]+$//;
}
}
if ($_ =~ /\<!-- .ds (\w+) (.*) -->/) {
my ($m, $s) = ($1, $2);
$macro{$m} = $s;
while ($macro{$m} =~ /\\\s*$/) {
$macro{$m} =~ s/\\\s*$//ms;
$macro{$m} .= <>;
chomp($macro{$m});
}
$macro{$m} =~ s/\\ / /g;
} else {
print $_;
}
}
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||
|---|---|---|
| include | ||
| m4 | ||
| man | ||
| modules | ||
| nls | ||
| specs | ||
| src | ||
| .gitignore | ||
| AUTHORS | ||
| autogen.sh | ||
| configure.ac | ||
| COPYING | ||
| cpprules.in | ||
| docbook.am | ||
| Makefile.am | ||
| NEWS | ||
| README | ||
| x11-xcb.pc.in | ||
| x11.pc.in | ||
libX11 - Core X11 protocol client library
Documentation for this library can be found in the included man pages,
and in the Xlib spec from the specs subdirectory, also available at:
http://www.x.org/releases/current/doc/libX11/libX11/libX11.html
http://www.x.org/releases/current/doc/libX11/libX11/libX11.pdf
and the O'Reilly Xlib books, which they have made freely available online,
though only for older versions of X11:
- X Series Volume 2: Xlib Reference Manual (1989, covers X11R3)
http://www.archive.org/details/xlibretmanver1102nyemiss
- X Series Volume 2: Xlib Reference Manual, 2nd Edition (1990, covers X11R4)
http://www.archive.org/details/xlibrefmanv115ed02nyemiss
All questions regarding this software should be directed at the
Xorg mailing list:
http://lists.freedesktop.org/mailman/listinfo/xorg
Please submit bug reports to the Xorg bugzilla:
https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
The master development code repository can be found at:
git://anongit.freedesktop.org/git/xorg/lib/libX11
http://cgit.freedesktop.org/xorg/lib/libX11
For patch submission instructions, see:
http://www.x.org/wiki/Development/Documentation/SubmittingPatches
For more information on the git code manager, see:
http://wiki.x.org/wiki/GitPage