Date: Wed, 22 Sep 2004 09:48:14 +0100 From: Ceri Davies <ceri@FreeBSD.org> To: Dmitry Morozovsky <marck@FreeBSD.org> Cc: freebsd-doc@FreeBSD.org Subject: Re: authorgroup description in articles Message-ID: <20040922084814.GU2493@submonkey.net> In-Reply-To: <20040922100938.Y92969@woozle.rinet.ru> References: <20040922100938.Y92969@woozle.rinet.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
--TPGKQYD3WP7vMswh Content-Type: multipart/mixed; boundary="GMArzDD+OGn24EFp" Content-Disposition: inline --GMArzDD+OGn24EFp Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment Content-Transfer-Encoding: quoted-printable On Wed, Sep 22, 2004 at 10:11:11AM +0400, Dmitry Morozovsky wrote: > Dear colleagues, >=20 > in freebsd.dsl we have the following comment >=20 > <!-- We would like the author attributions to show up in line > with the section they refer to. Authors who made the same > contribution should be listed in a single <authorgroup> and > only one of the <author> elements should contain a <contrib> > element that describes what the whole authorgroup was > responsible for. For example: >=20 > <chapterinfo> > <authorgroup> > <author> > <firstname>Bob</firstname> > <surname>Jones</surname> > <contrib>Contributed by </contrib> > </author> > <author> > <firstname>Sarah</firstname> > <surname>Lee</surname> > </author> > </authorgroup> > </chapterinfo> >=20 > Would show up as "Contributed by Bob Jones and Sarah Lee". Ea= ch > authorgroup shows up as a separate sentence. --> >=20 > and such construction works in book chapters ok. However, when I try to u= se it > inside article's articleinfo, it is not rendering correctly (AFAICC). Naive, untested, patch attached. Please try that out. Ceri --=20 It is not tinfoil, it is my new skin. I am a robot. --GMArzDD+OGn24EFp Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="f.dsl.diff" Content-Transfer-Encoding: quoted-printable Index: freebsd.dsl =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/doc/share/sgml/freebsd.dsl,v retrieving revision 1.82 diff -u -r1.82 freebsd.dsl --- freebsd.dsl 30 Aug 2004 09:19:35 -0000 1.82 +++ freebsd.dsl 22 Sep 2004 08:45:55 -0000 @@ -837,6 +837,8 @@ authorgroup shows up as a separate sentence. --> =20 =20 + (element articleinfo=20 + (process-children)) (element chapterinfo=20 (process-children)) (element sect1info=20 @@ -849,6 +851,8 @@ (process-children)) (element sect5info=20 (process-children)) + (element (articleinfo authorgroup author) + (literal (author-list-string))) (element (chapterinfo authorgroup author) (literal (author-list-string))) (element (sect1info authorgroup author) @@ -870,6 +874,8 @@ (process-children) (literal ". ")))) =20 + (element (articleinfo authorgroup) + (custom-authorgroup)) (element (chapterinfo authorgroup) (custom-authorgroup)) (element (sect1info authorgroup) --GMArzDD+OGn24EFp-- --TPGKQYD3WP7vMswh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBUTxOocfcwTS3JF8RAqrTAJ9PL7ECxW9BeF0SidSauhRzeEtUxQCgxYaM eFC937myF0VVEKzHnRdGNtQ= =ceWr -----END PGP SIGNATURE----- --TPGKQYD3WP7vMswh--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040922084814.GU2493>