From owner-freebsd-doc@FreeBSD.ORG Thu May 22 03:41:18 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 ABD7137B401; Thu, 22 May 2003 03:41:18 -0700 (PDT) Received: from terpsi.otenet.gr (terpsi.otenet.gr [195.170.0.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1445543F85; Thu, 22 May 2003 03:40:49 -0700 (PDT) (envelope-from keramida@FreeBSD.org) Received: from gothmog.gr (patr530-a170.otenet.gr [212.205.215.170]) by terpsi.otenet.gr (8.12.9/8.12.9) with ESMTP id h4MAeVeq011282; Thu, 22 May 2003 13:40:45 +0300 (EEST) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.9/8.12.9) with ESMTP id h4LLf8cr009049; Thu, 22 May 2003 00:41:08 +0300 (EEST) (envelope-from keramida@FreeBSD.org) Received: (from giorgos@localhost) by gothmog.gr (8.12.9/8.12.9/Submit) id h4LLf8tB009048; Thu, 22 May 2003 00:41:08 +0300 (EEST) (envelope-from keramida@FreeBSD.org) Date: Thu, 22 May 2003 00:41:08 +0300 From: Giorgos Keramidas To: Tom Rhodes , Jesus Rodriguez Message-ID: <20030521214108.GA8632@gothmog.gr> References: <20030521165628.39bdfaf5.trhodes@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030521165628.39bdfaf5.trhodes@FreeBSD.org> cc: FreeBSD-doc@FreeBSD.org 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 10:41:19 -0000 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? --- 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 ---