From owner-freebsd-doc@FreeBSD.ORG Thu May 22 05:53:56 2003 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7E34437B401; Thu, 22 May 2003 05:53:56 -0700 (PDT) Received: from camel.jerocu.net (camel.jerocu.net [213.129.160.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE82143F3F; Thu, 22 May 2003 05:53:54 -0700 (PDT) (envelope-from jesusr@endercom.com) Received: from localhost (localhost [127.0.0.1]) by camel.jerocu.net (8.12.9/8.12.9) with ESMTP id h4MCrXrl016448; Thu, 22 May 2003 14:53:34 +0200 (CEST) (envelope-from jesusr@endercom.com) Date: Thu, 22 May 2003 14:53:33 +0200 (CEST) From: Jesus Rodriguez X-X-Sender: jesusr@camel To: Giorgos Keramidas In-Reply-To: <20030521214108.GA8632@gothmog.gr> Message-ID: <20030522144836.G16403@camel> References: <20030521165628.39bdfaf5.trhodes@FreeBSD.org> <20030521214108.GA8632@gothmog.gr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Tom Rhodes cc: FreeBSD-doc@FreeBSD.org cc: hrs@eos.ocn.ne.jp Subject: Re: Error in Spanish translation files. X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 12:53:56 -0000 On Thu, 22 May 2003, Giorgos Keramidas wrote: > On 2003-05-21 16:56, Tom Rhodes wrote: > > While testing Simon's recently submitted doc patch, I obtained this > > error. Could a Spanish translator (jesusr) look into this please? > > > > Note: This is a full build, not a make lint. > > > > /bin/cat /usr/home/trhodes/work/doc/es_ES.ISO8859-1/books/faq/../../../share/misc/docbook.css > docbook.css > > /usr/local/bin/jade -V html-manifest -ioutput.html -d /usr/home/trhodes/work/doc/es_ES.ISO8859-1/books/faq/../../../share/sgml/default.dsl -V %generate-legalnotice-link% -V %generate-docformat-navi-link% -ioutput.html.images -D /usr/obj/usr/home/trhodes/work/doc/es_ES.ISO8859-1/books/faq -c /usr/home/trhodes/work/doc/es_ES.ISO8859-1/books/faq/../../../es_ES.ISO8859-1/share/sgml/catalog -c /usr/home/trhodes/work/doc/es_ES.ISO8859-1/books/faq/../../../share/sgml/catalog -c /usr/local/share/sgml/docbook/dsssl/modular/catalog -c /usr/local/share/sgml/iso8879/catalog -c /usr/local/share/sgml/docbook/catalog -c /usr/local/share/sgml/jade/catalog -t sgml /usr/home/trhodes/work/doc/es_ES.ISO8859-1/books/faq/book.sgml > > /usr/local/bin/jade:/usr/home/trhodes/work/doc/es_ES.ISO8859-1/books/faq/../../../share/sgml/freebsd.dsl:190:31:E: missing argument for function call > > /usr/local/bin/tidy -i -m -raw -preserve -f /dev/null -asxml $(/usr/bin/xargs < HTML.manifest) > > The DSSSL function that generates the manpage links has changed in the > English docs. It now takes an *optional* argument, instead of a > mandatory argument. The following diff synchronizes the Spanish version > of freebsd.dsl with the current state of the English one... and fixes > the build, of course. > > Can you, Tom, or Jesus take care of this? There is some conflict or incompatibility between this patch and the pending commit from Hiroki?. > --- patch starts here --- > Index: es_ES.ISO8859-1/share/sgml/freebsd.dsl > =================================================================== > RCS file: /home/ncvs/doc/es_ES.ISO8859-1/share/sgml/freebsd.dsl,v > retrieving revision 1.8 > diff -u -r1.8 freebsd.dsl > --- es_ES.ISO8859-1/share/sgml/freebsd.dsl 3 Nov 2002 12:48:18 -0000 1.8 > +++ es_ES.ISO8859-1/share/sgml/freebsd.dsl 21 May 2003 21:32:40 -0000 > @@ -53,9 +58,19 @@ > (define %refentry-xref-link% #t) > > > - (define ($create-refentry-xref-link$ refentrytitle manvolnum) > - (string-append "http://www.FreeBSD.org/cgi/man.cgi?query=" > - refentrytitle "&" "sektion=" manvolnum)) > + (define ($create-refentry-xref-link$ #!optional (n (current-node))) > + (let* ((r (select-elements (children n) (normalize "refentrytitle"))) > + (m (select-elements (children n) (normalize "manvolnum"))) > + (v (attribute-string (normalize "vendor") n)) > + (u (string-append "http://www.FreeBSD.org/cgi/man.cgi?query=" > + (data r) "&" "sektion=" (data m)))) > + (case v > + (("current") (string-append u "&" "manpath=FreeBSD+5.0-current")) > + (("xfree86") (string-append u "&" "manpath=XFree86+4.3.0")) > + (("netbsd") (string-append u "&" "manpath=NetBSD+1.6.1")) > + (("ports") (string-append u "&" "manpath=FreeBSD+Ports")) > + (else u)))) > + > ]]> > > > --- patch ends here --- > Saludos JesusR. ------------------------------- Jesus Rodriguez Endercom Comunicaciones, S.L. jesusr@endercom.com http://www.endercom.com Tel. +34 934424293 -------------------------------