On Sat, 2011-09-24 at 17:16 -0600, Matt Dew wrote: > Gaetan, can we use xorg-sgml-doctools/defs.ent ?
We do for the "X Version 11, Release 7.6" value. The server version is only known by the server module. I have added a search path to all 22 docbook.am files to find local entities. Any module can add entities that is know only by itself to use in their docs. The xserver already had this search path and used local entities. > > > > > > > On 09/24/2011 03:21 PM, Gaetan Nadon wrote: > > Which is more useful. > > > > Signed-off-by: Gaetan Nadon<[email protected]> > > --- > > doc/Xinput.xml | 7 ++++--- > > 1 files changed, 4 insertions(+), 3 deletions(-) > > > > diff --git a/doc/Xinput.xml b/doc/Xinput.xml > > index 1ae7afe..87c6d7f 100644 > > --- a/doc/Xinput.xml > > +++ b/doc/Xinput.xml > > @@ -1,20 +1,21 @@ > > <?xml version="1.0" encoding="UTF-8" ?> > > <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" > > - > > "http://www.oasis-open.org/docbook/xml/4.3/dGaeocbookx.dtd"> > > - > > + > > "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"[ > > +<!ENTITY % defs SYSTEM "/xserver/doc/xml/xserver.ent"> %defs; > > +]> > > > > <!-- lifted from troff+ms+XMan by doclifter --> > > <book id="porting"> > > > > <bookinfo> > > <title>X11 Input Extension Porting Document</title> > > -<releaseinfo>X Version 11, Release 6.7</releaseinfo> > > <authorgroup> > > <author> > > <firstname>George</firstname><surname>Sachs</surname> > > <affiliation><orgname>Hewlett-Packard</orgname></affiliation> > > </author> > > </authorgroup> > > +<releaseinfo>X server version&xserver.version;</releaseinfo> > > <corpname>X Consortium Standard</corpname> > > <copyright><year>1989</year><holder>Hewlett-Packard > > Company</holder></copyright> > > <copyright><year>1990</year><holder>Hewlett-Packard > > Company</holder></copyright> >
signature.asc
Description: This is a digitally signed message part
_______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
