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.emacs.bugs Subject: bug#73425: 31.0.50; Support images in HTML versions of ELPA package manuals Date: Mon, 23 Sep 2024 15:03:35 +0300 Message-ID: <86zfnyfug8.fsf@gnu.org> References: <86v7ynh9au.fsf@gnu.org> <87h6a78t1t.fsf@posteo.net> <86ldzjh7vu.fsf@gnu.org> <87y13j7djp.fsf@posteo.net> <86ikunh5kg.fsf@gnu.org> <87ldzifxx2.fsf@posteo.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37187"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 73425@debbugs.gnu.org, me@eshelyaron.com, monnier@iro.umontreal.ca To: Philip Kaludercic Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 23 14:04:59 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1sshoI-0009W4-Lr for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 23 Sep 2024 14:04:58 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ssho3-0004Xe-LB; Mon, 23 Sep 2024 08:04:43 -0400 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 1sshnz-0004XH-Rc for bug-gnu-emacs@gnu.org; Mon, 23 Sep 2024 08:04:39 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sshnz-00019v-9A for bug-gnu-emacs@gnu.org; Mon, 23 Sep 2024 08:04:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=VC3gfTf332gxOqGvvXxDgvEGwXjRpLO2qFOM14nu+3Q=; b=mUG9iKWDXkI5DigqMRXR7B6tMsX0a8KXHVADWAdD+Ysnild0kGrR/VH22rsmkpq0+OfQjuX+WVzQsamx43iv4Y21gLFgdhg5NCYearWxY9KxkIXSnciZjXKzFUeUD9+EJ+2X1kT1P3gjA6B90QYHglv1MRVvZAzDzgVPpD5inqpvT06cF34swuSfpuFFNVT6ChQZF7QENVf4ZFdwxrqFP+3lPTauDFUC8pGEjYLBnmkvll9HaTc81uj3DgvCH1pumfHsZfYWlLHiGVioQnjQ1nhW4iJU1bj/lN+uwb00GbP0m7a5Xe0EScRr0j7//byQMeOcSMqpnwkuouI7KCpcyw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sshoM-00019O-5O for bug-gnu-emacs@gnu.org; Mon, 23 Sep 2024 08:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Sep 2024 12:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73425 X-GNU-PR-Package: emacs Original-Received: via spool by 73425-submit@debbugs.gnu.org id=B73425.17270930514333 (code B ref 73425); Mon, 23 Sep 2024 12:05:02 +0000 Original-Received: (at 73425) by debbugs.gnu.org; 23 Sep 2024 12:04:11 +0000 Original-Received: from localhost ([127.0.0.1]:43399 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sshnX-00017p-2Q for submit@debbugs.gnu.org; Mon, 23 Sep 2024 08:04:11 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:41298) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sshnU-00017W-SE for 73425@debbugs.gnu.org; Mon, 23 Sep 2024 08:04:09 -0400 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 1sshn0-00010f-4M; Mon, 23 Sep 2024 08:03:38 -0400 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=VC3gfTf332gxOqGvvXxDgvEGwXjRpLO2qFOM14nu+3Q=; b=FyC5QHYQqOhP u5sadX2ghb0Ojy+zKxOVMjEn6wCI8ZE5N7gY8LfVAJOfPwMwIY0OxR5ZM+n6MUGrqimnDoNODRprp dDD7+PwaYpIta09ev9v++E/iqcJ8RjC3yQgk95uuG/frty7Bc1JhbPpkgsmjKaGQx7BrolKFvv5aj LkrMMc3FrNkiKJjEBHXQDR9fRf8cKK3nZIhsVNtJhvEWHbJpRKoYwjbbQyHsJ/OLHj4xHqa1hgYZs jt7va54hJmXmcEsbaG3OEx6QstNvRd3VvSl1yohgxVv3k/Mchw8RRqdKTgNIaev8WnRw67inyERji 3gKTp01nWUp6bCX45PZe4w==; In-Reply-To: <87ldzifxx2.fsf@posteo.net> (message from Philip Kaludercic on Mon, 23 Sep 2024 10:48:41 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:292273 Archived-At: > From: Philip Kaludercic > Cc: me@eshelyaron.com, 73425@debbugs.gnu.org, "Stefan Monnier" > > Date: Mon, 23 Sep 2024 10:48:41 +0000 > > Eli Zaretskii writes: > > > Then the image files should be in the same directory (or in its > > images/ subdirectory, but that would need to be coordinated with the > > package developers). > > Right, and we can facilitate this by allowing package specifications to > annotate where images are found. > > > How do we generate these HTML files from the Texinfo sources? > > Basically by executing, > > --8<---------------cut here---------------start------------->8--- > makeinfo --no-split [input-name] -o [output-name] --html --css-ref=[css-url] > --8<---------------cut here---------------end--------------->8--- > > >> plus the manual under https://elpa.gnu.org/packages/doc/[package name] > > > > So we have the HTML docs in two places? Why two? And why do I see > > both https://elpa.gnu.org/packages/doc/compat.html and > > https://elpa.gnu.org/packages/doc/compat/compat.html? > > I am not sure, my suspicion is some kind of historical backwards > compatibility. I have CC'ed Stefan who might know more. > > > In any case, what I propose is to have the image files right near the > > HTML files which reference them. > > That would make sense. OK, so we agree. I guess what's left is to somehow make sure this all does indeed happen? > >> >> Do you know if TeXinfo has an option to inline images? If the > >> >> "makeinfo" command could somehow generate data: urls when exporting > >> >> images, then this could be very easily solved. > >> > > >> > This is already supported, for a long time, both in Info and HTML > >> > formats (and in other formats as well; see the node "Image Syntax" in > >> > the Texinfo manual. > >> > >> I did take a look at that node, but I couldn't find anything that would > >> help me. > > > > ??? What are you looking for that is not there? > > Some kind of --embed flag, that would inline images. So instead of > generating > > > > makeinfo could produce > >