From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gavin Smith Newsgroups: gmane.comp.tex.texinfo.bugs,gmane.emacs.devel Subject: Re: emacs manuals: make docs (html) issue with the index.html output Date: Tue, 21 Dec 2021 19:00:38 +0000 Message-ID: <20211221190038.GG9514@mintstar> References: <20211019103601.GB17522@mintstar> <4A61041F-432D-4BC4-BCC1-145CD72B4B74@traduction-libre.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35162"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/1.9.4 (2018-02-28) Cc: Texinfo , emacs-devel To: Jean-Christophe Helary Original-X-From: bug-texinfo-bounces+gnu-bug-texinfo2=m.gmane-mx.org@gnu.org Tue Dec 21 20:01:40 2021 Return-path: Envelope-to: gnu-bug-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 1mzkOJ-000921-Ub for gnu-bug-texinfo2@m.gmane-mx.org; Tue, 21 Dec 2021 20:01:39 +0100 Original-Received: from localhost ([::1]:34068 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mzkOI-0005hT-RB for gnu-bug-texinfo2@m.gmane-mx.org; Tue, 21 Dec 2021 14:01:38 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:55502) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzkNR-0005fv-KT; Tue, 21 Dec 2021 14:00:45 -0500 Original-Received: from [2a00:1450:4864:20::329] (port=38491 helo=mail-wm1-x329.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mzkNP-0007Xe-Er; Tue, 21 Dec 2021 14:00:45 -0500 Original-Received: by mail-wm1-x329.google.com with SMTP id 203-20020a1c01d4000000b00345bf98da86so1137243wmb.3; Tue, 21 Dec 2021 11:00:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:date:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to:user-agent; bh=tDd5ndfa2oFI7RdGIo2YWj1Yl+SXrnU6Bme4wV+LhDQ=; b=oMY1CAQ3BzNAw84ez43Q5v07XuFToQtuH97PC0NstObpheAmnin7frKIOLAkJdIr7v NPW4uJbF4CdQBtSoDNQ4/nrOgXMo5LHMs3bH3SfYTmRky1sCOq5p8P00MyuOruaI8K5/ zbZHFw7GYdKjkYBmO+zDyAn5jSYfTF1EijrvRA//xjvjRDwLj17C2QLKVKAYgZMRgA62 bZm25PD1TH0NbL7R4uXw8FwmTrCX0X7IyaXfVJfSk8rfYI5NHg1iuM1R7dISfWB1SghN yKH7QSdqFmGJ0QMIxF+an3MZdLkijvtWSqQMHekUWleB0IjG88xVnOWTE5dFMa8dqJcQ VRhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:date:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=tDd5ndfa2oFI7RdGIo2YWj1Yl+SXrnU6Bme4wV+LhDQ=; b=7JlZfCEHRQmBhgGDK3C2qCPq9ogXPf4x4y+h6JLhFk9VQ/uR4rAzoldQkrHwydbbQJ z95Rsb6W4TlHpoTDA87jgBsQPWUFQOq7gjJUBtj/ksfBqMUV8GbK/GJUW6B7wWfNBlcC dcUue3Ix6jMTsav+j3mj94QerZGZxBs7TuJz7zENGZbuVeOwjEZJcgR5d+qyL5QpKnqq DSPhfyfu0xxUIEygF3cqZ+QzR7qUYRUPoE7ZFdlEaWneeGyLzGguE3/Y+98AOP2p1iOv FLMRWqJ9KzE0lnzSqWlMX4e0u6sWPSPxoTlP1qTicWjha2XVM06DRi8WuEGgzJPqEVu3 8BpA== X-Gm-Message-State: AOAM533uiE9F/NY6FXm0nOjeLM64MKKP0d/cX+sNZ0yiA8VN6Efnoa3f HCL/FT3qzhbW+FDwLhBEOh5frNdC48w= X-Google-Smtp-Source: ABdhPJwKtTiKemRa/nO3FtTQeQR63ReaYSmgsfCKMP2ZsIDDM7ald6TBz2dIjLLaw1URm3NPOII5yQ== X-Received: by 2002:a1c:7dd7:: with SMTP id y206mr3999515wmc.102.1640113240251; Tue, 21 Dec 2021 11:00:40 -0800 (PST) Original-Received: from mintstar.lan (36.106.90.146.dyn.plus.net. [146.90.106.36]) by smtp.gmail.com with ESMTPSA id e5sm5831058wrq.116.2021.12.21.11.00.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Dec 2021 11:00:40 -0800 (PST) X-Google-Original-From: Gavin Smith Original-Received: by mintstar.lan (Postfix, from userid 1000) id DA4F5B40237; Tue, 21 Dec 2021 19:00:38 +0000 (GMT) Mail-Followup-To: Gavin Smith , Jean-Christophe Helary , Texinfo , emacs-devel Content-Disposition: inline In-Reply-To: <4A61041F-432D-4BC4-BCC1-145CD72B4B74@traduction-libre.org> X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::329 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=gavinsmith0123@gmail.com; helo=mail-wm1-x329.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: bug-texinfo@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Bug reports for the GNU Texinfo documentation system List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-texinfo-bounces+gnu-bug-texinfo2=m.gmane-mx.org@gnu.org Original-Sender: "bug-texinfo" Xref: news.gmane.io gmane.comp.tex.texinfo.bugs:11002 gmane.emacs.devel:282620 Archived-At: On Tue, Oct 19, 2021 at 08:30:59PM +0900, Jean-Christophe Helary wrote: > >> When running "make docs" to produce the emacs manuals HTML sets with the following options: > >> > >> HTML_OPTS = --split=chapter --html > >> > >> There are issues with the ToC files and index files in > >> > >> 1) the elisp reference set > >> 2) the lisp intro set > >> > >> In both cases, the issue seems to be that the ToC is output as "index.html#SEC_Contents" and is then overwritten by the index which is output as "Index.html" (notice the change in case). > >> > >> The navigation HTML reads: > >> > >> [Contents][Index] > > > > Can you link to an online manual where the problem occurs as I couldn't find > > one (I checked three of the emacs manuals before giving up). > > https://doublet.jp/gnu/ > > https://doublet.jp/gnu/elisp/elisp.html/index.html > > https://doublet.jp/gnu/lispintro/emacs-lisp-intro.html/index.html > > >> It looks like (I have not checked for all the manuals) when a manual only has 1 index it is output as Index.html and the ToC is output as index.html, but on case-insensitive systems (macOS) the files conflict and only the index is kept (presumably after overwriting the ToC). > > > > Have you actually tested this on macOS? > > Yes. That's my machine. I'm trying to catch up with Texinfo mail. I saw the problem with the Top node not being present in the links you sent above. There appears to be code to check a CASE_INSENSITIVE_FILENAMES configuration value in Texinfo/Common.pm, now in set_tree_unit_file. Could you try building your manuals with texi2any -c CASE_INSENSITIVE_FILENAMES=1 and see if that makes a difference?