Re: epub generation depends on perl Archive::ZIP module

2022-08-07 Thread Patrice Dumas
On Sun, Aug 07, 2022 at 08:12:24PM +0200, Patrice Dumas wrote: > On Fri, Aug 05, 2022 at 11:11:10PM +0100, Gavin Smith wrote: > > On Sun, Jul 31, 2022 at 09:22:01AM +0200, Patrice Dumas wrote: > > > > * Call functions in the module as it is being loaded to register > > errors. > > > > A patch for

Re: epub generation depends on perl Archive::ZIP module

2022-08-07 Thread Patrice Dumas
On Fri, Aug 05, 2022 at 11:18:21PM +0100, Gavin Smith wrote: > > It would be better if we could avoid loading the rest of the module > > once the problem is detected, although I don't know if this is > > possible without calling "die". > > I suppose one way would be to take the top-level code call

Re: epub generation depends on perl Archive::ZIP module

2022-08-07 Thread Patrice Dumas
On Fri, Aug 05, 2022 at 11:11:10PM +0100, Gavin Smith wrote: > On Sun, Jul 31, 2022 at 09:22:01AM +0200, Patrice Dumas wrote: > > * Call functions in the module as it is being loaded to register > errors. > > A patch for the second approach is at the end of this email. I'm > sure you'll have ide

Re: replacing acronym and tt HTML elements

2022-08-07 Thread Patrice Dumas
On Sun, Aug 07, 2022 at 02:41:46PM +0100, Gavin Smith wrote: > On Sun, Aug 07, 2022 at 03:29:22PM +0200, Patrice Dumas wrote: > > I think that for @t, it would be better to use > > and have span.t => font-family: monospace; as I propose > > above, as @t has no semantic interpretation of code. (Fo

Re: replacing acronym and tt HTML elements

2022-08-07 Thread Gavin Smith
On Sun, Aug 07, 2022 at 03:29:22PM +0200, Patrice Dumas wrote: > I think that for @t, it would be better to use > and have span.t => font-family: monospace; as I propose > above, as @t has no semantic interpretation of code. (For all the other > places where we used before, is most likely bette

Re: replacing acronym and tt HTML elements

2022-08-07 Thread Patrice Dumas
On Fri, Aug 05, 2022 at 06:33:33PM +0100, Gavin Smith wrote: > > acronym HTML element replaced by abbr, and tt by a span, where there is > > no semantics for the tt, for example with @t. This would lead to > > > > > > > > > > span.t => font-family: monospace; > > > > Does it looks ok? > > @t

Re: EPUB tests using installed code

2022-08-07 Thread Patrice Dumas
On Sun, Aug 07, 2022 at 10:24:54AM +0200, Patrice Dumas wrote: > On Sat, Aug 06, 2022 at 11:44:42PM +0100, Gavin Smith wrote: > > > > I was getting test failures for two of the EPUB tests under tp/tests, > > because they were using the installed modules. Even after I ran > > "make install", the t

Re: EPUB tests using installed code

2022-08-07 Thread Patrice Dumas
On Sat, Aug 06, 2022 at 11:44:42PM +0100, Gavin Smith wrote: > On Wed, Jul 27, 2022 at 10:45:24PM +0200, Patrice Dumas wrote: > > I agree. I do not think that we want to change the init files directory > > search path. But, maybe the init files that are used in texi2any.pl > > should be in a diff