LT_ALIGNPOSSIBLE,
LT_MARGIN,
LT_BOTTOMSEP,
+ LT_CATEGORY,
LT_COMMANDDEPTH,
LT_COPYSTYLE,
LT_DEPENDSON,
{ "align", LT_ALIGN },
{ "alignpossible", LT_ALIGNPOSSIBLE },
{ "bottomsep", LT_BOTTOMSEP },
+ { "category", LT_CATEGORY },
{ "commanddepth", LT_COMMANDDEPTH },
{ "copystyle", LT_COPYSTYLE },
{ "dependson", LT_DEPENDSON },
finished = true;
break;
+ case LT_CATEGORY:
+ if (lexrc.next())
+ category_ = lowercase(lexrc.getDocString());
+ break;
+
case LT_COPYSTYLE: // initialize with a known style
if (lexrc.next()) {
docstring const style = subst(lexrc.getDocString(),
///
docstring const & endlabelstring() const { return endlabelstring_; }
///
+ docstring const & category() const { return category_; }
+ ///
docstring const & preamble() const { return preamble_; }
///
std::set<std::string> const & requires() const { return requires_; }
std::string labeltag_;
/// Internal tag to surround the item text in a list)
std::string itemtag_;
+ /// This is the `category' for this layout. The following are
+ /// recommended basic categories: FrontMatter, BackMatter, MainText,
+ /// Section, Starred, List, Theorem.
+ docstring category_;
/// Macro definitions needed for this layout
docstring preamble_;
/// Packages needed for this layout