First up, I don't know much about epub format, but I'm trying to learn.
Is there a way to generate a reflowable epub document with Mellel?
The fixed layout is superior for control of things like tables, but for a text only presentation, reflowable text has some appeal.
Is that an option?
reflowable epub
Moderators: Eyal Redler, redlers, Ori Redler
-
- Knows everything, can prove it
- Posts: 152
- Joined: Fri May 04, 2018 4:00 am
-
- Co-founder
- Posts: 695
- Joined: Thu Oct 27, 2005 9:15 am
Re: reflowable epub
Yes, it is an option. In fact, it is the only option at the moment. The epub export only supports refloable ePUB.
Eyal Redler
----------------------
Co-Founder and Owner at Mellel
Facebook: http://www.facebook.com/mellelwordprocessor
YouTube: http://www.youtube.com/user/MellelRedlex
Donate: https://www.paypal.com/donate/?hosted_b ... 2LWB33YBZW
----------------------
Co-Founder and Owner at Mellel
Facebook: http://www.facebook.com/mellelwordprocessor
YouTube: http://www.youtube.com/user/MellelRedlex
Donate: https://www.paypal.com/donate/?hosted_b ... 2LWB33YBZW
-
- Knows everything, can prove it
- Posts: 152
- Joined: Fri May 04, 2018 4:00 am
Re: reflowable epub
Ok, that's actually better for my purposes, anyway.
I notice that each line in the output I'm getting is bracketed in a "p" tag, and that's why I thought it wasn't reflowable.
The default novel template may help, too. I'll experiment further.
I notice that each line in the output I'm getting is bracketed in a "p" tag, and that's why I thought it wasn't reflowable.
The default novel template may help, too. I'll experiment further.
-
- Knows everything, can prove it
- Posts: 152
- Joined: Fri May 04, 2018 4:00 am
Re: reflowable epub
Stop the presses, I think I know what must have happened. I used some sample text from Project Gutenberg to test epub export, and I'm morally certain I imported newlines at the end of every line in the text.
I'm not where I can test right now, but thought I'd post this in case anyone thought the fault was Mellel's. I'm pretty sure I just proved the old axiom, garbage in, garbage out.
Many thanks for your reply, Eyal.
Mellel is an awesome tool. It's a lightsaber, not as clumsy and random as Microsoft Word.
Mellel is an elegant weapon for more civilized ages, and I'm very happy with it.
I'm not where I can test right now, but thought I'd post this in case anyone thought the fault was Mellel's. I'm pretty sure I just proved the old axiom, garbage in, garbage out.
Many thanks for your reply, Eyal.
Mellel is an awesome tool. It's a lightsaber, not as clumsy and random as Microsoft Word.
Mellel is an elegant weapon for more civilized ages, and I'm very happy with it.
-
- Knows everything, can prove it
- Posts: 152
- Joined: Fri May 04, 2018 4:00 am
Re: reflowable epub
That was it. Once I stripped out the extra newlines, all was well in the exported epub.
Redemption in one Python statement, assuming =-= didn't appear in the text of Masque of the Red Death:
open('masque1.txt', 'wt').write(open('masque.txt', 'rt').read().replace('\n\n', '=-=').replace('\n', ' ').replace('=-=', '\n'))
Now, if only my prose was less confused than my code. Sigh.
Redemption in one Python statement, assuming =-= didn't appear in the text of Masque of the Red Death:
open('masque1.txt', 'wt').write(open('masque.txt', 'rt').read().replace('\n\n', '=-=').replace('\n', ' ').replace('=-=', '\n'))
Now, if only my prose was less confused than my code. Sigh.