From owner-freebsd-doc Mon Apr 2 15:13:41 2001 Delivered-To: freebsd-doc@freebsd.org Received: from nothing-going-on.demon.co.uk (pc-62-31-42-141-hy.blueyonder.co.uk [62.31.42.141]) by hub.freebsd.org (Postfix) with ESMTP id 6490537B719; Mon, 2 Apr 2001 15:13:37 -0700 (PDT) (envelope-from nik@nothing-going-on.demon.co.uk) Received: (from nik@localhost) by nothing-going-on.demon.co.uk (8.11.1/8.11.1) id f32M6qC18166; Mon, 2 Apr 2001 23:06:52 +0100 (BST) (envelope-from nik) Date: Mon, 2 Apr 2001 23:06:52 +0100 From: Nik Clayton To: freebsd-doc@freebsd.org, Nik Clayton Subject: Re: cvs commit: doc/de_DE.ISO_8859-1/share/sgml freebsd.dsl Message-ID: <20010402230652.B17348@canyon.nothing-going-on.org> References: <200104011359.f31Dx9p71088@freefall.freebsd.org> <20010402091523.A2771@canyon.nothing-going-on.org> <20010402203854.A46362@nathan.ruhr.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="rQ2U398070+RC21q" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010402203854.A46362@nathan.ruhr.de>; from ue@nathan.ruhr.de on Mon, Apr 02, 2001 at 08:38:54PM +0200 Organization: FreeBSD Project Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --rQ2U398070+RC21q Content-Type: multipart/mixed; boundary="zx4FCpZtqtKETZ7O" Content-Disposition: inline --zx4FCpZtqtKETZ7O Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 02, 2001 at 08:38:54PM +0200, Udo Erdelhoff wrote: > > How did the stylesheet changes break the build? I thought everything > > had tested out OK? >=20 > Well, every build resulted in this message: >=20 > /usr/local/bin/jade:/usr/doc/share/sgml/freebsd.dsl:98:25:E: reference to= \ > undefined variable "$create-refentry-xref-link$" >=20 > It is not a fatal error and I still got something looking like HTML but I > didn't like it. That's why I created a patch, tested it and told Alex to > commit it. Ah, OK. How about the attached, which should quiet things in one fell swoop? It might be better to refactor the handling of citerefentry, so that $create-refentry-xref-link$ is only called if %refentry-xref-link% is true. I'm not sure of the best way to do that yet though. N --=20 FreeBSD: The Power to Serve http://www.freebsd.org/ FreeBSD Documentation Project http://www.freebsd.org/docproj/ --- 15B8 3FFC DDB4 34B0 AA5F 94B7 93A8 0764 2C37 E375 --- --zx4FCpZtqtKETZ7O Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=d 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.26 diff -u -r1.26 freebsd.dsl --- freebsd.dsl 2001/03/24 09:40:24 1.26 +++ freebsd.dsl 2001/04/02 22:03:46 @@ -90,6 +90,10 @@ ;; /REFENTRY #f) =20 + ; Empty function to quiet warnings + (define ($create-refentry-xref-link$ refentrytitle manvolnum) + (literal "")) + (element citerefentry (let* ((refentrytitle (select-elements (children (current-node)) (normalize "refentrytitle= "))) --zx4FCpZtqtKETZ7O-- --rQ2U398070+RC21q Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjrI9/sACgkQk6gHZCw343UklwCcDUUfCbDpyFZLoALIi6k+hIUT paIAn3U1Ohcs+bGE5WtBhnpUjeuGTPbK =NC6R -----END PGP SIGNATURE----- --rQ2U398070+RC21q-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message