ubook
Books have their own foibles; table of contents, notes, indexes etc. These really need a semantic approach.
Finally, I'm not suggesting anyone handcode it. I use a writing tool on my iPad that uses markdown as its file format. I never see the markdown, I just bold text, add headings etc. That was the idea, to keep it in the background. Hence the reason I'm aiming for simplicity.
Incidentally, most books need only ten tags, five of which are used exactly once on the title page.
Yes, compiler is ambiguous. The idea behind it is a clean interim language a writing tool could export to, and software could then adapt to other formats like Kindle etc.
It is an experiment as much as anything, and it is on HN just to see what people think of the idea.
But time will tell. You could be right. If there is no demand it will fail to catch on. But the ambition to to provide a single universal format that can then be output to different formats.
Thanks for the feedback though.
Edit: I meant to add; the goal is not for people to hand code it. The ideal is the format is used invisibly by writing software, or perhaps as an export format. Obviously I only "released" it an hour ago, so like markdown, in the first instance its a rough and ready thing, only usable in a text editor.
The idea is to encourage convertors of course. For the author or book designer to mark it up as a UBook, then be able to export that to anything e.g. Kindle, ePub etc.
The focus at the moment is in defining the tags, then encouraging others to use it as a universal method to semantically encode books in a very simple way.
It is designed as an intermediary language but it is hoped it can be a publishing language in its own right.
It can handle any type of book, from simple novels to very complex textbooks. Although similar to markdown it has a number of features to cope with the specific demands of book publishing:
1. The table of contents is compiled automatically using a simple, intuitive method;
2. No footnotes or endnotes;
3. Structural components unique to books are included e.g. scene breaks and page breaks;
4. Complex elements are included e.g. tables, links, images and indexes;
5. The final file is just a zip file; the manuscript is a plain text file.
UBook is a not-for-profit, open project designed to solve a problem. It simplifies the production of ebooks, and focuses on a universal method of doing so. It is at a pre-release stage, and I would welcome any insights you have to offer.
If you have an interest in ePublishing, web languages, HTML, markdown etc. please do check it out.