bug-texinfo
[Top][All Lists]
Advanced

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

Re: images subdirectories in epub


From: Patrice Dumas
Subject: Re: images subdirectories in epub
Date: Wed, 3 Aug 2022 23:03:48 +0200

On Wed, Aug 03, 2022 at 01:49:25PM +0100, Gavin Smith wrote:
> On Wed, Aug 03, 2022 at 02:22:04PM +0200, Patrice Dumas wrote:
> > I like 1) better, but there is a risk of files having the same name but
> > in two different directories.
> > 
> > Ideas, comments?
> > 
> 
> One idea is the images do not have to have the same base file name
> as the source images.  They could named using increasing numbers.
> For example, /b/c.png could be named something like 0004.png, which
> would lose the original file name completely, but which would avoid
> the issue of duplicate file names.  I don't feel strongly about which
> solution might be the best.

I prepended file names with a counter, but I still used the file names,
after transliteration of non ascii characters and protection of most
characters that could be special in file names, to avoid problems if
users or EPUB processors ever want to extract the archive in any locale
and filesystem.

-- 
Pat



reply via email to

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