Tips & Tricks for eBc users

..
All users of eBc are asked to contribute their knowledge to help other users 
get the best out of this software. We'll be happy to consider any suggested improvements or extra features that could be included in future upgrades.

We will build an FAQ page as users send in their questions.

IMPORTANT NOTE: 
The code provided for recording the MACRO (in the Help Files)   is incorrect.
The Macro used in MS Word will place "carriage return" characters at the end of 
each line of text to ensure the finished HTML pages have the same width.

Here is the correct code:



Sub enter()
'
  Dim i As Integer
  For i = 1 To 2
   Selection.HomeKey unit:=wdStory
    Set myrange = ActiveDocument
    LineCount = myrange.ComputeStatistics(statistic:=wdStatisticLines)
    For intcounter = 1 To LineCount
    char = Selection.Characters(1).Text
    If char = vbCr Then GoTo nxt
    Selection.EndKey unit:=wdLine, Extend:=wdExtend
    Selection.Find.ClearFormatting
    Selection.Find.Text = vbCr
    If Not Selection.Find.Execute Then
    Selection.EndKey unit:=wdLine
    Selection.InsertAfter vbCr
    End If
nxt: Selection.MoveDown unit:=wdLine
    Selection.HomeKey unit:=wdLine
    Next
    Next i
End Sub



Notes concerning MS Internet Explorer Text Size
We are unable to control this parameter from within eBook Composer,
so you will need to set the text size by going to the MS IE Browser window
click on the drop-down menu item "View" then "Text size".

We suggest setting the Text Size to "Medium" and then stick to that size
to achieve consistent results while using the eBook Composer.

Don't forget to inform readers to set the text size on their browser to display
the text at the correct size within the text area.



Creating a New Template
New users will at first feel restricted by what appears to be a very basic template
with little to offer in the way of variations.

However, with some imagination and experimentation, you'll find that you can obtain some stunning effects and quite unique looking pages.

By varying the margin widths and colors, including background images, a vast array of templates can be created.

The text area itself can be given a pale background image. If you like a wide white space around your text, then you can make the text margin white, without a border.

You can make one margin wide and the other can be narrow or eliminated altogether.

The top logos and central Title can be made into one banner by slicing an image into suitable sizes. You can obtain an image slicer from: http://www.imageslicing.com

You'll be amazed at all the possibilities, once you get started!



MS Word Layout
We have prepared a table as a guide to page set-up called: "Choosing Font Sizes" These settings will result in pages that have 25 lines per page & 65 Characters per 
line max.
If you prefer to use different parameters, that's fine. The table will help you see how 
the different layout is controlled, then you can develop your own tables.
Choosing font sizes Click Here



MS Word Format
Due to the difficulties of converting to HTML, the eBc will not convert formatting
satisfactorily at present. Quotation marks will be lost and the text will not be justified.
However all HTML files can be individually edited after processing is completed.

A suggested work around for this problem:
You would need to use the "search and replace" function
to replace all quotation marks with some other character such as a $ sign. After the html pages are completed, use a "search and replace" program to go through all html pages and replace the $ signs with " characters.  A rather lengthy procedure - I have not tried it myself yet but it should work. 
The only alternative - "line by line replacement" would be tedious and impractical.



Preparation of your text
We can't emphasize enough, how important it is to prepare your text correctly before processing and converting to HTML using eBc.
Don't be surprised if your first attempt does not produce a satisfactory result.
Through experience we have found a few factors that need to be considered in more detail.

1. Text width
If a line of text does not have an EOL character (end of line=carriage return) at
the end of a line, then the text will not wrap as intended but will wrap when it reaches the page width specified in the eBc template. 
Experiment with different width settings in eBc until you find a suitable text width to your liking.

2. Page length
Obtaining equal length HTML pages seems to be one of the most difficult challenges when using the eBc.
When each page contains only text, then the results are fairly consistent, however if the page contains chapter headings or large white spaces and/or images, then the page length is very hard to predict, let alone control.
We have found the only way to predict page length is to insert a [chapter] syntax at the beginning of every page of text (e.g. every 25 lines) otherwise the page length will be unpredictable. 
You can use the Macro function (see help files) to place an EOL character on every line, then the number of lines of text per page will be predictable.
The trade-off here is that the text will have a more ragged right margin.
Allowing eBc to populate each page with text will ensure the nicest looking page.
It won't be justified text, but it will be close simulation.

3. Chapter headings
Use the chapter syntax whenever you require a new page to start. You don't need to put anything else but the [chapter] syntax at the beginning of the text (or before the graphic syntax [image]  ).
However, after processing is complete you'll need to go through the HTML files one by one to eliminate the syntax word if it's not part of the text.
Alternatively, you can use a Search & Replace program which will do the job very quickly but beware that if the same words are contained within the text, they will also be deleted!

e.g. A new page may appear as the following even though you just wanted to start a new page with a small subheading.
 

CHAPTER

Subheading 
This is the start of the text for this page.
More text here ..
More text here ..
More text here ..
More text here ..

To correct the page, just delete the Chapter heading and make the subheading bold. Then your page will look like this: 

Subheading 
This is the start of the text for this page.
More text here ..
More text here ..
More text here ..
More text here ..
More text here ..
More text here ..
More text here ..

Of course If you have a new page for a new chapter then you can include the chapter title with the syntax: 
e.g. [chapter=The Hunter]  or [chapter=5
Your page will look like this:

 

Chapter The Hunter

This is the start of the text for this page.
More text here ..
More text here ..
More text here ..
More text here ..

Just delete the word "chapter" and you're left with the correct heading.
If you named the chapter by number then you can leave it as it is.
Your page will look like this:
 

Chapter 5

This is the start of the text for this page.
More text here ..
More text here ..
More text here ..
More text here ..

4. Be consistent
To obtain predictable results, prepare your text with a consistent style that eliminates excessive white space and with a minimum of formatting. Use the chapter syntax on every page if you're aiming for equal sized pages.

5. The Index page and hyper links
Try to reserve one page for a dynamic index.
We have found it best to create this page after processing is complete.
Create a table with two columns with the number of rows equal to the number of chapters. Fill in the cells one by one by hand and then create links to the appropriate pages of the book. 
Note: any hyper links within the text before processing will create havoc with the finished HTML text. Leave these to be places after processing.
e.g. It's OK to have  xerostar-times.com but not http://xerostar-times.com
Just place the http://  syntax after processing.

A final word
Automation is often taken for granted by those of us who have never had to complete 
a task by hand. e.g. Have you tried washing the laundry by hand?

You probably have an automatic washing machine, so you can not really appreciate the enormous saving in manual labor that such a machine can make.

This example is true when it comes to automatically creating HTML pages in bulk.
When eBc produces 200 pages of your eBook in 15 seconds, you should remember the huge saving on labor. Created by hand, with all the correct links built in, those 200 pages would have taken a minimum of 5 days intensive work! And that's not counting the time taken to check that all links are correct. If one page link is missing, it can take a full day to go though and correct them all.
A boring and thankless task for anyone.

We hope to eliminate some of the "user unfriendly" aspects of eBook Composer in later releases, but in the meantime, please send us your feedback and it will ensure that all aspects are considered. mailto:xerojet@yahoo.com Click Here