Commit graph

10 commits

Author SHA1 Message Date
Matt Dew
4769a96385 informaltable cleanup
On certain tables, add top and bottom borders to table
header and a bottom border to the table. This matches
what those tables in the old pdfs looked like.

the <?dbfo keep-together='always'> prevents tables from
splitting across pages. Useful for tiny tables.

Converting the colwidth to a floating point,
IE, 1* -> 1.0* cleans up these build errors:
WARNING: table-layout="fixed" and column-width unspecified
=> falling back to proportional-column-width(1)

Signed-off-by: Matt Dew <marcoz@osource.org>
2012-01-15 17:17:24 -07:00
Matt Dew
3d7be5c61b 1 - fix the capitolization of the ID attriutes to match either the
<title> or <funcdef> string it goes with.
    2 - fix any <linkend>'s that were affected by 1.
    3 - any <function> in the docs that has an actual funcdef,
        will become an olink.

    Signed-off-by: Matt Dew <marcoz@osource.org>
2011-10-03 18:26:22 -06:00
Alan Coopersmith
2ef6cb7ced spec: Add more indexterm & glossterm links
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-05-28 17:31:36 -07:00
Alan Coopersmith
19e314d952 Replace ASCII -> arrows with Unicode ▶
Matches formatting used in current extension specs like randr

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-12-04 16:28:52 -08:00
Alan Coopersmith
fa2daaceb0 spec: Make request names in text hyperlinks to request definition sections
Same basic process as previous commit for event names

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-12-04 16:14:53 -08:00
Alan Coopersmith
998f64c6c9 spec: Make event names in text hyperlinks to event definition sections
Started by taking list of event names and generating a list of perl
commands such as:
s{^\<emphasis role='bold'\>KeyPress\</emphasis\>}{<link linkend="events:KeyPress"><emphasis role='bold'>KeyPress</emphasis></link>}g;

and running that with perl -i -p /tmp/e.pl *.xml

Many of those changes were then manually reverted to avoid having
the same link appear multiple times in a paragraph or to avoid having
the definition sections link to themselves.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-12-04 16:14:53 -08:00
Alan Coopersmith
14a0efb08c spec: Fix a bunch of the .RB -> <emphasis> mappings
Cleans up the opening { of enum lists that the closing was handled
by commit 68bf1a7a0c

perl -i -p -e 's{^<emphasis([^>]*)>(\W+?\s+)}{$2<emphasis$1>}g' *.xml

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-12-04 11:45:48 -08:00
Alan Coopersmith
68bf1a7a0c spec: Fix a bunch of the .BR -> <emphasis> mappings
perl -i -p -e 's{ (\W*?)\s*</emphasis>}{</emphasis>$1}g' *.xml

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-12-03 16:02:45 -08:00
Alan Coopersmith
6bc03d2e9f spec: Add cross-reference links in doc ("see ...")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-11-28 23:26:53 -08:00
Matt Dew
c23cc9a4a7 specs: convert protocol .ms from xorg-docs to DocBook XML
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-08-18 10:22:22 -04:00