From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean-Christophe Helary Newsgroups: gmane.comp.tex.texinfo.bugs,gmane.emacs.devel Subject: Re: emacs manuals: make docs (html) issue with the index.html output Date: Tue, 19 Oct 2021 20:30:59 +0900 Message-ID: <4A61041F-432D-4BC4-BCC1-145CD72B4B74@traduction-libre.org> References: <20211019103601.GB17522@mintstar> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5044"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Texinfo , emacs-devel To: Gavin Smith Original-X-From: bug-texinfo-bounces+gnu-bug-texinfo2=m.gmane-mx.org@gnu.org Tue Oct 19 13:51:39 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 1mcned-00015k-BJ for gnu-bug-texinfo2@m.gmane-mx.org; Tue, 19 Oct 2021 13:51:39 +0200 Original-Received: from localhost ([::1]:48972 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mcneb-0002xU-Nw for gnu-bug-texinfo2@m.gmane-mx.org; Tue, 19 Oct 2021 07:51:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52300) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcnKq-0002XP-Vg; Tue, 19 Oct 2021 07:31:14 -0400 Original-Received: from relay11.mail.gandi.net ([217.70.178.231]:40603) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcnKm-0003ZN-II; Tue, 19 Oct 2021 07:31:10 -0400 Original-Received: (Authenticated sender: lists@traduction-libre.org) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 15617100005; Tue, 19 Oct 2021 11:31:01 +0000 (UTC) In-Reply-To: <20211019103601.GB17522@mintstar> X-Mailer: Apple Mail (2.3654.120.0.1.13) Received-SPF: pass client-ip=217.70.178.231; envelope-from=lists@traduction-libre.org; helo=relay11.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: bug-texinfo@gnu.org X-Mailman-Version: 2.1.23 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:10836 gmane.emacs.devel:277347 Archived-At: >> When running "make docs" to produce the emacs manuals HTML sets with = the following options: >>=20 >> HTML_OPTS =3D --split=3Dchapter --html >>=20 >> There are issues with the ToC files and index files in >>=20 >> 1) the elisp reference set >> 2) the lisp intro set >>=20 >> 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). >>=20 >> The navigation HTML reads: >>=20 >> [Contents][Index] >=20 > 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). >=20 > Have you actually tested this on macOS? Yes. That's my machine. > I haven't but I remember there was code in texi2any to deal with this = exact > eventuality. >=20 > I haven't but I remember there was code in texi2any to deal with this = exact > eventuality. If there was a node called "index" then it would be = output at > the bottom of index.html. >=20 >> Wouldn't it be more sensible to call the ToC just ToC.html so that it = never conflicts with any concept index file? >=20 > For HTTP, index.html is a special name that is the file returned if > no filename component was present in the URL. You're right. So that the other index that needs to be named in a = different fashion. --=20 Jean-Christophe Helary @brandelune https://mac4translators.blogspot.com https://sr.ht/~brandelune/omegat-as-a-book/