View Single Post
Old 10-10-2010, 10:45 AM   #5
Gwen Morse
Addict
Gwen Morse never is beset by a damp, drizzly November in his or her soul.Gwen Morse never is beset by a damp, drizzly November in his or her soul.Gwen Morse never is beset by a damp, drizzly November in his or her soul.Gwen Morse never is beset by a damp, drizzly November in his or her soul.Gwen Morse never is beset by a damp, drizzly November in his or her soul.Gwen Morse never is beset by a damp, drizzly November in his or her soul.Gwen Morse never is beset by a damp, drizzly November in his or her soul.Gwen Morse never is beset by a damp, drizzly November in his or her soul.Gwen Morse never is beset by a damp, drizzly November in his or her soul.Gwen Morse never is beset by a damp, drizzly November in his or her soul.Gwen Morse never is beset by a damp, drizzly November in his or her soul.
 
Posts: 254
Karma: 59872
Join Date: Dec 2009
Location: New York, USA
Device: Kindle 3 (wifi) + nokia n900 tablet phone
Quote:
Originally Posted by ldolse View Post
If you use markdown you need to use txt instead of rtf. Still allows you to do formatting, etc, but it's a different way of doing it.
http://daringfireball.net/projects/markdown/

Page breaks aren't a part of markdown, but one nice thing about markdown is you can mix and match snippets of html which could include a page break.

For example, I've been working on a book using markdown text as my master source, and I just stick the following line in the text file where-ever I want a pagebreak:
Code:
<div style="page-break-before: always"></div>
If you follow through with that option you would also need to use text input with Calibre, and there is an option there to tell it to use the markdown syntax when converting the doc.

If you want to open a bug with that book but you are worried about copyright issues just delete the majority of the content from each chapter, as long as the problem is reproducible I can take a look at it. I suspect it's because you're formatting the chapter headings, and however that gets converted to html isn't something that's accounted for.

bugs.calibre-ebook.com
When asking about RTF => Markdown conversion, I was asking about something to convert my RTF files to text files with Markdown syntax. That way I wouldn't have to export my document to plain text and then put in all the Markdown codes by hand.

Getting RTF formatting/conversion working is probably the better option. I'll open the bug report and take some chunks out of the middle of the book where none of the chapter headers work.

There wasn't much formatting. I just put the word "Chapter" in front of the chapter number, and I bolded each one.
Gwen Morse is offline   Reply With Quote