Skip to content

Latest commit

 

History

History

samples

Folders and files

README.md

Samples

XML files, the stylesheets that format them, and the fonts the stylesheets use.

Item Contents
xml_gap A DocBook article in English, Arabic, Japanese and Russian, with the generated PDFs. Read more.
mathml A DocBook 5 article with mathematics: MathML formulas in the text and numbered display equations, with the generated PDF. Read more.
Swordfish The User Guide of Swordfish, a real product, merged from DITA with TypesDitac and with the DITA Open Toolkit, with the generated PDFs. Read more.
fonts The Noto fonts that the stylesheets load with @font-face.

Stylesheets

The stylesheets are in this folder. They load the fonts from ./fonts, a path relative to the stylesheet, so keep the stylesheets next to the fonts folder.

Stylesheet Formats
docbook.css DocBook 4 and 5 documents: the four files in xml_gap and the article in mathml
ditac.css The Swordfish file merged with TypesDitac
ditac_hyphens.css The same file, with automatic hyphenation
dita-ot.css The Swordfish file merged with the DITA Open Toolkit

Fonts

The fonts are published under the SIL Open Font License 1.1. The folder has the Noto fonts that the sample stylesheets load, such as Noto Sans, Noto Sans Mono, Noto Sans Arabic UI, Noto Sans CJK JP, Noto Sans Math and Noto Serif Display.

The commands to generate each PDF are in the README of each subfolder.