Re: epub init file, and questions

2021-12-25 Thread Eli Zaretskii
> Date: Sat, 25 Dec 2021 11:44:34 -0800 > From: Per Bothner > > My proposed replacement for Emacs info mode would look for html files > and render them using eww mode. Eww doesn't handle JavaScript, so it > couldn't use info.js, but the logic of info mode could be enhanced > to work with html fi

Re: id attributes for header elements

2021-12-25 Thread Jean-Christophe Helary
> On Dec 26, 2021, at 7:10, Per Bothner wrote: > > (This is related to the "control over sectioning and splitting: thread, > as it may make it easier to provide a clean solution.) > > Currently, a header element generates an empty > Electron > > while: > > @anchor{Electron} > @subheading

id attributes for header elements

2021-12-25 Thread Per Bothner
(This is related to the "control over sectioning and splitting: thread, as it may make it easier to provide a clean solution.) Currently, a header element generates an empty Electron while: @anchor{Electron} @subheading Electron generates: Electron Two requests: (1) Don't generates the impli

Re: epub init file, and questions

2021-12-25 Thread Patrice Dumas
On Sat, Dec 25, 2021 at 08:01:43PM +0100, Patrice Dumas wrote: > That being said, there is an interface for info.js with INFO_JS_DIR, so > it would make sense to include that in the epub when INFO_JS_DIR is set, > I'll have a try. I did that as well as adding informations corresponding to JS_WEBLA

Re: epub init file, and questions

2021-12-25 Thread Per Bothner
On 12/25/21 11:01, Patrice Dumas wrote: For cross manual references, there is no reason why it would work, I did not fully test, but there does not seem to be a way to refer to another epub book, for instance installed alongside, as far as I can tell. calibre creates a link to an internal sandox

Re: epub init file, and questions

2021-12-25 Thread Patrice Dumas
On Sat, Dec 25, 2021 at 09:42:57AM -0800, Per Bothner wrote: > > > * is it better to have split or non split files for epub? > > Is there any reason not to treat this like html output? > I.e. honor the --split and --no-split options in the same way? It works that way, my question was more for th

Re: epub init file, and questions

2021-12-25 Thread Per Bothner
On 12/25/21 09:06, Patrice Dumas wrote: Hello, In the source there is now an init file epub3.pm to generate an epub container, targetting epub 3.2. In tp/init/epub3.pm. Haven't tried it yet - but thanks! Some questions for those knowledgable in epub: I don't have a lot of experience or

epub init file, and questions

2021-12-25 Thread Patrice Dumas
Hello, In the source there is now an init file epub3.pm to generate an epub container, targetting epub 3.2. In tp/init/epub3.pm. Some questions for those knowledgable in epub: * is it better to have split or non split files for epub? * I did not output any header, so no mini_toc nor node direc

Re: control over sectioning and splitting

2021-12-25 Thread Patrice Dumas
On Sun, Oct 10, 2021 at 08:56:35AM -0700, Per Bothner wrote: > > > On 10/10/21 07:10, Patrice Dumas wrote: > > I am probably missions something, but isn't what you want obtained with > > --split=chapter and using sectioning commands like @section, > > @subsection? > > The fundamental problem is