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.emacs.devel,gmane.comp.tex.texinfo.bugs Subject: Re: emacs manuals: make docs (html) issue with the index.html output Date: Wed, 22 Dec 2021 16:19:09 +0900 Message-ID: <31E41D32-F4C5-4A59-9309-E1F4353EEACF@traduction-libre.org> References: <20211019103601.GB17522@mintstar> <4A61041F-432D-4BC4-BCC1-145CD72B4B74@traduction-libre.org> <20211221190038.GG9514@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="38407"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Texinfo , emacs-devel To: Gavin Smith Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Dec 22 08:47:51 2021 Return-path: Envelope-to: ged-emacs-devel@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 1mzwLn-0009nf-3r for ged-emacs-devel@m.gmane-mx.org; Wed, 22 Dec 2021 08:47:51 +0100 Original-Received: from localhost ([::1]:47246 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mzwLl-0002b3-UF for ged-emacs-devel@m.gmane-mx.org; Wed, 22 Dec 2021 02:47:49 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:34662) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzvuD-00042B-82; Wed, 22 Dec 2021 02:19:22 -0500 Original-Received: from relay9-d.mail.gandi.net ([217.70.183.199]:55333) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzvuA-0003rs-LR; Wed, 22 Dec 2021 02:19:20 -0500 Original-Received: (Authenticated sender: lists@traduction-libre.org) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id C98F4FF808; Wed, 22 Dec 2021 07:19:13 +0000 (UTC) In-Reply-To: <20211221190038.GG9514@mintstar> X-Mailer: Apple Mail (2.3654.120.0.1.13) Received-SPF: pass client-ip=217.70.183.199; envelope-from=lists@traduction-libre.org; helo=relay9-d.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_H3=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: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:282688 gmane.comp.tex.texinfo.bugs:11007 Archived-At: > On Dec 22, 2021, at 4:00, Gavin Smith = wrote: >=20 > 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: >>>>=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). >>=20 >> https://doublet.jp/gnu/ >>=20 >> https://doublet.jp/gnu/elisp/elisp.html/index.html >>=20 >> https://doublet.jp/gnu/lispintro/emacs-lisp-intro.html/index.html >>=20 >>>> 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? >>=20 >> Yes. That's my machine. >=20 > I'm trying to catch up with Texinfo mail. >=20 > I saw the problem with the Top node not being present in the links you = sent above. >=20 > 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=3D1 = and see > if that makes a difference? Thank you Gavin for looking into this. I've checked where the manuals creation process calls texi2any and = failed to find anything. It looks like makeinfo is an alias to texi2any = to what I did is add the option to the various makefiles: for ex: MAKEINFO =3D @MAKEINFO@ MAKEINFO_OPTS =3D --force --enable-encoding -I $(srcdir) -c = CASE_INSENSITIVE_FILENAMES=3D1 checking right now it that works... --=20 Jean-Christophe Helary @brandelune https://mac4translators.blogspot.com https://sr.ht/~brandelune/omegat-as-a-book/