From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2440 invoked by alias); 17 Mar 2008 19:11:56 -0000 Received: (qmail 2431 invoked by uid 22791); 17 Mar 2008 19:11:56 -0000 X-Spam-Check-By: sourceware.org Received: from merkur.ins.uni-bonn.de (HELO merkur.ins.uni-bonn.de) (131.220.223.13) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 17 Mar 2008 19:11:25 +0000 Received: from localhost.localdomain (xdsl-87-78-162-207.netcologne.de [87.78.162.207]) by merkur.ins.uni-bonn.de (Postfix) with ESMTP id 49FC540002E17; Mon, 17 Mar 2008 20:11:22 +0100 (CET) Received: from ralf by localhost.localdomain with local (Exim 4.63) (envelope-from ) id 1JbKjt-00067z-F6; Mon, 17 Mar 2008 20:11:17 +0100 Date: Mon, 17 Mar 2008 20:56:00 -0000 From: Ralf Wildenhues To: Arnaud Charlet Cc: gcc-patches@gcc.gnu.org Subject: Re: [PATCH, ADA, DOC] PR 15479: Crossrefs and links Message-ID: <20080317191116.GB22463@ins.uni-bonn.de> Mail-Followup-To: Ralf Wildenhues , Arnaud Charlet , gcc-patches@gcc.gnu.org References: <20080315135145.GG17579@ins.uni-bonn.de> <20080316182210.GA37514@adacore.com> <20080316220220.GA3899@ins.uni-bonn.de> <20080317075928.GA90987@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080317075928.GA90987@adacore.com> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2008-03/txt/msg01022.txt.bz2 Hello Arno, * Arnaud Charlet wrote on Mon, Mar 17, 2008 at 08:59:28AM CET: > > Well, I'd rather not have to preprocess gnat_rm.texi, that's a heavy > solution. > There have to be a simpler solution here, such as using a texi > variable for example. That's what I thought as well at first, and I've tried it, too: >>>> [...] because texinfo doesn't like @value's in the info-file-name >>>> argument of cross-references.[1] [...] >>>> [1] I've reported that bug to bug-texinfo, along with the bug that >>>> prevents clickable inter-PDF links when the info-file-name contains >>>> an underscore. FWIW, here's the bug report I mentioned: . Chances are low, but I may look into fixing that bug if Karl won't, but anyway it will require an updated makeinfo (unlike the click bug), which rules out that GCC can rely on it for the next couple of years. So the only other thing I can come up with is something like | language version. (Please refer to | @ifset unw | @ref{Compiling Different Versions of Ada,,, gnat_ugn_unw, @value{EDITION} | User's Guide}, | @end ifset | @ifset vms | @ref{Compiling Different Versions of Ada,,, gnat_ugn_vms, @value{EDITION} | User's Guide}, | @end ifset | for details on which strikes me as uglier and more error-prone than: | language version. (Please refer to @ref{Compiling Different Versions of | Ada,,, gnat_ugn_^unw^vms^, @value{EDITION} User's Guide}, for details on Do you know a better way? Otherwise, ok for 4.4 and 4.3? Thanks, Ralf