{"cards":[{"_id":"5da59c6122b8b3e19d00020c","treeId":"5da59c4922b8b3e19d00020a","seq":5065111,"position":1,"parentId":null,"content":"# Create an ePub\n<style>\nstrong{\ncolor:red;\n}\n</style>"},{"_id":"5da59d3a22b8b3e19d00020d","treeId":"5da59c4922b8b3e19d00020a","seq":5065109,"position":1,"parentId":"5da59c6122b8b3e19d00020c","content":"# Clean the HTML\n\n1. Open source file in MS Word, select entire text (CTRL-A) and copy it.\n1. Open __Convert DOC to HTML__ (http://www.textfixer.com/html/convert-word-to-html.php)\n1. Paste the text you copied into the text box on the site and click __Convert__ button to create the HTML\n1. Copy the HTML code."},{"_id":"5da5fc6122b8b3e19d00020e","treeId":"5da59c4922b8b3e19d00020a","seq":5042368,"position":1,"parentId":"5da59d3a22b8b3e19d00020d","content":"# Options\n\n* Open Notepad++ (or other text editor) and paste the HTML in order to keep it safe. You can save the file if you wish.\n\n* Copy the code into the Dirty Markup web application in order to make it cleaner and easier to read.\n * http://www.dirtymarkup.com/"},{"_id":"5da679ab22b8b3e19d00020f","treeId":"5da59c4922b8b3e19d00020a","seq":5065128,"position":2,"parentId":"5da59c6122b8b3e19d00020c","content":"# Create new ePub document\n1. Open Calibre\n2. Find the __Add Empty Book__ option under the __Add Books__ icon\n3. Create one book. Enter the author and title information. \n3. In the __Also create an empty ebook in format:__ box, select ePub. Click OK to create the empty book."},{"_id":"5da686f522b8b3e19d000210","treeId":"5da59c4922b8b3e19d00020a","seq":5065132,"position":3,"parentId":"5da59c6122b8b3e19d00020c","content":"# Bring in Content\n1. Right click on the new book and select __Edit book__ from the drop-down menu.\n1. Find the Text section of the Calibre files browser (on the left the the Book Editor window).\n1. Calibre will have created a file called _start.xhtml_. Double-click to open it.\n"},{"_id":"5da6ee5622b8b3e19d000215","treeId":"5da59c4922b8b3e19d00020a","seq":5065158,"position":3.5,"parentId":"5da59c6122b8b3e19d00020c","content":"# Finish bringing in the content\n1. Delete everything in __start.xhtml__\n1. Paste the content you created using Convert Doc to HTML (and possibly saved in Notepadd++) in the earlier step.\n1. Select the __Tools__ menu option and __Fix HTML__.\n1. Save the changes. Quit the editor and view the resulting book."},{"_id":"5da6986e22b8b3e19d000211","treeId":"5da59c4922b8b3e19d00020a","seq":5065163,"position":4,"parentId":"5da59c6122b8b3e19d00020c","content":"# Create the style sheet\n1. Edit the book again.\n1. Use __File / New file__. Name it _styles/main.css_. Calibre will automatically save it in the css folder. It will also open the file in the main editor window.\n1. Link the stylesheet to your start.xhtml file. See http://www.w3schools.com/tags/tag_link.asp for guidance."},{"_id":"5da6e7c322b8b3e19d000213","treeId":"5da59c4922b8b3e19d00020a","seq":5042384,"position":4.5,"parentId":"5da59c6122b8b3e19d00020c","content":"# Style the content\n1. Start styling the document using standard CSS3. You might want to include:\n * Margins around the text\n * font-family and font-size changes \n * formatting the headings so they stand out"},{"_id":"5da6f38822b8b3e19d000216","treeId":"5da59c4922b8b3e19d00020a","seq":5042387,"position":4.75,"parentId":"5da59c6122b8b3e19d00020c","content":"# Advanced styling\n* Add an image; format it on the page.\n* Add drop caps for the initial letter of the paragraph\n * (see: https://css-tricks.com/snippets/css/drop-caps/)\n* This page makes some interesting suggestions: http://www.hongkiat.com/blog/css-better-paragraph/"},{"_id":"5da6f5c522b8b3e19d000217","treeId":"5da59c4922b8b3e19d00020a","seq":5042391,"position":4.875,"parentId":"5da59c6122b8b3e19d00020c","content":"# Locate a font you can license to use\n1. Find a font you like\n * Deja-Vu Fonts (free licence) http://dejavu-fonts.org/wiki/Main_Page\n * Google Fonts (many fonts and licenses): https://www.google.com/fonts \n * Font Squirrel (many fonts and licenses): http://www.fontsquirrel.com/ \n2. Download the font. \n"},{"_id":"5da6b6f122b8b3e19d000212","treeId":"5da59c4922b8b3e19d00020a","seq":5065166,"position":5,"parentId":"5da59c6122b8b3e19d00020c","content":"# Embed and use the font\n3. In the Calibre editor, use __File / New File__ to add the font.\n4. Embed the font in your stylesheet as a new font-family. Apply the font-family in your text.\n * See http://www.w3schools.com/css/css3_fonts.asp for guidance.\n\n"},{"_id":"5dcb919e688edd035a00001e","treeId":"5da59c4922b8b3e19d00020a","seq":5065170,"position":6,"parentId":"5da59c6122b8b3e19d00020c","content":"# Validate the result\nUse an epub validation tool (below) to test your eBook.\nhttps://www.ebookit.com/cgi-bin/epubcheck.cgi"}],"tree":{"_id":"5da59c4922b8b3e19d00020a","name":"x071 WS: ePub Creation","publicUrl":"5da59c4922b8b3e19d00020a"}}