From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.comp.tex.texinfo.general,gmane.emacs.devel Subject: Re: @dircategory (Re: Translating Emacs manuals is of strategic importance) Date: Sat, 06 Jan 2024 16:04:54 +0200 Message-ID: <83ttnqsgl5.fsf@gnu.org> References: <837cknvkrx.fsf@gnu.org> <83r0iuuacz.fsf@gnu.org> <83a5piu1y3.fsf@gnu.org> <3BA42BAC-B6D2-4531-BDC2-D8037E7038F7@traductaire-libre.org> <83wmsmsjbt.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18638"; mail-complaints-to="usenet@ciao.gmane.io" Cc: stefankangas@gmail.com, vincent.b.1@hotmail.fr, emacs-devel@gnu.org, rms@gnu.org, help-texinfo@gnu.org To: Jean-Christophe Helary Original-X-From: help-texinfo-bounces+gnu-help-texinfo2=m.gmane-mx.org@gnu.org Sat Jan 06 15:06:25 2024 Return-path: Envelope-to: gnu-help-texinfo2@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rM7Jh-0004gk-Gm for gnu-help-texinfo2@m.gmane-mx.org; Sat, 06 Jan 2024 15:06:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rM7JK-0004MJ-IT; Sat, 06 Jan 2024 09:06:02 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rM7JI-0004LS-Qj; Sat, 06 Jan 2024 09:06:01 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rM7JI-00041s-48; Sat, 06 Jan 2024 09:06:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=LeAiNfy0QCfwNeNqkC78wItwL4vBvvNGRaKzA985RnQ=; b=JI4c1vIrqlXT mnke44+BBNIEijHHeEBG7hD3q15K2Jeuz/PNr91Jq1yHif6n/DCpdkBL48kTeNv7H9yZpIvqU1fZY cP5fzlXM0iw1EtT913onRzVL5HoYGyPwOlHR4VaxzLqTOkNx7ijFx0YlSMQ0NAscwR9YIQYcIJ0RR h7Ywupqoo7FuYFLtq+8gUXL/UFSgnCoNK0Jdzr07Axrx5hKMt2ScCAK10NOJ+1jUdvgEMR6CT4uui 8tvwsktNF611/O1Y9XeQaBq7gM+nU8vHCxbBVmh+ZRr7/OJXXM2iF+a9DGRiglLHzbNOmruxmDPiF I3mTGm0y74DifGsTQaSH8g==; In-Reply-To: (message from Jean-Christophe Helary on Sat, 06 Jan 2024 13:49:53 +0000) X-BeenThere: help-texinfo@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the Texinfo documentation system List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-texinfo-bounces+gnu-help-texinfo2=m.gmane-mx.org@gnu.org Original-Sender: help-texinfo-bounces+gnu-help-texinfo2=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.comp.tex.texinfo.general:3377 gmane.emacs.devel:314629 Archived-At: > Date: Sat, 06 Jan 2024 13:49:53 +0000 > From: Jean-Christophe Helary > Cc: stefankangas@gmail.com, vincent.b.1@hotmail.fr, emacs-devel@gnu.org, rms@gnu.org, help-texinfo@gnu.org > > Thinking out loud here, but @node currently requires the node-name > argument and has next/preious/up optional argument. It seems to me that > most of the issues would be fixed by adding a fifth argument that acts > like the cross-references' second argument (online-label). That way, > node-name can stay as it is and act as the pointer but is displayed as > "online-label", which is the translated part. Maybe this will be a solution, I don't know. (But note that the next/preious/up arguments are basically obsolete and almost never used nowadays.) > Same for the cross-references, if we generalize the use of 2 or 3 > arguments. Cross-references already support 5 arguments. I think we'd need something more complex there. One possibility could be some kind of "translation table" inside an Info file, which maps English node names to translated names.