Quick Tip: Tag and Restore Italics in Word

TRY THIS AT HOME

You all know that the key to a good ebook format is a squeaky clean source file, right? Word doesn’t produce particularly clean documents. For best results, you should strip out extraneous codes before you begin to format. Mark Coker of Smashwords calls it the “Nuclear Option.” You copy/paste your document into a text editor and that will remove all the unwanted coding. Then you copy/paste the clean text back into Word and you are ready to format.

Anyone who has tried this knows that doing so will not only remove unwanted coding, it’ll nuke your italics, too (and other special formatting and styles). Here is an easy way to tag all your special formatting and then restore it. (What I will show you applies to bolding, underlining, different sized fonts, etc., too.)

Here is a document in need of a good cleaning:

TagOpen the search box and make it look like this:

Tag 1If you open the “Format” box you’ll see a drop down menu that gives you a “Font” option. Open that.

Tag 3Notice the many, many options you can search for. Cool, huh?

I have come up with tags through trial and error. I use several different programs when I format ebooks, so I needed something unique for search purposes that didn’t make any of the programs say, “Oh no you don’t!” and crash the search box. I use all caps and hyphens to make sure they don’t get mixed up in the text. The most common tags I use are:

  • -STARTI- for italics
  • -STARTB- for bold
  • -STARTU- for underline
  • -END- to close the tag

Back to the document. Click Replace All.

Tag 2Now all your italics are wrapped in tags. This is a good time to go through and make sure your tags are in the right place and that you don’t have any blank space tagged.

Now copy/paste into a text editor:

Tag 4All your formatting is gone.

Now open a new file in Word and apply your main style sheet. Copy/paste your text into the new file. Open the search box and make it look this:

Tag 5Do a Replace All and… ta da!

Tag 6I generally wait until I’ve formatted all my headers and centering and any other styling necessary before I restore special formatting. Once done, all that’s left to do is to get rid of the tags.

Tag 7Replace All and done!

In the time it took you to read this blog post, you could have tagged and restored six files. It really is that easy.

 

Fun With Formatting Ebooks: Paragraph Styles

Whether a reader is conscious or not of doing it, they are judging at least some of the quality of your writing by how it looks on the screen. When you send your writing into the world you want it to look polished, professional, and assertive. Even if you don’t use fancy bits and curlicues, you can make your ebook look polished, professional and, yes, assertive–as in, “I am a smart and sophisticated writer who knows what she is talking about, so pay attention!“–just by taking care with your paragraph styles.

The most basic of basic styles are indented and block paragraphs. Convention says, indented paragraphs for fiction and block style for non-fiction. Why the convention? Indented paragraphs are quicker to read (not really, but doesn’t it seem that way?), while block paragraphs tend to be weightier, denser, and can add a measure of gravitas to the text. It’s really a preference and not about right and wrong. Readers do expect text to look a certain way, though, and you take a chance of distracting them from the prose if you mess with their expectations.

For those of you using anything other than html to format your ebooks, (pardon my shouting) NO TABS! Tabs, and using the space bar to indent paragraphs, play havoc with ebooks. NO TABS. Your word processor enables you to use style sheets–use them. NO TABS.

How wide an indent?   para6

The narrow indent is a leftover from the days of pulp fiction when every sheet of paper counted against the bottom line and so the publisher needed to cram as much text onto a page as possible. It looks a bit squishy, especially if the reader prefers narrow line spacing on their device. Wide indents are a writer habit, I think, from being used to working on manuscripts with their half inch indents. Too wide, though, and the ebook can assume the look of a manuscript, and that’s not polished. I prefer a medium width indent of 1.4ems (.3″ in a word processor).

Block paragraphs require spaces between the paragraphs so they don’t run together.

para5Whether you’re using a word processor or html, you need to include that extra leading in your style sheet–not (never) by manually inserting a blank line between paragraphs. Be aware, too, that you do not want to increase the space between indented paragraphs. Doing so means users of the Kindle iOS app will end up with huge spaces between paragraphs. Smashwords will reject files for inserting extra space.

Another style is one I don’t recommend for full paragraphs. Centering.

para4para3

Don’t forget that centering IS a style. Don’t just highlight the text then click the “center” command in the menu bar. Make sure your text indent is set to zero so the center doesn’t end up off-center.

Sometimes you’ll need to set off text. Quotes, song lyrics, poetry, missives.

para2para1The only difference in coding between the first block quote and the lines of poetry is the use of italics.

What if you want to set off an entire section of text?

para7Keep it simple, aim for sophisticated, and keep your reader’s comfort in mind while you style your paragraphs.

What about the rest of you? Any fun styling tricks you’d like to share?

Book Templates From the Book Designer!

This isn’t an ad–it’s a public service announcement. Joel Friedlander aka the Book Designer has launched a new service for indie publishers. It looks like a good one.

BOOK DESIGN TEMPLATES

booktemplates

If you don’t know who Joel is, pop over to his blog for a minute and look around. Not only does he post interesting and informative articles, he also does the monthly cover awards–open to all–AND he does the Carnival of Indies, a monthly round-up of the best blog articles for indie publishers.

His new service offers templates to help you create a professional looking print book using Word. Yes, that bane of the formatter’s existence, MS Word. What makes these different and better than the templates offered by CreateSpace is the heart and mind of an experienced, artful book designer behind them.

If you are interested in DIY print book formatting, you should at least check this out.

Format A Nice-Looking Novel For Smashwords

Everybody knows, or at least regular readers know, I don’t like using Word to make ebooks. Just about all distributors allow you to submit a doc or docx file to be converted into an ebook. You shouldn’t. You really, really shouldn’t. An ebook converted from Word will not work properly on many ereaders.

But. One major distributor does require Word files–Smashwords. They have their reasons and until they change those reasons, Word it is.

Rather than bitch again about the sheer silliness of using Word for ebooks, I’ll be constructive. Here is a quick primer on how to make a Word document that will make its way through the Meatgrinder without too much damage. (This is for fiction only. Trying to shove complicated formatting through Smashword’s Meatgrinder will give you hives and bald spots, so if you want to give it a shot, you’re on your own.)

I recommend before you do anything that you go in to TOOLS on Word and turn off all the auto-correct and auto-format features. This will cut down on Word’s “helpfulness” and make a better ebook. I also recommend that you turn on the SHOW feature so you can see the paragraph returns and extra spaces (in the menu bar it looks like a pilcrow).

STEP ONE: START WITH A CLEAN FILE

This is imperative. You will prevent 95% of ebook glitches by making sure your document file is clean. By clean I mean free of the excess or extraneous coding that Word inserts at every opportunity. You must use a text editor for this. I use Notepad++, which is a free downloadable program. Easy to use once you get used to the way it looks.

After your text is edited in Word, go through this checklist:

  1. Make sure your curly quotes are turned the right way.
  2. Get rid of tabs and extra spaces, including those before and after paragraph returns. Including those between sentences. You do not want double spaces between sentences in an ebook.
  3. Get rid of extra paragraph returns.
  4. Tag your special formatting such as italics, bolding and underlines. (VERY IMPORTANT: Your special formatting will disappear in the text editor)***
  5. Make sure you have proper em dashes and ellipses.

Now COPY/PASTE your text into the text editor. This makes a txt file (text). Go through your file and make sure you have gotten rid of all your extra spaces and hard returns. It will look a little odd, but don’t worry about the lack of formatting–you DO NOT WANT any formatting at this stage. If you are using Notepad++, open the Character Panel (it’s in the Edit drop down menu). That will give you ASCII characters. If you need to change your double or single quotes, em dashes, special characters, etc. use the characters and symbols from the Character Panel.

STEP 2: MAKE YOUR STYLE SHEETS

Smashword’s Meatgrinder is set up to work best with certain stylesheets already built in to Word. If you are not familiar with using stylesheets in Word, now is the time to learn. You’ll find them under FORMAT in the main menu. For most fiction, all you need are four stylesheets.

  1. NORMAL
  2. HEADING 1
  3. HEADING 2
  4. center

NORMAL: This is what you’ll use for the body of your text–the main style. You will find listed in style sheets. You can modify it. My recommendation is to stick as close to ereader defaults as possible. So don’t modify too much. Safe settings are:

  • Font: 12 point Times New Roman
  • Align: Left
  • Level: body text
  • Indent: 0 for right and left
  • Special: First Line by 0.3″ or 0.4″ (this is the paragraph indent)
  • Spacing: Before 0; After 0
  • Line Spacing: single

HEADING 1: This is what the Meatgrinder will look for to title your book. For most projects, you only need to use it once. Here you can increase the font size (don’t go higher than 16 points and use the same font as for the rest of your book) and bold or italicize it. You can also center your text, drop it down on the “page” and add some space between your title and the author name. A set up might look like this:

  • Font: 16 point Times New Roman, bold
  • Align: Center
  • Level: body text
  • Indent: 0 for right and left
  • Special: (none)
  • Spacing: Before 12; After 6pt
  • Line Spacing: single

HEADING 2: This is what the Meatgrinder will look for to find your chapters so it can build the toc.ncx (very important).

  • Font: 16 point Times New Roman, bold
  • Align: Center
  • Level: body text
  • Indent: 0 for right and left
  • Special: (none)
  • Spacing: Before 12; After 3pt
  • Line Spacing: single
  • Page Break Before (check this box under Format > Paragraph > Line and Page Breaks)

CENTER: You don’t have to have a style sheet for centering text, but it makes life easier since you don’t have to remember to get rid of the indent. Set it up exactly like NORMAL, except:

  • Align: Center
  • Special: (none)

STEP THREE: Open a new Word file and apply the NORMAL style sheet. COPY your text from the text editor and PASTE it into Word. Your text should be formatted in NORMAL style with indented paragraphs. (Just in case a hiccup occurred, scan through the text and make sure there aren’t any extra paragraph returns–look for blank lines and delete the extra paragraph return)

STEP FOUR: Use FIND/REPLACE to restore italics, bolding and underlining. Then use FIND/REPLACE to delete your special formatting tags.

STEP FIVE: Make your title page. Highlight your book title and apply the HEADING 1 stylesheet. A nice title page for Smashwords will look something like this:

SW Title PageOnly the title uses HEADING 1. With everything else I used the CENTER stylesheet.

STEP SIX: Do your chapter heads. Select (highlight) your chapter and apply the HEADING 2 stylesheet. If you set up stylesheet the way I recommended, it will give you a page break.

STEP SEVEN: If you used scene breaks, go through and select whatever you used to indicate scene breaks and center them. I also like to add a paragraph return before and after a scene break just to make them stand out a bit more.

SW scene breakCHAPTER EIGHT: Add links and/or make a table of contents. Both are optional. Links and hyperlinks are something Word handles very well and generally cause no problems with Smashwords. Use the INSERT HYPERLINK command from the menu. If you make a table of contents, use the BOOKMARK option, and bookmark the chapter heads then link within the document.

And there you go. A simple format, rather generic, but it will go through the Meatgrinder, have minimal formatting errors and be readable on the platforms Smashwords distributes to.

Have fun!

***A word about tagging special formatting. The text editor will strip out your special formatting, so you must tag it. All you need are unique strings of text that you can search for. I use hyphens and all caps to make sure the tags don’t get mixed up with my story text.

  • Italics: -STARTI- and -ENDI-
  • Bolding: -STARTB- and -ENDB-
  • Underlining: -STARTU- and -ENDU-

To tag quickly–for italics–in the FIND box, ask it to look for italics but leave the box empty. In the REPLACE box type -STARTI-^&-ENDI- and do a REPLACE ALL. That will wrap all your italics in tags. To reverse the process, toggle on “wild cards”, type -STARTI-*-ENDI- in the FIND box and toggle on “italics” in the REPLACE box, but leave it empty. Do a REPLACE ALL and your italics are restored. Then do a FIND/REPLACE to delete your tags.

QUICK UPDATE: NOW Smashwords is kicking back files if there is leading (extra space) after a paragraph (indented paragraphs only, not block style). So let us cross our fingers that Apple has fixed whatever it was that caused them to squish paragraphs. grumble grumble grumble…

 
http://jwmanus.wordpress.com/category/formatting-in-word/
jwmanus.wordpress.com
crawl=CC-MAIN-2013-48
77602
application/http; msgtype=response
sha1:5DUZGLFG7REOWPZDBEA5SPRIBUXKTDE3
<urn:uuid:1c2d5698-5fd6-40eb-9010-e89579eada93>
2013-12-08T18:58:08Z
76.74.254.120
sha1:B27ZHJVEBGQ6MM7HRYBOQCLOSSWGNJ3T
<urn:uuid:cc93483f-208c-4734-97b1-8d4d9a580b26>
http://jwmanus.wordpress.com/category/formatting-in-word/
length
response
<urn:uuid:28b96221-dc85-4379-8cc4-44abbf72e240>
robots: classic
hostname: ip-10-33-133-15.ec2.internal
software: Nutch 1.6 (CC)/CC WarcExport 1.0
isPartOf: CC-MAIN-2013-48
operator: CommonCrawl Admin
description: Wide crawl of the web with URLs provided by Blekko for Winter 2013
publisher: CommonCrawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf