Bookshelf | Reports | Community | KDP Select

Home » Amazon KDP Support » Ask the Community » Formatting

Thread: Tabs in text disappear in kpf file


Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 4 - Pages: 1 - Last Post: Jan 1, 2018 5:07 PM Last Post By: Hal Martin Threads: [ Previous | Next ]
Hal Martin

Posts: 3
Registered: 07/07/16
Tabs in text disappear in kpf file
Posted: Dec 31, 2017 9:59 PM
Click to report abuse...   Click to reply to this thread Reply
My first book will have some XML in it and in the Word file I have indented with a tab. When Preview displays the Word file they are there. If I select Publish in Create and create the kpf file, then show that in Preview, the tabs have disappeared. Which view in Preview represents how the book will look in Kindle, when it displays the Word file or when it displays the kpf file? Since the kpf file is what is being published, my guess is the display of the kpf file is what will be seen in Kindle. Is there a way to get the tabs back?
Salamander Mall...

Posts: 838
Registered: 10/16/17
Re: Tabs in text disappear in kpf file
Posted: Dec 31, 2017 11:59 PM   in response to: Hal Martin in response to: Hal Martin
Click to report abuse...   Click to reply to this thread Reply
Never indent with a tab. Always indent with Styles.
Notjohn

Posts: 23,733
Registered: 02/27/13
Re: Tabs in text disappear in kpf file
Posted: Jan 1, 2018 4:37 AM   in response to: Hal Martin in response to: Hal Martin
Click to report abuse...   Click to reply to this thread Reply
The Kindle default is indented paragraphs, which I'm guessing is what you mean by "tabs." So if you had simply uploaded a plain-text file, or a Word doc, you would have achieved your heart's desire. (In the book, though not necessarily in the Look Inside sample.)

You're using Kindle Create? Why?

And what does "some XML" mean? If you are formatting with HTML, you should be uploading an html file (or an epub, which is a bunch of html files and by far the best way to control the appearance of your book).

(Don't trust KDP to publish a print edition. Don't trust CreateSpace to publish an ebook. Each does one thing well and the other thing poorly.)

Good luck! -- NJ

Notjohn's Guide to E-Book & Print Formatting (2018 edition)

The blog: https://notjohnkdp.blogspot.com
Ralph E Vaughan

Posts: 3,437
Registered: 12/01/12
Re: Tabs in text disappear in kpf file
Posted: Jan 1, 2018 10:08 AM   in response to: Notjohn in response to: Notjohn
Click to report abuse...   Click to reply to this thread Reply
Notjohn wrote:
The Kindle default is indented paragraphs, which I'm guessing is what you mean by "tabs." So if you had simply uploaded a plain-text file, or a Word doc, you would have achieved your heart's desire. (In the book, though not necessarily in the Look Inside sample.)

You're using Kindle Create? Why?

And what does "some XML" mean? If you are formatting with HTML, you should be uploading an html file (or an epub, which is a bunch of html files and by far the best way to control the appearance of your book).

(Don't trust KDP to publish a print edition. Don't trust CreateSpace to publish an ebook. Each does one thing well and the other thing poorly.)

Good luck! -- NJ

Notjohn's Guide to E-Book & Print Formatting (2018 edition)

The blog: https://notjohnkdp.blogspot.com


@NJ: I take it to mean he created indents by clicking the Tab button, as would a mere typist with no knowledge as to how to use Word as a formatting tool.

@OP: Word is only adequate if you know how to format with Styles. If you do not (e.g., you use Tab, space bar, manual cent*ering etc), you will will never achieve the formatting you desire. It will always be rife with errors, frustrating for you and a buzzkill for your readers. While many people successfully upload a doc(x) file for conversion, they only do so because they are proficient in Styles and know Word is not a "magic typewriter." As NJ points out, if you're going to use HTML at all (always a good idea for total control) you should create an epub, which also has the advantage of being uploadable on multiple publishing platforms. BTW, Kindle Create is nothing more than Word with a few preset Styles, an example of the maxim "one size does not fit all" and proof that magic wands do not always work...learn Styles (or HTML) and leave the buggy Kindle Create behind.
Hal Martin

Posts: 3
Registered: 07/07/16
Re: Tabs in text disappear in kpf file
Posted: Jan 1, 2018 5:07 PM   in response to: Hal Martin in response to: Hal Martin
Click to report abuse...   Click to reply to this thread Reply
I would like to thank all of your for responding so quickly. It seems that I did not make myself sufficiently clear so several of the solutions offered were not quite to the point. The book I intend to publish is on the subject of AIML, which is a species of XML. If you have worked with any species of XML you will find that it is a lot clearer if you use indentation judiciously. In the ordinary course of writing AIML files I do simply hit the Tab key to indent and did that when composing the manuscript. The simple solution to preserving the tabs is to convert the Word file to PDF then create a new Create project and select the option for text books, etc., which requires a PDF file containing the text. Now when the *.kpf file is created and is viewed in Preview the tabs are preserved.

The problems with tabs in Kindle is that you could tab yourself into a new line, destroying the organized appearance that the tabbed AIML, or any other XML, is supposed to provide. Consequently, even though it is possible to preserve tabs I think the better practice would be to use spaces instead.

I see that at least one reply wondering why I am using Create. Frankly it works just fine, freeing me from wasting my time worrying about typesetting problems. Each to his own. Again, many thanks to all of you for your replies.
Legend
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums