Sha256: ab93c304ccd20edf56cbe192f5e4f9a9f91fede6740f564e36fb4a9460f56a2b
Contents?: true
Size: 1.73 KB
Versions: 2
Compression:
Stored size: 1.73 KB
Contents
txt[ There are _a lot_ of macros that can be used in the same way as @section@, one for each element commonly used in =>[http://en.wikipedia.org/wiki/Book_design|book design]. Each one of them is a simple wrapper for a @<div>@ tag with a @class@ attribute set to its name. The following table lists the identifiers of all section-like macros, divided according to the part of the book they should be placed in: ] table[ tr[ th[Frontmatter] td[txt[@imprint@ ^†^, @dedication@ ^†^, @inspiration@ ^†^, @foreword@ ^‡^, @introduction@ ^‡^, @acknowledgement@ ^‡^, @prologue@ ^‡^, @toc@ ^*^]] ] tr[ th[Bodymatter] td[txt[@volume@, @book@, @part@, @chapter@]] ] tr[ th[Backmatter] td[txt[@epilogue@ ^‡^, @afterword@ ^‡^, @postscript@ ^†^, @appendix@, @addendum@ ^‡^, @glossary@ ^**‡^, @colophon@ ^†^, @bibliography@ ^**‡^, @promotion@ ^†^, @references@ ^**‡^, @index@ ^**‡^, @lot@ ^**‡^, @lof@ ^**‡^]] ] ] p[strong[*]: The %>[toc] is used to generate the Table of Contents automatically, and it takes no parameters.] p[strong[**]: This macro is likely to be extended in future versions to generate/aggregate content automatically.] p[strong[†]: This section is not listed in the Table of Contents.] p[strong[‡]: Any subsection of this section is not listed in the Table of Contents.] note[ code[frontmatter], code[bodymatter] and code[backmatter] are also macro identifiers, but they are exposed as attributes for the %>[book] and the %>[article], so if you're using either of these two macros as your root macro for your document, there's no need to use them explicitly. ]
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
glyph-0.4.1 | book/text/text_editing/section_aliases.glyph |
glyph-0.4.0 | book/text/text_editing/section_aliases.glyph |