std::string const & polyglossia() const { return polyglossia_name_; }
/// polyglossia language options
std::string const & polyglossiaOpts() const { return polyglossia_opts_; }
+ /// Is this language only supported by polyglossia?
+ bool isPolyglossiaExclusive() const;
/// quotation marks style
std::string const & quoteStyle() const { return quote_style_; }
/// requirement (package, function)
/// language code
std::string const & code() const { return code_; }
/// set code (needed for rc.spellchecker_alt_lang)
- void setCode(std::string const c) { code_ = c; }
+ void setCode(std::string const & c) { code_ = c; }
/// language variety (needed by aspell checker)
std::string const & variety() const { return variety_; }
/// set variety (needed for rc.spellchecker_alt_lang)
- void setVariety(std::string const v) { variety_ = v; }
+ void setVariety(std::string const & v) { variety_ = v; }
/// preamble settings after babel was called
std::string const & babel_postsettings() const { return babel_postsettings_; }
/// preamble settings before babel is called