Quote:
Originally Posted by teh603
When I try the Calibre trick (zipping the files, converting them to an ePUB with Calibre, and then opening the resulting file in Sigil) has gotten me inconsistent results. Calibre seems to only convert what it thinks is the first chapter, and then purges the rest.
|
This seems like a Calibre "issue" and doesn't really have anything to do with Sigil.
Quote:
Originally Posted by teh603
I write in .txt, with each chapter being a separate file. Chapter 001.txt, Chapter 002.txt, and so forth.
Anyone got a solution? Preferably an elegant one?
|
A:
Concatenate all of your text files into a single one using the commandline:
http://www.wikihow.com/Merge-Text-(....Command-Prompt
then convert that using Calibre?
B:
Use Calibre to batch convert each text file to EPUBs, then use the EPUB Merge plugin?
https://www.mobileread.com/forums/sh...d.php?t=169744
That will merge your Chapter 001 EPUB + Chapter 002 EPUB + [...] together into one.
C:
If using Microsoft Word, there is
Import > Object > Text from File:
https://support.office.com/en-us/art...f-3d8b585e03f1
Then save as whatever format (DOCX) and have Calibre convert it for you.
Quote:
Originally Posted by teh603
I tried the OO import plugin, but it had some stylesheet problems.
|
Stylesheet? Aren't your input files just plain text files? What stylesheet are you talking about?
And since you know your input was plain text, you could just throw out all useless HTML and get yourself back down to this with some Search/Replace:
Code:
<p>Paragraph 1.</p>
<p>Paragraph 2.</p>