Introducing Amatl
Introducing Amatl
In today's world where millions of documents are electronic we need a format that is easy recognizable by most devices and operating systems that we use: Mac OS X, Windows, laptop, desktop, Linux, iPhone, eReaders, etc.
From the start, I want to say that the idea, concept, examples and eventually writing the specification, are all mine. So, go ahead, read the lines below and blame me for things that aren't the way they should be.
The name, Amatl, comes from a form of paper that was manufactured in pre-Columbian Mesoamerica. There are more details about it on Wikipedia, of course. My Amatl is based on HTML5 and CSS (2.1 now and 3.0 in the future), two standards that raised the bar with what we can do in terms of layout, embedding fonts, typography, grid and images or blocks positioning. Basically, Amatl is actually a file format that wants to display paper documents inside browsers without any additional tools or software. The format isn't intended at replacing Adobe's PDF format or Microsoft's XPS; it should be used as a complementary format, open and supported by the entire industry. The closest resembles to it can be EPUB format but they are two completely different concepts.
Compatibility
The good part about this format is that it can be recognizable by old browsers too, I name Firefox 2 and IE7 here. It's just HTML after all, right?
Differences
There will be no differences when it comes to HTML5 syntax, maintaining the current specification is very important. Still, I recommend not using meta attributes because they will be present in a CSS metadata header.
The most important differences to CSS is introduction of a DPI value and a CSS metadata header. It will be used to write documents at a higher DPI than 96, which is the standard to all web pages on Internet today.
Structure
The Amatl document files should be packed in a ZIP container, having .am extension (like Document1.am) for offline usage and not only. Browser support will be needed for reading HTML files packed inside a ZIP. It can also be served directly from a server with the following structure: