Sha256: 32a93d85ac4c9f18787b2b9681b91e0911a41e699843a3af867c9ec93cb415fc

Contents?: true

Size: 1.67 KB

Versions: 4

Compression:

Stored size: 1.67 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]. 

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 also 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

4 entries across 4 versions & 1 rubygems

Version Path
glyph-0.5.3.1 book/text/text_editing/section_aliases.glyph
glyph-0.5.2 book/text/text_editing/section_aliases.glyph
glyph-0.5.1 book/text/text_editing/section_aliases.glyph
glyph-0.5.0 book/text/text_editing/section_aliases.glyph