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.devel Subject: Re: Translating the eps files in lispintro Date: Sun, 21 Jan 2024 18:05:04 +0200 Message-ID: References: <358143F2-8762-40B1-ABB1-2280EF291A45@traductaire-libre.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27409"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: K-9 Mail for Android Cc: emacs-devel , Stefan Kangas To: Jean-Christophe Helary Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jan 21 17:05:31 2024 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 1rRaKA-0006rG-RV for ged-emacs-devel@m.gmane-mx.org; Sun, 21 Jan 2024 17:05:30 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rRaJq-0006Gk-NG; Sun, 21 Jan 2024 11:05:10 -0500 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 1rRaJo-0006GW-Oa for emacs-devel@gnu.org; Sun, 21 Jan 2024 11:05:09 -0500 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 1rRaJo-0006we-FG; Sun, 21 Jan 2024 11:05:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Subject:To:From: Date; bh=/FI1cp1seK6ryTsfbqS+LnNmPTZMoreEfFOG8mlQZc8=; b=S/Ie+ksbsXIIeZeXAnnC LP4bEM/sc5Hz8+nPt7RgltntFyvYZlQu6EN2cF+t3m07RQKs4mrERVzfFavkgBoQcPCxCI4RncstE kaUqMf7IiLByruUaIlvHhfDxAtfxL/omRNUW9bnJSt5ueEW4Md1bMmtjJWh2+VNEpXozbRDn1m7Nk v7G/7wodXJHank779UcvJqiNy2igbAM0J4jK0fsfwLDvH7yC9FIyB+pAURbasvJzCxOIjYBV0tt7S jCVJHwUUN1qglCEfTbORv42BO0Iqrp1Q6dQQjz9TsIZxavfZQlKU7WQ/BUdCS15jffz5szWIpxUNA U0UpPja+WNWaTA==; In-Reply-To: <358143F2-8762-40B1-ABB1-2280EF291A45@traductaire-libre.org> Autocrypt: addr=eliz@gnu.org; keydata= mQENBF+pf4UBCAC6vjkWLSAsQpe8YIGKLQzNOJx/IjGtCdFF8uzmO5jmME+SD8ROuJN+t5KXVw58 uzu75EFD0vHTY9e+udJ2gkpuy0NnzkFcbumdLLo2ERKCoSctZZRhzKXI5z5cHxCqW0B2ygHRrRLt oNlGID7bAgcgSViT1ptGqTXO7zGVu4Airok7dNzcPtHgns8GlR5YAFX0TvE6oGd0l2VPghNeVJKJ OjrbfhoDxl3ucFpqbqMH8z9HTLDOFpz8UaYYUdJMi3xX6vwTZxI2sM2RRVLUpZyllAkSMI4lln1O OgazM/62DJUs/rKIHKBnF6h3/qsJUjUYXaAHbrXY26mWllAd536lABEBAAG0I0VsaSBaYXJldHNr aWkgKGVsaXopIDxlbGl6QGdudS5vcmc+iQE4BBMBAgAiBQJfqX+FAhsDBgsJCAcDAgYVCAIJCgsE FgIDAQIeAQIXgAAKCRCRwSYvAeuNOYUQB/4/iIKKOG45ijNaRoTvmJJZMvj1S07WQxEm7c5SHEeE QbLOAxB9vESOV7sLueuN3oqEndtzyYt4x1WTSBmHFF7h5fcCMjBs41siOIp5Sj/xD0Bvaa0IKGCR SZ7PAo8Mq3wgajXpTpn9vxE2PmtzA8KdEE0K1+f9pVAfOpUIcCl44rIxLUW352XG0y7iz6c/O6LB 1deOKMiKFctKO7pBti1dJEm1ImewLH3H8uTbwspLOs3EB8xhsESxmTidnze68HX2jt+2EeMgCdki NU+LWbexQZPfIS7+ZmE06ll0v6+Jy7ZdTkCCRypKWTnW7pIFsq/p4kybV8O/kHSV6B4vvQBfuQEN BF 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:315182 Archived-At: On January 21, 2024 5:34:27 PM GMT+02:00, Jean-Christophe Helary wrote: >=20 >=20 > > On Jan 21, 2024, at 23:40, Eli Zaretskii wrote: > >=20 > > On January 21, 2024 3:47:42 PM GMT+02:00, Stefan Kangas wrote: > >> Jean-Christophe Helary > >> writes: > >>=20 > >>> Is there a practical way to edit the EPS files in the Introduction t= o Programming in Emacs Lisp? > >>>=20 > >>> I tried to modify the text directly in Emacs but the result was not = satisfying=2E > >>>=20 > >>> I was wondering if it would not be a better solution to use SVG inst= ead? > >>=20 > >> Why not, but does texinfo support SVG? Starting with which version? >=20 > It's more a question of using SVG as a base from which to convert to oth= er formats=2E See below=2E >=20 > > AFAIK, Texinfo doesn't support SVG images in Info documents=2E >=20 > Info is not concerned by eps or pdf either=2E >=20 > eps seems to be here to cover the TeX (DVI) output and pdf is here for t= he TeX (PDF) output=2E Html and info use the plain text graphs that are in = the texi sources, and I guess DocBook too: >=20 > @c cons-cell-diagram #2 > @ifnottex > @smallexample > @group > bouquet > | > | ___ ___ ___ ___ ___ ___ > --> |___|___|--> |___|___|--> |___|___|--> nil > | | | > | | | > --> rose --> violet --> buttercup > @end group >=20 >=20 > The problem is that it does not seem trivial to edit the files in Emacs = and replace the English with Japanese strings, for ex=2E So my question is:= is EPS an accepted (editable) source format? >=20 > It would seem more practical to have a format that's a bit easier to edi= t (SVG, if only because it supports unicode) and from there use conversion = tools to create the required formats: >=20 > eps for TeX (DVI output) > pdf/png/jpg (jpeg) for TeX (PDF output) > png, jpg (jpeg), gif for HTML output (although the current output does n= ot use images but just plain text) > eps, gif, jpeg (jpg), pdf, png, svg for DocBook output >=20 > https://www=2Egnu=2Eorg/software/texinfo/manual/texinfo/texinfo=2Ehtml#I= mages >=20 >=20 > Considering the needs of the lisp introduction, we could have svg for an= eventual DocBook output, png for the HTML and PDF output, eps for the DVI = output and we'd be all set=2E >=20 > Or maybe the actual source for the EPS (and PDF) files found in the intr= o is somewhere else? Are the files created from the texinfo source? >=20 No, the Emacs Info reader will display PNG images if Emacs supports them, = and fall back to ASCII art if not=2E