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 Subject: Re: Translating the eps files in lispintro Date: Sun, 21 Jan 2024 15:34:27 +0000 Message-ID: <358143F2-8762-40B1-ABB1-2280EF291A45@traductaire-libre.org> References: 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="9632"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel , Stefan Kangas To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jan 21 17:02:19 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 1rRaH4-0002JG-Vu for ged-emacs-devel@m.gmane-mx.org; Sun, 21 Jan 2024 17:02:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rRaGM-0003N0-3c; Sun, 21 Jan 2024 11:01:34 -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 1rRZqK-0005lu-JN for emacs-devel@gnu.org; Sun, 21 Jan 2024 10:34:40 -0500 Original-Received: from mail-4317.proton.ch ([185.70.43.17]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rRZqH-0007Nt-4Y; Sun, 21 Jan 2024 10:34:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=traductaire-libre.org; s=protonmail; t=1705851270; x=1706110470; bh=8/KAVDCWEFS15M4RXBz573bplkfNTMAichgy0czSiuo=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=vAbBKG/MiO5cVv5+bwfYGkI7uJSIa4fRjEZNtkEefHtZbKozsG248Oayq14Qeuhfi H64HokxTB82xZuUU/ka95+RZnazRMtvR6nyb5IhcoWuPk/1zuazpS/1XhbCW0w3GsP 8bMr/tTRSKYlH98ortj4CMEiN7ZJD8yXGhPHyJrE7QKLae5F+gS0bwxyMkSnxFTDTw n/i0NW2Uu/n6FH+Gyy2Zxuk7EcfQLsBFENKMF5qeMx+nixtD+4/xZkBNy/j4F04pZB dzc6t5fV+mNBhLaILGlFy8VVbhDf3Nu5tnbVgmMry9WxMjXCB8qCTcMaB76dR/18hC JmifRoTWQriOw== In-Reply-To: Feedback-ID: 92162971:user:proton Received-SPF: pass client-ip=185.70.43.17; envelope-from=jean.christophe.helary@traductaire-libre.org; helo=mail-4317.proton.ch X-Spam_score_int: -30 X-Spam_score: -3.1 X-Spam_bar: --- X-Spam_report: (-3.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 21 Jan 2024 11:01:29 -0500 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:315180 Archived-At: > 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 to P= rogramming in Emacs Lisp? >>>=20 >>> I tried to modify the text directly in Emacs but the result was not sat= isfying. >>>=20 >>> I was wondering if it would not be a better solution to use SVG instead= ? >>=20 >> Why not, but does texinfo support SVG? Starting with which version? It's more a question of using SVG as a base from which to convert to other = formats. See below. > AFAIK, Texinfo doesn't support SVG images in Info documents. Info is not concerned by eps or pdf either. eps seems to be here to cover the TeX (DVI) output and pdf is here for the = TeX (PDF) output. Html and info use the plain text graphs that are in the t= exi sources, and I guess DocBook too: @c cons-cell-diagram #2 @ifnottex @smallexample @group bouquet | | ___ ___ ___ ___ ___ ___ --> |___|___|--> |___|___|--> |___|___|--> nil | | | | | | --> rose --> violet --> buttercup @end group The problem is that it does not seem trivial to edit the files in Emacs and= replace the English with Japanese strings, for ex. So my question is: is E= PS an accepted (editable) source format? It would seem more practical to have a format that's a bit easier to edit (= SVG, if only because it supports unicode) and from there use conversion too= ls to create the required formats: 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 not = use images but just plain text) eps, gif, jpeg (jpg), pdf, png, svg for DocBook output https://www.gnu.org/software/texinfo/manual/texinfo/texinfo.html#Images Considering the needs of the lisp introduction, we could have svg for an ev= entual DocBook output, png for the HTML and PDF output, eps for the DVI out= put and we'd be all set. Or maybe the actual source for the EPS (and PDF) files found in the intro i= s somewhere else? Are the files created from the texinfo source?