A set of code samples designed to demonstrate what is possible for each of the "flavors" of Lightweight DITA.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
TRS-80 Expansion Module (DITA 1.3) Initial version of equivalent DITA 1.3 files Aug 7, 2018
TRS-80 Expansion Module (HDITA - With Keys) Changes from Carlos plus additional tweaks Jan 7, 2019
TRS-80 Expansion Module (MDITA Core) Add files via upload Feb 4, 2018
TRS-80 Expansion Module (MDITA Expanded - No Keys) Add files via upload Mar 14, 2018
TRS-80 Expansion Module (MDITA Expanded - With Keys) Add files via upload Mar 14, 2018
TRS-80 Expansion Module (MDITA Extended - No Keys) Improved HDITA and MDITA topics Aug 15, 2018
TRS-80 Expansion Module (MDITA Extended - With Keys)
TRS-80 Expansion Module (XDITA - With Keys) Fixed XDITA files Aug 22, 2018
.DS_Store Fixed XDITA files Aug 22, 2018
README.md Update README.md Aug 22, 2018

README.md

LwDITA_Code_Samples

A set of code samples designed to demonstrate what is possible for each of the "flavors" of Lightweight DITA. All examples are based on sections of various TRS-80 manuals from the late-1970s/early-1980s that have either lapsed out of copyright or have been donated to the Public Domain. Includes sample marketing material, computer hardware content, software samples, legal frontmatter and glossary.

These files represent one interpretation as to how Lightweight DITA markup ought to be done, based on information available in the current version of the Lightweight DITA Committee Note, and the sample files that come with it.

The following sets of files build in complexity, so that the reader can understand the key working differences between each flavor of LwDITA.

It is recommended that you use 3.x or higher version of the DITA Open Toolkit to process the files, and to use the latest LwDITA DTDs to validate your own LwDITA content where possible.

TRS-80 Expansion Module (MDITA Core)

These files were created using MDITA Core markup. This is the "base" version, and contains only what is allowed in an MDITA Core LwDITA set of content. Tables utilize standard GitHib markup, with one including valid HTML (not HDITA) code to distinguish points within a table cell.

TRS-80 Expansion Module (MDITA Extended - No Keys)

These files were created using MDITA Extended markup, building upon the previous version by including YAML headers and mixed HDITA markup for things like the definition lists that appear in the glossary.

TRS-80 Expansion Module (MDITA Extended - With Keys)

This set of sample files are the same as the previous example, but with the addition of keyrefs. The values are set in the "map" file (index.md) and are expressed in the individual MDITA topics using HDITA markup.

TRS-80 Expansion Module (HDITA)

These files are functionally the same as the "MDITA Extended version" with keys, but is based entirely on HDITA markup. It is based on HTML5, and all files end with the ".html" suffix.

TRS-80 Expansion Module (XDITA)

These files are functionally the same as the MDITA Extended version and the HDITA version, but using XDITA markup. These files should be directly usable in any DITA 1.3 compliant setup, though XML editors may be "confused" by the Lightweight DITA DOCTYPE/lw-topic.dtd declaration at the beginning of each topic, and note that the multimedia elements within "three_expanded_systems.dita" may not work using DITA 1.3 DTDs instead of those for LwDITA. Also note that the tables follow simpletable formatting, as required within LwDITA.

TRS-80 Expansion Module ("Full" DITA 1.3)

This version of the files are done using "full" DITA 1.3, so most topics are typed and follow DITA writing best practices, while still remaining faithful to tone and voice of the original source material. The topics are all collected together within a bookmap that contains frontmatter material, has keys referenced in a separate keystore, topics arranged in chapters, and a glossary section comprised of individual glossentry topics sorted within a referenced sub-map. The tables within the document follow full CALS layout, and while multimedia is not yet fully supported within DITA 1.3, an existing workaround involving an iframe has been used. While this version still requires some polish, the existing code is workable.

My thanks to IXIASOFT who allow me time to participate in various OASIS committees (such as the LwDITA SC and the DITA Adoption TC), and related projects, such as this one. Add many kudos to Dr. Carlos Evia who went through all of the code examples and systematically fixed all of the things I had missed.