View Single Post
Old 02-01-2016, 07:48 PM   #13
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by Paula-59 View Post
debeck: thank you for outlining the steps for working within Calibri from the start --

Just want to confirm something: if I were to bring a the book in as a txt file, it would have NO formatting, right?
Markdown has its own way of applying formatting, via things like **bold** and _italics_ (depending on which dialect you use, it's the double asterisk or the switch to underscore that matters).

It would involve using a different workflow, and converting from markdown into HTML.

Quote:
Part of the process I went through before importing into Calibri involved moving the text from a writing program to LibreOffice, where I was able to wrap italicized text with <i> tags, replacing -- with mdashes, etc. before bringing it into BBEdit. That way I didn't have to scroll through the whole book adding italics, etc.

I BBEdit I wrapped all the paragraphs in para tags, replaced punctuation marks with named entities, removed extra spaces, etc. and did my styling.

Is there a good search and replace function in Calibri's html editor?
calibre has an excellent S&R (based on the enhanced regex module), which also has a function-replace mode that calls custom user-created python functions to generate the replacement text.

You can also use snippets etc. to wrap specified text in <i> tags, rather than importing into LibreOffice just for that.
Where does the text start out -- what is your writing program?

Last edited by eschwartz; 02-01-2016 at 07:51 PM.
eschwartz is offline   Reply With Quote