book/document.glyph in glyph-0.1.0 vs book/document.glyph in glyph-0.2.0
- old
+ new
@@ -1,55 +1,66 @@
document[
head[
style[default.css]
- style[css3.css]
+ ?[eq[$[document.output]|pdf]|style[pagination.css]]
+ ?[eq[$[highlighters.current]|coderay]|style[coderay.css]]
+ ?[eq[$[highlighters.current]|ultraviolet]|style[ultraviolet/blackboard.css]]
]
body[
titlepage[
- img[glyph.svg|20%|20%]
+ ?[eq[$[document.output]|pdf]|img[glyph.svg|20%|20%]]
+ ?[eq[$[document.output]|html]|img[glyph.png|20%|20%]]
title[]
subtitle[]
- v\.%[Glyph::VERSION] (draft)
+ v\.%[Glyph::VERSION]
author[]
pubdate[]
]
frontmatter[
toc[]
- introduction[
- header[Introduction]
- @[introduction.textile]
+ introduction[header[Introduction]
+ textile[@[introduction.glyph]]
+ section[header[License]
+ textile[@[license.glyph]]
+ ]
]
+ acknowledgement[header[Acknowledgement]
+ textile[@[acknowledgement.glyph]]
+ ]
]
bodymatter[
chapter[
header[Getting Started]
- @[getting_started.textile]
+ textile[@[getting_started.glyph]]
]
chapter[
header[Authoring Documents]
- @[authoring.textile]
+ textile[@[authoring.glyph]]
]
chapter[
header[Extending Glyph|extending]
- @[extending.textile]
+ textile[@[extending.glyph]]
]
chapter[
header[Troubleshooting]
- @[troubleshooting.textile]
+ textile[@[troubleshooting.glyph]]
]
]
backmatter[
appendix[
header[Command Reference|cmd_ref]
- @[ref_commands.textile]
+ textile[@[ref_commands.glyph]]
]
appendix[
header[Macro Reference|macro_ref]
- @[ref_macros.textile]
+ textile[@[ref_macros.glyph]]
]
appendix[
header[Configuration Reference|cfg_ref]
- @[ref_config.textile]
+ textile[@[ref_config.glyph]]
+ ]
+ appendix[header[Changelog]
+ @[changelog.glyph]
]
]
]
]