Try this maybe:

1. Compile AsciiDoc Files into a Single HTML File:

Using AsciiDoctor, you can convert all asciidoc files into a single HTML file. The command is:

asciidoctor -b html5 -o output.html input.adoc

Repeat for all asciidoc files and then concatenate them into a single HTML file.

2. Create a CSS File (Optional):

If styling is necessary, create a CSS file and link it within the HTML file.

3. Convert HTML to ePub using Pandoc:

Once you have an HTML file, you can convert it to ePub using Pandoc. The command is:

pandoc output.html -o final.epub

4. Modify Calibre Settings (If Needed):

If you're still considering using Calibre, ensure that the settings match the specific needs of the file you're converting. Sometimes, altering specific input or output settings can resolve conversion issues.

Reply to this note

Please Login to reply.

Discussion

That is the the command I ran earlier, only I had all the input files listed together. Doing it your way, I successfully converted all of the manually to HTML, although two generated errors:

E[line ###] section out of sequence: expected level 3, got level 4

I don’t understand what the issue was, but the HTML generated anyway, so I moved on.

After successfully merging everything to a single HTML file, I dropped it into Calibre and converted to ePub—it appears to have worked!

If anyone wants the file rather than recreate my path, send me a DM.

Thank you!!!