The Way to Mastery of<br/>Lorem Ipsum Or, How To Write and Publish a Book Terran Publishing Test Edition The Book What Is a Book

This example book is written to give readers the example of the Book Language.

What Qualifies as a Book

Under the book typesetting system, a Book is a collection of texts typesetted for an improved legibility, enumerable pages, with insertion of other helpful resources such as illustrations and hyperlinks.

Books are considered as bound and always presented in two pages for reading.

Writing a Book Using a Typewriter

Typewriter allows quick scribbling of the words in convenient manners, just click on them and get writing!

But it comes with big downsides: you cannot type in multiple writing systems, cannot have defined chapters and sections, cannot include any illustrations, no hyperlinks, and of course, ragged texts.

Typed papers are considered as non-bound and only one page at a time will be presented.

All in all, you cannot write a true Book using a typewriter.

Writing a Book with Publishers and Printing Presses

Professional-looking texts, with all the benefits of a real Book can be made, or even mass-produced easily with the help of publishers.

To have your precious texts to be printed, you must send your manuscripts to a publisher, and the manuscript must be written in a special language: the .

allows concise description of the entire shape of your book, any style the book typesetting system can support can be described and printing presses will produce the papers accordingly. You can even try to mimic the look and feel of papers created using a typewriter, if you want to.

The Introduction

(pronounced as /biːtɛk/) is a markup language based on XML, with a resemblance of the . abstracts away the meticulous styling and typesetting configurations, so you can focus on actually writing your texts than debugging the macros. This does come with a downside of not being able to change the given style.

document is divided up to five parts: the Style Declaration, the Cover, the Table of Contents, the Manuscript, and the Index Page, of which the Style Declaration and the Manuscript are the mandatory parts.

The Style Declaration

The Style Declaration is the very first line of a document. Its syntax is as follows:

<btexdoc cover="hardcover" inner="standard" papersize="standard">

The btexdoc tag takes following attributes:

The Cover

The Cover defines the text on the cover of the book. If your text has no cover, this part can be omitted. Its syntax is as follows:

<cover hue="358">
  <title>Title of your book&zwsp;</title>
  <subtitle>Subtitle if necessary&zwsp;</subtitle>
  <author>Who wrote this book&zwsp;</author>
  <edition>Edition information if necessary&zwsp;</edition>
</cover>

Only the title tag is mandatory. Cover texts will be printed using a special font that has wider gaps between characters. The title text will be printed in a double-size.

The cover can have different colour with the hue attribute, which takes a number between 0 and 360.

The Table of Contents

The contents of the Table of Contents is filled in automatically by reading through your manuscript; parts, chapters and sections will be added. Its syntax is as follows:

<tocpage title="Custom page name if necessary">&zwsp;<tableofcontents/>&zwsp;</tocpage>

The optional title attribute allows a custom name can be given to this page. If unspecified, the default name is “Table of Contents”.

The tag <tableofcontents/> is an internal tag used by the typesetter.

The Manuscript

This is the part where you actually write your body texts in. The body text can have the following tags:

Self-closing tags have no child tags. To use a self-closing tag, simply do <tagname/>.

Heading Styling

The part, chapter and section takes optional type attributes which changes how the chapter should be numbered. Available options are:

By default, parts use majuscule Roman numerals and others use just numbers. Alternative styling for the part and the chapter can be defined using the Macro Definition.

Paragraph Styling

The p and callout tag take align attribute, which controls how the text should be aligned. Available options are:

The p, span and callout tags also take class="code" attribute, which results in the text printed using the code font.

Hyperlinking

Hyperlinks can be defined using index and a tags.

The Index Page

The contents of the Index Page is filled in automatically by reading through your manuscript. All the usage of index tags will be shown here. Its syntax is as follows:

<indexpage title="Custom page name if necessary">&zwsp;<tableofindices/>&zwsp;</indexpage>

The optional title attribute allows a custom name can be given to this page. If unspecified, the default name is “Index”.

Ending the Document

The document must begin with the opening btexdoc tag, and therefore must end with a matching closing tag. Simply write away </btexdoc> and the document is finished.

Conclusion

The finished book description using can be sent to a publisher, and if there are no errors on your submission, the printed books of specified number of copies will be delivered to your location within a reasonable amount of business days. Happy writing!

this page is intentionally left blank