emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Translating the eps files in lispintro


From: Eli Zaretskii
Subject: Re: Translating the eps files in lispintro
Date: Sun, 21 Jan 2024 18:05:04 +0200
User-agent: K-9 Mail for Android

On January 21, 2024 5:34:27 PM GMT+02:00, Jean-Christophe Helary 
<jean.christophe.helary@traductaire-libre.org> wrote:
> 
> 
> > On Jan 21, 2024, at 23:40, Eli Zaretskii <eliz@gnu.org> wrote:
> > 
> > On January 21, 2024 3:47:42 PM GMT+02:00, Stefan Kangas 
> > <stefankangas@gmail.com> wrote:
> >> Jean-Christophe Helary <jean.christophe.helary@traductaire-libre.org>
> >> writes:
> >> 
> >>> Is there a practical way to edit the EPS files in the Introduction to 
> >>> Programming in Emacs Lisp?
> >>> 
> >>> I tried to modify the text directly in Emacs but the result was not 
> >>> satisfying.
> >>> 
> >>> I was wondering if it would not be a better solution to use SVG instead?
> >> 
> >> 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 
> texi 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 EPS 
> 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 
> tools 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 
> eventual DocBook output, png for the HTML and PDF output, eps for the DVI 
> output and we'd be all set.
> 
> Or maybe the actual source for the EPS (and PDF) files found in the intro is 
> somewhere else? Are the files created from the texinfo source?
> 

No, the Emacs Info reader will display PNG images if Emacs supports them, and 
fall back to ASCII art if not.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]