docstring labelstring;
docstring menustring;
bool mandatory;
+ bool nodelims;
docstring ldelim;
docstring rdelim;
docstring defaultarg;
docstring presetarg;
docstring tooltip;
- std::string requires;
+ std::string required;
std::string decoration;
FontInfo font;
FontInfo labelfont;
bool autoinsert;
bool insertcotext;
+ bool insertonnewline;
ArgPassThru passthru;
docstring pass_thru_chars;
bool is_toc_caption;
+ bool free_spacing;
+ std::string newlinecmd;
};
///
typedef std::map<std::string, latexarg> LaTeXArgMap;
///
LaTeXArgMap const & postcommandargs() const { return postcommandargs_; }
///
+ LaTeXArgMap const & listpreamble() const { return listpreamble_; }
+ ///
LaTeXArgMap const & itemargs() const { return itemargs_; }
/// Returns true is the layout has arguments. If false, then an
/// InsetArgument in this layout stands for the parent InsetText.
/// this layout for language \p lang
docstring const babelpreamble() const { return babelpreamble_; }
///
- std::set<std::string> const & requires() const { return requires_; }
+ std::set<std::string> const & required() const { return required_; }
///
std::set<docstring> const & autonests() const { return autonests_; }
///
/** true when the verbatim stuff of this layout needs to be
\cprotect'ed. */
bool needcprotect;
+ /** true when specific commands in this paragraph need to be
+ protected in an \mbox. */
+ bool needmboxprotect;
/// true when empty paragraphs should be kept.
bool keepempty;
/// Type of LaTeX object
/// Are adjacent paragraphs handled as one group?
bool par_group_;
/// Packages needed for this layout
- std::set<std::string> requires_;
+ std::set<std::string> required_;
/// Layouts that are by default nested after this one
std::set<docstring> autonests_;
/// Layouts that by auto-nest this one
///
LaTeXArgMap postcommandargs_;
///
+ LaTeXArgMap listpreamble_;
+ ///
LaTeXArgMap itemargs_;
///
bool add_to_toc_;