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: Sun, 22 Sep 2024 22:05:51 +0300 Message-ID: <86ikunh5kg.fsf@gnu.org> References: <86v7ynh9au.fsf@gnu.org> <87h6a78t1t.fsf@posteo.net> <86ldzjh7vu.fsf@gnu.org> <87y13j7djp.fsf@posteo.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29586"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 73425@debbugs.gnu.org, me@eshelyaron.com To: Philip Kaludercic Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 22 21:07:08 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 1ssRvI-0007ZN-3p for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 22 Sep 2024 21:07:08 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ssRuu-0007PL-Jn; Sun, 22 Sep 2024 15:06:44 -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 1ssRur-0007P5-QC for bug-gnu-emacs@gnu.org; Sun, 22 Sep 2024 15:06:42 -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 1ssRur-00079o-1o for bug-gnu-emacs@gnu.org; Sun, 22 Sep 2024 15:06:41 -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=j5vE/sSdLJXdhc3BKtegq+2Bgko9aRRkHitYuAU3BxA=; b=aPTUAKTnuJuYvfhqDjE3zNf8meIYhZJdEcpy8LZ8cyCMiGuSxjwZuxbtzSR4d5qXOhqnFQI8C2c2+uABpcfzrQJyFXvZ36MYAUHTnS/6noQWCLsvcb3tN7kif7XkUBZSwV+TDH4rCniJgSww7Rj1OtLgCJTK7xn4yzNHFm9xnoi20YZcCLI1o2l15HwwFURLHaQVrLdKo24eVgUnd8peoo0ODyBylv8SkT4bZV1oo+QJ8LGVCzO/Im8XgPrd3hNFepe34tf03KFzylt+Pnunw2+2RCIWLDLfzfrEFgbtSWy7NiL4suBfEnpFIHuQBT3vNQl7r3+LQu4YuyeyOrknkg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ssRvC-0004Wi-Ji for bug-gnu-emacs@gnu.org; Sun, 22 Sep 2024 15:07: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: Sun, 22 Sep 2024 19:07: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.172703199317352 (code B ref 73425); Sun, 22 Sep 2024 19:07:02 +0000 Original-Received: (at 73425) by debbugs.gnu.org; 22 Sep 2024 19:06:33 +0000 Original-Received: from localhost ([127.0.0.1]:42763 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ssRuj-0004Vo-9c for submit@debbugs.gnu.org; Sun, 22 Sep 2024 15:06:33 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:49370) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ssRue-0004VS-F8 for 73425@debbugs.gnu.org; Sun, 22 Sep 2024 15:06:31 -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 1ssRuA-00078g-TW; Sun, 22 Sep 2024 15:05:59 -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=j5vE/sSdLJXdhc3BKtegq+2Bgko9aRRkHitYuAU3BxA=; b=FaYDGHNgI/dw T8TUk8ZsV4aVFdgdqP2Mi1fWzibkHhKHmTetEeR2IyjKaygZ1b5nLYlpMkMhcNsylSigv/vJy800a QDAefbgDb+1+WMlmh1jRZAb/+d5g2V2IHC9lL2qgG/Yc/jnyVLiWvfiwpkIEbTpfdVWcdyiOshe2Y tzuJDgFoYeOY1njq2Fo79/MgjmXpUzND5FQ3Gtfqybgvxkqy6elWfu1gdRyxEDyg2aLPgCWiAjg0p aVN/N7YwCnZU7b/StCxmUo7Ax/1tr4Q9OxIBcsAUHwgJ+HgGJNCmZt/Pm0LJKBeKmHQze5AykboIE YQttjUdS4hNiNVX8QkOigQ==; In-Reply-To: <87y13j7djp.fsf@posteo.net> (message from Philip Kaludercic on Sun, 22 Sep 2024 18:23:38 +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:292252 Archived-At: > From: Philip Kaludercic > Cc: me@eshelyaron.com, 73425@debbugs.gnu.org > Date: Sun, 22 Sep 2024 18:23:38 +0000 > > Eli Zaretskii writes: > > >> What we need is some kind of an indication in the package specification, > >> what files should be copied out for the manual to access, as otherwise > >> the images would only be hidden in the package tarball, that a web > >> browser cannot access (AFAIK). > > > > "Copied" where and why? Aren't the HTML docs generated in the > > package's tree, like the Info docs? > > No, these are the files we generate for a package under > https://elpa.gnu.org/packages: > > -rw-r--r-- 1 phi phi 368640 Mar 22 2024 compat-29.1.4.5.tar > -rw-r--r-- 1 phi phi 11183 Mar 22 2024 compat.html > -rw-r--r-- 1 phi phi 997 Mar 22 2024 compat-readme.txt > -rw-r--r-- 1 phi phi 1230 Mar 22 2024 compat.svg > lrwxrwxrwx 1 phi phi 19 Mar 22 2024 compat.tar -> compat-29.1.4.5.tar > -rw-r--r-- 1 phi phi 1016 Mar 22 2024 compat.xml 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). How do we generate these HTML files from the Texinfo sources? > 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? In any case, what I propose is to have the image files right near the HTML files which reference them. > >> 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?