shithub: epublish

ref: 7ae2d7eab48168c0503903fdf30004e5ce94933a
dir: /sample/text/chap1.txt/

View raw version
Epublish Tools

# Introduction

This “book” describes the epublish tools for generating troff-ms compatible files as well as an EPUB 3.0 zip file using the same text source.
The text source uses a specific input syntax similar to markdown.

Keep in mind that this is just a short introduction and you ‥will‥ need the source for this book to understand how it works.
It is also recommended to look at the sample/mkfile, which describes the build process of this sample book.

# Source Text Syntax

## Basic Text Syntax

It is possible to write ‥italic‥ and ‥‥bold‥‥ text.
You can generate the two-points character on Plan 9 using 'Alt 2.' (Alt is the compose key).

## Output Format Specific Source

It is possible to specify areas that remain untouched for the specified output format.
The following example shows a bold paragraph:

[[[ms
.B
MS exclusive paragraph.
.R
]]]
[[[ebook
<p><b>ebook exclusive paragraph.</b></p>
]]]